Repository navigation
fix(desktop): show a working wave on workspace tabs - #10299
Conversation
A tab showed a static amber dot while its agent worked and a yellow dot when it needed input. The two are hard to tell apart at 6px. The sidebar row already uses the wave spinner for working, so tabs and pane headers now do the same.
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
The 3x3 sidebar glyph is busy at tab size. Tabs and pane headers now show a 2x2 version of the same wave, 7px, close to the size of the status dots beside it.
What
A workspace tab and a pane header showed a static amber dot while the agent worked, and a pulsing yellow dot when it needed input. At 6px the two colors are hard to tell apart, so "working" and "needs input" looked almost the same on the tab. The sidebar row already shows the wave spinner for a working agent.
Tabs and pane headers now show a compact version of that wave for "working": a 2x2 grid, 7px, in the same color and timing as the sidebar's 3x3 glyph. The other states (needs input, failed, ready for review) keep their dots, as in the sidebar.
Change
WaveSpinnertakessize?: "default" | "compact".compactis a 2x2 grid of the same 3px cells. The default is unchanged.NotificationStatusIndicatorrenders the compact spinner withtext-foreground/80when the status isworking. It is used by the main tab bar, the right pane tab bar and the terminal pane header.Verification
bg-amber-500dot was left on the tab.bunx tsc --noEmitpasses inapps/desktopandpackages/ui. Biome passes on the changed folders.