Repository navigation
Studio: draw the command palette like chat search - #12511
Conversation
The command palette used the generic command dialog: an inset input pill, square rows and a dimmed backdrop, sitting a third of the way down. Chat search, its sibling, is a centred rounded surface with a plain search row, a close button, pill rows and a fixed-height list. Give the palette the same surface, header row and close button, pill rows with muted icons, and the same fixed-height list, so the list does not jump as results filter. Commands, shortcuts and filtering are unchanged.
|
The red |
|
@codex review |
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. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. 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". |
The close button sits inside cmdk, whose root runs the highlighted row on Enter. Tabbing to Close and pressing Enter navigated instead of closing.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The command palette (Ctrl/Cmd+P) now looks like Search chats: a centred 635px surface with a transparent overlay, a header with a search icon and a Close button, and pill rows. Commands, shortcuts, filtering and Settings results are unchanged. What changed
On CI: fork CI is still running (Etherll#124). Status: pending CI.
|
* Studio: draw the command palette like chat search The command palette used the generic command dialog: an inset input pill, square rows and a dimmed backdrop, sitting a third of the way down. Chat search, its sibling, is a centred rounded surface with a plain search row, a close button, pill rows and a fixed-height list. Give the palette the same surface, header row and close button, pill rows with muted icons, and the same fixed-height list, so the list does not jump as results filter. Commands, shortcuts and filtering are unchanged. * Studio: keep Enter on the command palette close button The close button sits inside cmdk, whose root runs the highlighted row on Enter. Tabbing to Close and pressing Enter navigated instead of closing. --------- Co-authored-by: Etherl <[email protected]>


Summary
The command palette (Cmd/Ctrl+P) now looks like Search chats (Cmd/Ctrl+K). Before, it used the generic command dialog: an inset input pill, square rows, a dimmed backdrop, and a position a third of the way down the window.
Changes
components/command-palette.tsxonly. The sharedcomponents/ui/command.tsxis untouched, so the other command lists in Settings keep their look.CommandDialogclasses as chat search. It is centred, 635px wide (scaled), has rounded-3xl corners with thechat-search-surfaceshadow, and uses a transparent overlay.CommandInput. The close button usescommon.close.PaletteItemwrapper gives every row chat search's pill (rounded-full px-3 py-2.5,bg-mutedwhen selected) with muted icons and 13px medium labels. Shortcut hints use the 11px meta size.Commands, shortcuts, filtering, the settings results and the hand-off to chat search are unchanged.
Testing
tests/command-palette-search-style.test.tschecks that the palette's dialog classes match chat search's exactly, along with the shared header row and row style.npm run typecheckis clean, and the full frontend suite passes (9778 tests).