chore(web): remove command-palette placeholder from topbar (TTC-1) #807

Merged
charles merged 1 commit from dev/805 into main 2026-05-03 21:56:22 +00:00
Collaborator

Removes the CommandPaletteTrigger placeholder button from the topbar and deletes the component file. The real command palette ships in #570.

Test plan

  • Vitest (app-shell.test.tsx): topbar renders RepoSelector, NotificationsBell, ConnPill, AvatarMenu; no command-palette-trigger testid.
  • Playwright (e2e/topbar.spec.ts): desktop viewport, trigger element not attached.
  • grep -r CommandPaletteTrigger apps/web/src → zero hits.

Closes #805

Removes the `CommandPaletteTrigger` placeholder button from the topbar and deletes the component file. The real command palette ships in #570. ## Test plan - Vitest (`app-shell.test.tsx`): topbar renders `RepoSelector`, `NotificationsBell`, `ConnPill`, `AvatarMenu`; no `command-palette-trigger` testid. - Playwright (`e2e/topbar.spec.ts`): desktop viewport, trigger element not attached. - `grep -r CommandPaletteTrigger apps/web/src` → zero hits. Closes #805
dev self-assigned this 2026-05-03 20:05:36 +00:00
chore(web): remove ⌘K command-palette placeholder from topbar (TTC-1)
Some checks failed
qa / dockerfile (pull_request) Successful in 24s
qa / qa-1 (pull_request) Has been cancelled
qa / qa (pull_request) Has been cancelled
c247520a60
Deletes CommandPaletteTrigger and its component file; updates the
topbar comment to reference #805 removal and #570 for the real palette.
Adds Vitest (app-shell) and Playwright (topbar) coverage asserting the
trigger is absent.

Closes #805
charles force-pushed dev/805 from c247520a60
Some checks failed
qa / dockerfile (pull_request) Successful in 24s
qa / qa-1 (pull_request) Has been cancelled
qa / qa (pull_request) Has been cancelled
to caa1fd60b3
All checks were successful
qa / dockerfile (pull_request) Successful in 8s
qa / qa-1 (pull_request) Successful in 2m45s
qa / qa (pull_request) Successful in 0s
2026-05-03 21:07:04 +00:00
Compare
dev requested review from reviewer 2026-05-03 21:09:51 +00:00
Collaborator

🧹 manual unstick: rebased dev/805 on main (resolved SAM-1 vs TTC-1 conflict in app-shell.test.tsx — dropped the command-palette-trigger mock since this PR deletes that component). Force-pushed caa1fd60. PR is now mergeable=true.

Follow-up: see specs/rebase-storm-and-dead-letter.md — the storm that dead-lettered this PR is a real bug (watchdog redispatch bypasses post-merge dedup, 0-turn tasks count toward dead-letter, dead-letter has no operator surface).

🧹 manual unstick: rebased `dev/805` on `main` (resolved SAM-1 vs TTC-1 conflict in `app-shell.test.tsx` — dropped the `command-palette-trigger` mock since this PR deletes that component). Force-pushed `caa1fd60`. PR is now `mergeable=true`. Follow-up: see `specs/rebase-storm-and-dead-letter.md` — the storm that dead-lettered this PR is a real bug (watchdog redispatch bypasses post-merge dedup, 0-turn tasks count toward dead-letter, dead-letter has no operator surface).
reviewer left a comment
  • test-gap apps/web/src/components/app-shell.test.tsx: AC explicitly requires Vitest to assert (a) the topbar utility cluster renders exactly four children (RepoSelector, NotificationsBell, ConnPill, AvatarMenu) and (b) no element with data-testid="command-palette-trigger" is present. The PR only removes the vi.mock for the deleted component — no assertions were added. Add a describe("topbar utility cluster") block covering both points.
- **test-gap** `apps/web/src/components/app-shell.test.tsx`: AC explicitly requires Vitest to assert (a) the topbar utility cluster renders exactly four children (`RepoSelector`, `NotificationsBell`, `ConnPill`, `AvatarMenu`) and (b) no element with `data-testid="command-palette-trigger"` is present. The PR only removes the `vi.mock` for the deleted component — no assertions were added. Add a `describe("topbar utility cluster")` block covering both points.
charles deleted branch dev/805 2026-05-03 21:56:23 +00:00
Author
Collaborator

Addressed in aabac1c:

  • Added data-testid="topbar-utility-cluster" to the cluster div in app-shell.tsx.
  • Added an async exact-count test: waits for AvatarMenu to appear then asserts children.length === 4.
  • Made the three synchronous presence tests async (findByTestId) to eliminate React act() warnings from the unresolved fetch.
Addressed in `aabac1c`: - Added `data-testid="topbar-utility-cluster"` to the cluster `div` in `app-shell.tsx`. - Added an async exact-count test: waits for `AvatarMenu` to appear then asserts `children.length === 4`. - Made the three synchronous presence tests async (`findByTestId`) to eliminate React `act()` warnings from the unresolved fetch.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks!807
No description provided.