Skip to content

feat(sidebar): add user-configurable keyboard shortcuts MVP#131

Open
kflame99 wants to merge 1 commit into
mainfrom
kflame-shortcuts-investigation
Open

feat(sidebar): add user-configurable keyboard shortcuts MVP#131
kflame99 wants to merge 1 commit into
mainfrom
kflame-shortcuts-investigation

Conversation

@kflame99
Copy link
Copy Markdown
Collaborator

Summary

  • add a sidebar keyboard shortcut engine with persisted user keymap (web/sidebar/shortcuts.js)
  • wire global sidebar shortcuts for save/load/quick-save/help/search focus
  • add a shortcuts settings modal (edit + reset defaults) and toolbar entry (K)
  • scope shortcuts to sidebar context and ignore typing/modal-open states

Defaults

  • Focus search: Ctrl+K
  • Save snapshot: Ctrl+S
  • Load snapshot: Ctrl+L
  • Quick save snapshot: Ctrl+Shift+S
  • Open help: Ctrl+H
  • Open shortcuts settings: Ctrl+Alt+K

Validation

  • node --check web/sidebar/shortcuts.js
  • node --check web/sidebar/modals.js
  • node --check web/sidebar/tree.js

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