TTC-1: Remove the command-palette placeholder from the topbar #805
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#805
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator, I want the topbar utility cluster to carry only working controls, so that I'm not lured into clicking a button whose only outcome is a "coming soon" toast.
Acceptance criteria
App shell
apps/web/src/components/app-shell.tsxno longer renders<CommandPaletteTrigger />. The topbar utility cluster order becomes:RepoSelector · NotificationsBell · ConnPill · AvatarMenu.CommandPaletteTriggerimport line is removed fromapp-shell.tsx.app-shell.tsx(today reading "…repo filter, ⌘K command-palette placeholder, notifications bell…") is updated so it accurately describes the new layout. Mention #570 in a comment so future readers know where the real palette is tracked, but do not leave a dead⌘Kreference.Component cleanup
apps/web/src/components/command-palette-trigger.tsxis deleted (no other consumers — verify with a workspace-wide grep forCommandPaletteTriggerandcommand-palette-trigger; both should return zero hits after the PR).command-palette-trigger.test.tsxif one exists) is deleted alongside it.data-testid="command-palette-trigger"(likely theapp-shelltest) is updated to assert the trigger is absent rather than present.No keyboard shortcut yet
⌘K/Ctrl Kevent listener is introduced in this story. The placeholder didn't have one either; #570 owns that work. The shortcut staying unbound is the explicit, intentional state until #570 lands.Tests
app-shell.tsx: the topbar renders exactly four utility children —RepoSelector,NotificationsBell,ConnPill,AvatarMenu(whenuseris present) — and no element withdata-testid="command-palette-trigger".≥ smwidth, the command-palette trigger is not in the DOM.Out of scope
⌘K/Ctrl K) that does nothing or that only opens search — also #570.settings-into-avatar-menu.md), the notifications bell, the repo selector, or the conn pill.hidden … sm:inline-flex, so the mobile drawer surface is unaffected.References
specs/topbar-trim-command-palette.mdapps/web/src/components/app-shell.tsx— topbar utility cluster (lines 218–237 at time of writing).apps/web/src/components/command-palette-trigger.tsx— the placeholder being removed (entire file).specs/settings-into-avatar-menu.md— same theme (navbar hygiene).Dependencies
Not specified. No blocker called out by the spec — the placeholder removal is independent of #570 (real palette) and the sibling SAM-* avatar-menu work.