Overhaul command palette UX #4
Reference in New Issue
Block a user
Delete Branch "feat/palette-ux-overhaul"
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?
Summary
Six-phase UX sweep of the command palette (Ctrl-K) to make it scannable, discoverable, and accelerator-friendly.
── Focused / Open / Spawn / Quit ──bands replace the flat list; cursor navigation skips header rows transparently.[All] Open Spawn Closechips below the query line;Tab/Shift-Tabcycle them. Existing typed-prefix macros (sw,sp,k) still drive the same filter, and a single backspace now collapses the trailing macro instead of leaving a straysw.Run process:/New Terminal/Spawn process…all becomeSpawn …(terminal, process, custom).[Close]chip, or newCtrl-Xinline close on a Switch row.patterm · on: claude-foo · Ctrl-Kso the user knows which Focused row is targeting what.scratchpad: really-long.md) now lives on its own dim row above the input instead of truncating in the title bar.Alt-1..9quick-pick,Home/End,?inline help overlay,Ctrl-Rtoggles relaunch inside the spawn-process form without leaving the command field.▼ N more/▲ N abovescroll indicator on the middle divider;cursor/totalcounter in the footer; empty-state hintno matches · ⌫ to widen; focused Switch row marked with leading▶instead of• … (current)suffix.Test plan
go test ./internal/app/... -run Palette -count=1 -race— 30 palette tests pass (12 existing + 18 new covering verbs, headers, chips, scoring, Ctrl-X, ?, Home/End, Alt-N, Ctrl-R, counter)go test ./...— full repo test suite passes (the one harness failuresidebar_survives_linefeed_scroll.jsonis a pre-existing flake onmain, unrelated)go build -o ./bin/patterm ./cmd/patterm— clean compilerename_process_via_palette.jsonharness scenario for the new split-subject form layout