You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tabs were turning into tiny icons too early. With 9 tabs open, every one showed as an icon even though about 500px of empty space sat next to the + button. This puts tabs back the way they were before #41896: they keep their titles and scroll when they don't fit.
Before: as the left-most pane narrowed, the titlebar header folded into the pane's ⋯ menu ("Orca" word and Forward, then Back and "+"). Tabs shrank, inactive tabs became icons, and tabs that still didn't fit went behind a "+N" chip.
After: the header stays as it was, tabs keep their titles and scroll as before, and there is no "+N" chip. An unsplit pane has no ⋯ again, and a split pane's ⋯ holds Close split pane plus quick commands once the strip is too narrow to show them.
Conflicts with later work, and how they were resolved:
fix(tab-strip): return focus into the pane after the Pane Actions quick-command editor closes #48258 (focus returns into the pane after the Pane Actions quick-command editor closes) was built on the removed TabGroupStripActions. Its fix now sits on the restored split-pane ⋯ menu: focus goes to the ⋯ trigger, else the active tab. The "+N chip" fallback is dropped because the chip no longer exists. Its store ownership check moved to is-group-focused-in-store.ts. Its e2e spec now covers only the split pane, since an unsplit pane has no ⋯ any more.
fix(tabs): keep a bot's Home tab fixed at the left of the tab bar #48561 (a bot's Home tab pinned at the left of the tab bar) was built on the condensing strip. Home keeps its own slot left of the restored scrolling strip, still leads tab digit shortcuts, drops and close-to-side, and narrows to its icons in tight panes; "+", quick commands, the pane ⋯ and the drag handle still hide 40px earlier beside it. Dropped with the condense code: Home's +N-list entry, its fixed icon width below 86px and its hide-below-78px rule. Its fixture loses the +N-list and narrowest-header cases.
The owner asked for this revert: the condense step hid tab titles while the strip still had plenty of free room.
Open PR #48482 (Fit tab-width setting) builds on files this deletes or restores (use-tab-strip-condense.ts, tab-width-rules.ts, use-tab-strip-slot-props.ts, TabBar.tsx, SortableTab.tsx). It will conflict and needs a look after this lands.
The renderer was not driven locally; behavior was reasoned from the code.
Performance
Mixed, and not measured. This removes #41896's strip ResizeObserver, its titlebar fold observer and its per-render condense planning. In exchange, the restored scrolling strip keeps every tab mounted with its full title, so in a narrow pane it can render and observe more tab rows than the condensed strip did (which hid some behind the +N chip). Net timing was not measured; this is reasoned from reading the code.
Risk
Level: Low
The pre-#41896 tab strip shipped until earlier today, so this goes back to known behavior. The riskiest part is the #48258 port: if it were wrong, focus after closing the Add Quick Command dialog from a narrow split pane's ⋯ would land on the page body instead of the ⋯. To back this out, revert this PR.
AI Disclosure
Review
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
No actionable comments were generated in the recent review.
Walkthrough
The changes remove titlebar fold state and tab-strip condensation. Tab strips now render projected items and show scroll arrows when the strip overflows. Tab sizing and decorations no longer use density-based compact modes. Pane actions move to inline controls, and the pane actions menu manages its own open state and quick-command content.
Merge Risk: Low · previous review 3ff98
This reverts the adaptive tab strip to scrolling tabs. A minor defect remains: Close Others can be enabled when the only other tab is pinned, and it then does nothing. Narrow panes with many tabs may also render more tab rows than before, which is a possible small performance cost that was not measured. Neither is likely to block use, but both are worth a look before or soon after merging.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "revert: undo tab shrink-to-icons titlebar fold (#41896)" matches the main change: the PR reverts #41896, which introduced tab shrink-to-icons, the +N overflow chip, and titlebar fold behavi…
Description check
The description follows the repository template closely. It has ELI5, What Changed (before/after and mechanism), Why, Testing, Performance, Risk with level and rollback, and the Checklist. Linked Issu…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "revert: undo tab shrink-to-icons titlebar fold (#41896)" matches the main change: the PR reverts #41896, which introduced tab shrink-to-icons, the +N overflow chip, and titlebar fold behavior. The changeset removes the condense planner, fold modules, and TabStripOverflowChip, and the description confirms the revert. The title names the reverted feature and the PR number, so a teammate scanning history can identify the change.
Full details: Description check
Explanation
The description follows the repository template closely. It has ELI5, What Changed (before/after and mechanism), Why, Testing, Performance, Risk with level and rollback, and the Checklist. Linked Issue is marked N/A with a maintainer-revert reason, which the template allows for maintainers. Visual Proof is N/A with a reason. The AI Disclosure section is empty, but the template says to leave it blank for internal team members. The Testing section lists unchecked boxes for manual testing and for the test-anti-pattern check, and it states that the renderer was not driven locally. The lint, typecheck, and test checklist item is unchecked. These gaps are minor, so the description is mostly complete.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
This reverts commit 3c7980d.
Tabs folded to icons while there was still empty room in the strip.
Conflict resolution against later work:
- tab-bar-surface.tsx keeps #48329's bot-home search (botHome, filtered
BotNewChatMenuItems) on top of the pre-#41896 strip.
- #48258's focus handback after the Pane Actions quick-command editor
closes moves from the removed TabGroupStripActions onto the restored
split-pane menu: the ⋯ trigger, else the active tab. Its store ownership
check moves into is-group-focused-in-store.ts, and its e2e spec covers
the split pane only, since an unsplit pane has no ⋯ again.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
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
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.
ELI5
Tabs were turning into tiny icons too early. With 9 tabs open, every one showed as an icon even though about 500px of empty space sat next to the
+button. This puts tabs back the way they were before #41896: they keep their titles and scroll when they don't fit.What Changed
Reverts #41896 (squash commit 3c7980d).
Conflicts with later work, and how they were resolved:
tab-bar-surface.tsx: the pre-feat(tab-strip): fold titlebar chrome and condense tabs in narrow panes #41896 strip, with fix(bots): typing an agent's name in a bot home's + menu finds that chat #48329's bot-home search kept (botHomeand theBotNewChatMenuItemsfiltered while a query is typed).TabGroupStripActions. Its fix now sits on the restored split-pane ⋯ menu: focus goes to the ⋯ trigger, else the active tab. The "+N chip" fallback is dropped because the chip no longer exists. Its store ownership check moved tois-group-focused-in-store.ts. Its e2e spec now covers only the split pane, since an unsplit pane has no ⋯ any more.tr.jsongained translations for the removed "+N" strings after feat(tab-strip): fold titlebar chrome and condense tabs in narrow panes #41896; they are retired here so the catalog check passes.Why
The owner asked for this revert: the condense step hid tab titles while the strip still had plenty of free room.
Open PR #48482 (Fit tab-width setting) builds on files this deletes or restores (
use-tab-strip-condense.ts,tab-width-rules.ts,use-tab-strip-slot-props.ts,TabBar.tsx,SortableTab.tsx). It will conflict and needs a look after this lands.Linked Issue
N/A (maintainer revert of #41896).
Visual Proof
N/A: this restores the tab strip as it was before #41896, which shipped earlier today. No new UI.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
pnpm typecheck:webpasses.pnpm lintpasses (all 49 steps).Unit tests for the touched areas pass:
AppShellLeftColumn.test.tsxandstrip-actions-return-focus.test.ts(updated for the trigger-based signature).rendered-tab-strip.test.tsis rewritten for the scrolling strip (its old subject, the +N hide rule, is gone); it andpinned-home-tab.test.tspass.feat(tab-strip): fold titlebar chrome and condense tabs in narrow panes #41896's own unit tests and its
narrow-tab-strip-condensee2e spec are removed with the code they covered.pane-actions-quick-command-focus.spec.tsnow covers only the split pane; CI e2e runs it.The renderer was not driven locally; behavior was reasoned from the code.
Performance
Mixed, and not measured. This removes #41896's strip ResizeObserver, its titlebar fold observer and its per-render condense planning. In exchange, the restored scrolling strip keeps every tab mounted with its full title, so in a narrow pane it can render and observe more tab rows than the condensed strip did (which hid some behind the +N chip). Net timing was not measured; this is reasoned from reading the code.
Risk
Level: Low
The pre-#41896 tab strip shipped until earlier today, so this goes back to known behavior. The riskiest part is the #48258 port: if it were wrong, focus after closing the Add Quick Command dialog from a narrow split pane's ⋯ would land on the page body instead of the ⋯. To back this out, revert this PR.
AI Disclosure
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)