fix(agent-manager): align panel terminal tabs with session tabs - #12693
Conversation
Code Review SummaryStatus: 1 Issue Found | Recommendation: Optional follow-up, nothing blocking Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (3 files, incremental since 8f2b908)
Resolved since the previous review: the close-then-add width mismatch is fixed — Remaining nit, not worth a comment: closing the last tab while hovering leaves Fix these issues in Kilo Cloud Previous Review Summaries (2 snapshots, latest commit 8f2b908)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 8f2b908)Status: 2 Issues Found | Recommendation: Optional follow-ups, nothing blocking Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (5 files, incremental since 2f1ad51)
Resolved since the previous review: the rAF release is gone and the freeze is now hover-gated like the top bar's Fix these issues in Kilo Cloud Previous review (commit 2f1ad51)Status: 6 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (7 files)
Notes: the reuse of Reviewed by claude-opus-5 · Input: 38 · Output: 8.4K · Cached: 972K Review guidance: REVIEW.md from base branch |
2f1ad51 to
8f2b908
Compare
8f2b908 to
e6c96fa
Compare
Panel terminal tabs reuse the tab bar's chrome: right-click Close/Close Others, arrow-key navigation, overflow scrolling with edge fades, and frozen widths while closing. The new-terminal button sits next to the last tab instead of the panel edge, and the strip loses its top padding, stray dividers, and off-center plus button.
e6c96fa to
1e2a7f1
Compare
fix(agent-manager): align panel terminal tabs with session tabs
The Agent Manager side panel can hold several terminals, but its tab strip was a hand-rolled row rather than the tab bar's chrome, so terminals behaved differently depending on where they were opened. Panel tabs had no context menu, no keyboard navigation, no overflow affordance, and they reflowed while a tab was closing. The strip also stretched its tab list across the full panel width, which pushed the new-terminal button to the far edge, several hundred pixels away from the tabs it belongs to.
Panel tabs now render through the same
SortableTerminalTabthe tab bar uses, so a terminal is the same tab wherever it lives:role="tab"markupThe tab list now only grows as wide as its tabs, so
+sits immediately after the last tab and overflowing tabs scroll underneath it. The strip also drops its top padding, the divider that separated the tabs from+, and the per-tab left border, which only exists to mark a terminal among session tabs in the top bar and is pure noise when every tab is a terminal. Removing the vertical padding also puts+on the strip's optical center.Panel terminal state gains a
Close Otherscounterpart so the context menu can keep one terminal and kill the rest of the context.Before
After