fix(web): align terminal sidebar tabs with right panel - #7967
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Skipped Macroscope did not run approvability analysis for this PR. Macroscope could not determine whether this PR modifies its approvability configuration, so the PR was not approved automatically. A PR that may change the rules that govern approval is never approved automatically. |
32515bc to
1da0e0e
Compare
Terminal rows in the drawer used a separate tree treatment from tabs in the right panel, so their hover and close interactions felt inconsistent.
This aligns terminal rows with the right-panel tab styling: the same 24px height, active and hover backgrounds, and terminal-icon-to-close transition. Group headers, spacing between groups, and the 2px gap within each group stay unchanged.
Before
After
Verification
pnpm exec vp fmt --check apps/web/src/components/ThreadTerminalDrawer.tsxpnpm exec vp lint apps/web/src/components/ThreadTerminalDrawer.tsxpnpm --filter @t3tools/web typecheckpnpm exec vp test run apps/web/src/components/ThreadTerminalDrawer.test.tsMade with gpt-5.6-sol in T3 Code through the Codex harness.
Note
Low Risk
Visual-only tab styling in the terminal sidebar; no session, close-confirm, or data-path changes.
Overview
Makes terminal drawer sidebar rows match right-panel tab chrome: 24px height, the same active/hover backgrounds, and the icon-to-close swap on hover/focus.
Drops the tree indent and hover-only close popover. Close is a dedicated control next to the label; group headers and spacing are unchanged.
Reviewed by Cursor Bugbot for commit 1da0e0e. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Restyle terminal sidebar tabs in
ThreadTerminalDrawerto match right paneltext-xs,rounded-md, and removal of the tree-like indent guides tied toshowGroupHeadersaria-labelshowGroupHeadersleft-border cue changes the visual affordances reviewers may be used to in ThreadTerminalDrawer.tsxMacroscope summarized 1da0e0e.