Skip to content

feat: add keyboard shortcuts overlay#515

Closed
yohaann196 wants to merge 3 commits intofrappe:developfrom
yohaann196:feat/keyboard-shortcuts-overlay
Closed

feat: add keyboard shortcuts overlay#515
yohaann196 wants to merge 3 commits intofrappe:developfrom
yohaann196:feat/keyboard-shortcuts-overlay

Conversation

@yohaann196
Copy link
Copy Markdown

Adds a keyboard shortcuts reference overlay that can be toggled by pressing '?' in the editor and it displays all existing shortcuts grouped by category (like tools, canvas, editing, panels) and it closes with Esc or also thru clicking the backdrop. No existing behaviour is changed

@surajshetty3416
Copy link
Copy Markdown
Member

hey @yohaann196, nice one!

But I have been wanting to implement this in more generic and scalable way, so raised this: #516

With this we just have to mention group and description where you setup the shortcut, useShortcut composable will handle the rest... you don't have to maintain a separate shortcut map to show it in a modal.

closing this for now

@yohaann196
Copy link
Copy Markdown
Author

ok great - makes sense!

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.

2 participants