Skip to content

feat: keyboard shortcuts help dialog#1

Open
SpencerSmithSite wants to merge 2 commits into
mainfrom
feat/shortcuts-help-dialog
Open

feat: keyboard shortcuts help dialog#1
SpencerSmithSite wants to merge 2 commits into
mainfrom
feat/shortcuts-help-dialog

Conversation

@SpencerSmithSite

Copy link
Copy Markdown
Owner

Summary

  • Adds a HelpDialog component listing all keyboard shortcuts grouped by category (Tools, Selection, History & Search, Tips)
  • Press ? or / anywhere on the board to toggle the dialog
  • New ? button added to the right end of the toolbar
  • helpOpen state lives in appStore so the toolbar and App.tsx share it without prop drilling

Test plan

  • Press ? on the board — help dialog should open
  • Press ? again — dialog should close (toggle)
  • Click ? toolbar button — dialog should open
  • Click backdrop — dialog should close
  • All shortcuts listed are accurate and match existing key handlers
  • npm run build passes (verified: 0 TS errors)

🤖 Generated with Claude Code

SpencerSmithSite and others added 2 commits April 30, 2026 22:13
- Add HelpDialog component listing all shortcuts grouped by category
- Press ? (or /) to toggle the dialog; also accessible via new ? toolbar button
- helpOpen state lives in appStore so toolbar and App.tsx share it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Cmd+X / Ctrl+X copies selected items to clipboard then deletes them
- Added ⌘X / Ctrl+X entry to keyboard shortcuts help dialog
- Undo (Cmd+Z) restores cut items as expected

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant