feat(desktop): the redesigned shell's finished look, with the command palette rework
Summary
- The redesigned shell (behind
paradev-shell) gets its finished look: a three-tone frame, pane areas drawn as single cards, new rail icons, and a workspace switcher button in the title bar. - Includes the command palette rework from #9588, merged with
main, plus fixes to it found while testing here. - Three changes are not behind the flag and reach everyone: the palette, a two-button activity capsule in the title bar, and the default app at the top of the workspace's more menu.
If this merges, #9588 is redundant and can be closed.
What reaches whom
| Change | Flag on | Flag off |
|---|---|---|
| Three-tone frame, pane cards, rail icons, switcher button, lighter open tab | Yes | No |
| Command palette, workspace switcher, file search in the palette | Yes | Yes |
| Activity capsule as two buttons | Yes, in the tab style | Yes, in the old bordered style |
| Default app and Open in at the top of the more menu | Yes | Yes |
Behind the flag
Colours and surfaces
--shell-frame(title bar, rail, gaps) and--shell-sidebarare mixed from the theme's foreground and background, so every theme, custom ones included, keeps frame > sidebar > panes. Themes set--sidebarinline on<html>, which is why the frame has its own token.- The open sidebar has rounded left corners and joins the content with no gap.
ContentCardwraps every screen in a bordered--backgroundcard. The workspace pane page turns it off withuseBareContentCard, because it draws its own cards; workspace screens without panes (starting, creating, not found) keep the card.- In dark themes the open tab in the title bar is lighter than the frame (
--shell-tab-selected). Tab strips inside cards are unchanged. - On Windows and Linux the window controls take the frame colour. The title bar registers it with the theme store, so a theme change or preview repaints it correctly.
Panes
Workspaceinpackages/panestakesflush: card panes drop their own border, radius and padding, and the split handle is a 1px divider. The main area and the right pane area are two cards with a 6px gap. Withoutflush, cards look as before.
Rail and title bar
- New section icons.
RailButtontakes any icon component;isIconFilledkeeps the rail's stroke off filled sets. The Tasks icon is a local component with the credit its CC BY 4.0 licence requires. - Workspace switcher button: shown on every screen while the left sidebar is closed, and toggles the switcher. A dot on the icon shows when another sidebar workspace needs input (amber), has a failed agent (red), or finished unopened (green).
Not behind the flag
Activity capsule
- It was one button. The list icon still toggles the activity panel. The other half opens the pull request pane when the branch has one, and otherwise toggles the Changes pane.
More menu
- The project's default app is a direct first item with its shortcut, followed by the Open in submenu, above Run and Configure. Local workspaces only.
Palette and switcher (on top of #9588)
- Switcher rows show pull requests and agent status. They read what the sidebar has already loaded (
useQueryCacheData) instead of polling hosts; the#all-workspaces view queries hosts only while it is open. The dock badge uses the same hook. - The switcher renders at most 150 rows, with a line saying how many more there are. An org with thousands of workspaces froze the main thread for seconds on
#. - The list returns to the top when the query changes.
- "New workspace" in the switcher follows the
NEW_WORKSPACEbinding; Ctrl+N is "next row" again. - The switcher shortcuts work from inside a browser pane or a page.
- Opening file search over typed text starts with an empty query; cleared searches leave no stale matches.
- Match highlighting handles multi-word queries.
- Removed: Cmd/Ctrl+Backspace to archive or delete from the switcher. It moves to its own change (branch
switcher-archive).
From merging main
- The Mobile settings section is no longer gated on the retired
MOBILE_LAUNCHflag, and settings userenderer/hooks/useMatchRoute.
Manual QA
Driven over CDP in this branch's own dev stack with real mouse and keyboard input, each check asserting a measured value.
| Run | Result |
|---|---|
| New shell, Dark | 56 of 56 |
| New shell, Light | 56 of 56 |
| Old shell (flag off, local override) | 13 of 13 |
| Pull request button on a workspace with a pull request | 3 of 3 |
Covered: the three tones and their colour mix, the sidebar join, pane cards and the 6px gap, divider hover and drag, the rail icons, six non-workspace screens, a workspace screen with no panes, the switcher button and its toggle, the activity capsule, the more menu order, every palette shortcut, the row cap, scroll reset, file search, theme preview, and no console errors.
Not checked:
- Windows and Linux. The window controls colour is covered by a unit test only.
- The amber and red dot states, and a running agent in the switcher; no workspace was in those states.
- Clicking the default-app item in the more menu.
Screenshots of both the new shell and the flag-off state are on an internal page.
Testing
bun run typecheckinapps/desktop,packages/panes,packages/ui,packages/trpc,packages/i18nbun testinpackages/panesandpackages/ui, and the desktop suitebun run check:i18n- New unit tests:
shellFrameColor,matchRanges,readQueryCacheData
Risks
- The palette, the activity capsule and the more menu change for every user, not only flagged ones.
- The switcher's row status depends on the sidebar being mounted, which it is in both shells, including when collapsed.
Follow-ups
- Archive and delete from the switcher, with an immediate toast (
switcher-archive). - The server reports a cloud workspace as archived when it archived nothing.
- The title bar button builds the full workspace list to pick its dot colour.