githubnext/chopinPublic

Let's compose rich plans together

Fit document picker trigger to content #86

MergedMaggieAppletonmerged 4 commits intomainfromrefs/pull/86/head
  1. MA

    ## Summary - let the document switcher trigger fit its label, capped at the existing 16rem width - preserve the independent 360px picker panel and all existing interaction behavior - cover short labels, long-label truncation, and compact presence clearance in browser tests

    ## Measured evidence - before at 1440px: short-label trigger was 1190.6px wide - after with the production CSS: short label is 111.1px; long label caps at 256px and truncates - at 320px: long-label trigger shrinks to 210.3px and ends 8px before presence - targeted Playwright regression: 2 passed at 1440px and 320px

    ## Verification - bun test — 834 passed, 2 skipped - bun run types - bun run ci - bun run build - E2E_SKIP_BUILD=1 bun scripts/e2e.ts e2e/document-navigation.e2e.ts --grep "document trigger|long document label" — 2 passed

  2. MaggieAppletonmerged 649a13485ee42 months ago on GitHub

  3. MaggieAppletonclosed2 months ago on GitHub

  4. MaggieAppletonhead-ref-deleted2 months ago on GitHub