Repository navigation
cmux NEXT transcript: chips use the row's width and truncate only when it is full - #22731
Conversation
Red: bun test test/chip-fixed-width.test.ts test/pr-dock-width.test.tsx lists five ellipsized rules capped at a fixed width (the PR bar's title at 360px among them) and finds no tooltip on a cut-off PR bar title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hen it is full The PR bar above the composer cut its title at 360px and its repository at 160px while the column had room; both now take the column's width, the title giving way first, and a cut-off bar names itself on hover. The same fixed caps go from reference chips in replies (32ch; the chip now moves to its own line before it truncates), question tabs and the handoff coverage note (160px). Green: bun test test/chip-fixed-width.test.ts test/pr-dock-width.test.tsx Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Unclear: CI failed on
Failures:
Matched log linesNot re-run automatically: Written by red: cmux-next checks (god files, concurrency, crash safety, l10n); NEW:
Agents: Tour of |
|
Found 4 test failures on Blacksmith runners: Failures
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
|
|
Visual preview of 47b54c3: in the maintainers' private review feed. |
tooltip-rules.ts (Leo 2026-10-13): a chip that shows its text gets no tooltip, not even its full text when it is cut off. Drops titleWhenCutOff and its test; the cap removal and the fixed-width scanner stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c08-af57-7bb3-9f61-498ade344f20&host=cosmic-gray
|
Bead |
|
Shipped in:
|
|
Shipped in:
|
Summary
The pull request bar above the composer cut its title off at a fixed 360px (and its repository at 160px) while the composer's column still had room, as in "#634 leo-workspace rulebook: reviewed PRs merge right away; the label is the …". The bar now uses the column's full width. The title gives way first, then the repository.
The same fixed caps on ellipsized text came out elsewhere in the agent pane:
owner/repo#N · title) capped the title at 32ch. The chip is nowinline-flexwithmax-width: 100%, so it moves to its own line first and is cut off only when it is wider than that line. Its hover card already shows the full title.flex: none(header.css), so the note now shows its whole label ("Unverified" or the native policy's name, both short) instead of a 160px cap.A new test,
test/chip-fixed-width.test.ts, scans the pane's stylesheets and fails on any rule that ellipsizes text under a fixed-lengthmax-width(px, ch, em, rem).Audited and left alone: fixed caps on the parent of an ellipsized child. These are the header worktree chip (180px), the header's inline status (160px), the composer location button (128px / 145px) and the project button and host (220px / 110px). They are header and composer controls that share a crowded row on purpose, not transcript chips. Popover and card widths (the link preview, session previews) are also unchanged.
No tooltip on a cut-off bar:
tooltip-rules.ts(Leo 2026-10-13) gives a chip that shows its text none, not even its full text when it is cut off (44c9aa1 dropped the hover title this PR first added).Testing
From
webviews/:bun test test/chip-fixed-width.test.ts: red on the first commit (five fixed caps listed), green on the fix.bun test test/pr-dock-stale-state.test.tsx test/tooltip-rules.test.ts src/agent-session/acpmux/chips src/agent-session/acpmux/summary: pass.bunx tsc --noEmit -p .: clean.Not run locally (the Mac is overloaded; no browser lanes here): the WebKit/Chromium lanes
agent-pane-pr-dock,agent-pane-column-edgesandagent-pane-links-blue. They run in this PR'sweb / react-apps-check. A new gallery variant,agent-pane.pr-dock:long-title, shows the long bar.Changelog
Fixed: pull request bars and reference chips in the agent pane use the available width and cut their title off only when the row is full
🤖 Generated with Claude Code
Agent session: cosmic-gray