Repository navigation
feat(web): put panel tab close buttons after the title - #18206
Open
alexandre-vl wants to merge 1 commit into
Open
alexandre-vl wants to merge 1 commit into
alexandre-vl wants to merge 1 commit into
Conversation
Right-panel tabs and the terminal list swapped a tab's icon for its close button on hover, so close sat left of the title. The icon now stays put and the close button follows the title, still revealed on hover or keyboard focus. It floats over the end of the title with a short fade, so hovering never changes a width. A 64px min width keeps short titles, such as a terminal running vi, clickable, and touch screens always show the button. Viewers without terminal control get neither.
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a localized UI refinement that repositions existing close actions, preserves their callbacks and terminal permission checks, and adds only responsive hover, focus, and touch presentation. It introduces no schema, deployment, default, or static-analysis changes. Notes:
You can add or adjust custom eligibility rules. Learn more. |
macroscopeapp
Bot
dismissed
their stale review
October 11, 2026 12:32
Dismissing prior approval to re-evaluate d4dfcee
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Hovering a right-panel tab or a terminal-list row swaps its icon for the close button, so close sits left of the title.
Change
viis labelled "vi", 9px wide.ThreadRelationshipsControl.Scope and approval
Approved in #17986 (converted from #11877): #17986 (comment), "Target the VS Code-style row:
[icon] [title] [× on hover]", optionally in the terminal list too.Replaces #18199, which was closed because active tabs and terminal rows kept their × visible and the interactions had no recording. Here close is hover/focus-revealed everywhere, and the recordings are below. Written from scratch on current main.
Verification
Dev build, headless Chrome. The recordings are screenshots taken during real pointer, keyboard and touch input; the cursor, tap marks and key labels are drawn on top.
Pointer: hover each tab, click a title, then keyboard Tab and Enter on Diff.
Touch (emulated): tap a title, then tap Diff's ×.
Terminal list: hover the active row, hover the other row, click its label.
terminal:operatesees no × and no fade.vp fmt,vp lint, web typecheck, and the RightPanelTabs / ThreadTerminalDrawer tests (40) pass.Model: claude-opus-5-5 · Harness: Claude Code