Repository navigation
cmux-next: New Tab tabs draw the new-tab icon, not the agent chat bubble - #17630
Conversation
…ubble Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A tab still on the New Tab page and an Agent chat tab both rode a conversation record and drew the agent chat bubble. The pane knows which tabs are New Tab pages; it now tells the mapping, which draws tab.new. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
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 |
|
Not verified: macOS jobs did not run: compile and app tests were skipped on CI passes on Written by |
|
Batch queue: green. Batch stack Next: land it yourself with gh-merge-green on this receipt. |
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
Batch queue: green. Batch stack Next: land it yourself with gh-merge-green on this receipt. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Batch queue: green. Batch stack Next: land it yourself with gh-merge-green on this receipt. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Batch queue: green. Batch stack Next: land it yourself with gh-merge-green on this receipt. |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/37555112268 at 2df79b5 failed: cmux-next checks (god files, concurrency, crash safety, l10n). |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/37555118221 at ea3879d failed: cmux-next checks (god files, concurrency, crash safety, l10n). |
Summary
Fixes item 15 of the cmux-next sweep (cmuxterm-hq#1421): Agent tabs and New Tab tabs shared the generic chat bubble. Both ride a conversation record, and
TabItemMappinggave every conversation tabagent.chat.The pane already knows which tabs are still on the New Tab page (
AgentTabs.pageTabs), since it titles them "New Tab". It now passes that to the mapping, and those tabs draw the registry'stab.new.agent.chattab.newagent.chatagent.chat(unchanged)Converted call sites:
TabItemMapping.item(_:fallbackTitle:isNewTabPage:): newisNewTabPageflag, defaultfalse.PaneController.snapshot(): computesisNewTabPageonce and uses it for both the title and the icon.When a New Tab page becomes a chat, its title and icon change in the same snapshot.
Not changed:
agent.chatfor them. Follow-up: giveSidebarTabKinda new-tab case once the sidebar gets that state.Testing
Red commit d6ea400 adds
ConversationTabItemTests.aNewTabPageTabDrawsTheNewTabIcon; the fix follows. The same conversation record maps totab.newas a New Tab page and toagent.chatas a chat.Changelog
Fixed: New Tab tabs show a new-tab icon instead of the agent chat bubble
Demo Video
Fleet builds of base (ff267c4) and the fix, on a capture mini (1x display), opening a workspace's first New Tab.
New Tab tab at 6x, before (top) and after (bottom):
Checklist
🤖 Generated with Claude Code