Repository navigation
🤖 feat: put the right sidebar's New tab "+" next to the tabs - #7101
Conversation
The All tabs menu lists every open tab (the New tab too) and no longer holds a New tab row. Test helpers open the New tab with the "+".
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Bug bash follow-up: the keyboard explorer's arrow-key warning is older than this PR. I filed it as #7102. |
|
@codex review |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Readiness record for head
|
Summary
The right sidebar's tab strip has a "+" (New tab) button again, right after the last tab, like the ChatGPT macOS app. Before, New tab was only a row at the bottom of the All tabs (chevron) menu. The chevron menu stays, so tabs that scroll out of view are still one pick away. It now lists every open tab, the New tab too.
Background
#6995 moved New tab into the All tabs menu and removed the strip's "+" on every screen. A New tab hidden in a menu is hard to find, so the "+" is back.
Implementation
NewTabButtonsits outside the scrolling row, as a sibling of the tablist, so the tablist still owns only tabs. While the tabs fit, it follows the last tab. Once they overflow, the row scrolls and the "+" stays in view.aria-keyshortcuts.Validation
.storybook/test-runner.tsnow also covers the "+".layout/rightSidebar,review/focus,review/baseSelectorandchat/contextUsageBootpass.Risks
Low, limited to the right sidebar's tab strip. The "+" takes about 26px from the tab row. On a pane at its minimum width, a long tab (240px) can show cut off at its end. I kept the 10rem cap of
titlebar-safe-right-capped: a larger cap would put strip controls under the Windows/Linux window controls at the 300px minimum width. So these stories now check what still holds:Narrowis 330px wide (was 300px), so its 240px tab still fits beside "+" and All tabs.TabsReachableUnderWideTitlebarInsetchecks that the selected tab can be clicked, not that it is fully visible.Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$3.03