cmux-next composer: attach location controls in a tray

Merged
TE
2mo ago
+492-291

Showcase

Changelog

Changed: refine the cmux-next composer footer around a capped draft, left-side controls, and a recessed location shelf.

The draft stops growing after eight lines and scrolls inside the field with comfortable padding. The permission mode is a quiet icon menu, the footer controls keep a stable rhythm, and folder, computer, and branch controls stay in a compact shelf under the composer shadow. Footer menus continue to use the shared Base UI wrappers and existing press and keyboard behavior.

Proof

Live gallery preview:

The gallery entry enforces zero anchor movement, zero layout shift, and a 33ms long-frame limit around menu play steps.

Validation

  • git diff --check
  • Targeted composer and location tests passed before the bundle regeneration.
  • Bundle regeneration completed through the remote cmux-next workflow at the exact pushed head.
  • Web only. No fleet build requested.

šŸ¤– Generated with Claude Code


[!NOTE]
Low Risk
CSS and layout-only composer footer changes with gallery checks for zero layout shift; no auth, data, or backend logic.

Overview
Refines the cmux-next agent composer footer so long drafts and location controls stay visually anchored without shifting the transcript.

The prompt and shell fields no longer grow with 40vh; they cap at eight lines (calc(22px * 8 + 23px)) and scroll inside the field so the composer height stays predictable.

Folder, computer, and branch controls move into a recessed location tray attached under the composer box: rounded bottom edge, tray background/border, negative margin so it reads as a shelf behind the composer shadow, and left-aligned flex so folder/computer pickers share the leading width (branch stays on the right).

Footer chrome is tightened: composer bar padding/height, permission mode as icon-only, and 32px send and context-ring targets. The bundled agent-pane/index.html CSS is updated to match the webview styles (composerLocation.css, markdownField.css, composerStates.css).

Reviewed by Cursor Bugbot for commit f25fb194c3cb6d4d30746e13fce69e289e6958c2. Bugbot is set up for automated code reviews on this repo. Configure here.

Showcase

before long draft dark

gallery 50d2222960b agent pane.composer long draft en Apple System Colors w760 chromium

before long draft light

gallery 50d2222960b agent pane.composer long draft en Apple System Colors Light w760 chromium

Open the live gallery