Skip to content

fix(web): keep the open branch chip highlighted and readable - #31550

Draft
flamboh wants to merge 1 commit into
pingdotgg:maria/redesign/6-workspace-panesfrom
flamboh:t3/redesign-fix-branch-chip
Draft

flamboh wants to merge 1 commit into
pingdotgg:maria/redesign/6-workspace-panesfrom
flamboh:t3/redesign-fix-branch-chip

Conversation

@flamboh

@flamboh flamboh commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Fix for the redesign stack, targets layer 6 (#28845).

Note

🤖 GPT-6.1 Sol on behalf of Oliver

Focusing Search refs in the combined branch/workspace menu drops the branch chip's open highlight, and the chip cuts long branch names differently from the picker and workspace card. Keep the chip pressed for the menu's full open state and use the existing MiddleTruncate component for its branch label.

This is item 10 of the composer popup consistency task. The combined WorkspaceMenu trigger belongs to layer 6. It changes only that trigger and its label, near the footer collapse work in #31401 without changing its measurement or collapse logic. Menu open/close motion is covered by #26708.

Validation: vp run check:changed origin/maria/redesign/6-workspace-panes passed format, lint, both knip passes, typecheck, 18 tests and React compiler checks. In an isolated Replay-only dev app, the chip retains its highlight with Search refs focused, shows both ends of a long branch name, and clears its pressed state on Escape.

Before / after

Captures pending.

Built with GPT-6.1 Sol in the Codex harness through T3 Code.

@github-actions github-actions Bot added the size:XS 0-9 changed lines (additions + deletions). label Nov 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant