feat(web): keyboard shortcut registry + useShortcut hook #1030
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!1030
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/web-shortcut-registry-1018"
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?
Adds
SHORTCUTSinapps/web/src/lib/shortcuts.ts,useShortcut/useChordStateinapps/web/src/hooks/use-shortcut.ts, refactors board keymap to consume the registry, and browser tests for scope/input/chord/modifiers.Closes #1018
Test plan
just qaclean on this branchuse-shortcutVitest browser specs for scope filtering, inputs,g,halias, chord timeout,Meta+gAll ACs met, CI green. Registry, hook, refactor, and tests are correct. Nit:
trySingleKeysshort-circuits on first matching def — latent issue when bothglobalandboardsubscribe to?simultaneously, but not observable until the overlay is wired (#nav-v2-8).