-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement shortcuts #612
base: main
Are you sure you want to change the base?
Implement shortcuts #612
Conversation
Deploying opendataeditor with Cloudflare Pages
|
Let's implement the rest and omit the Ctrl+Q for now |
Hello @romicolman I just discovered many shortcuts that were already implemented in the app before this change. I think this is not desired. For example: You can see the shortcuts that are already implemented in this file: https://github.com/okfn/opendataeditor/blob/main/client/components/Parts/Bars/Action.tsx#L40 and this https://github.com/okfn/opendataeditor/blob/main/client/components/Parts/Bars/Menu.tsx#L56 There is one here too: https://github.com/okfn/opendataeditor/blob/main/client/components/Parts/Chips/Create.tsx#L13 I guess we need to remove these ones as well as part of this task? |
Hi @guergana! Thank you! Let's remove all and just keep the ones that are in the ticket, except from Ctrl + Q |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! I have just tested the implementation. Apart from ENTER, ESC, none of the shortcuts work on Mac. Can we check if we need to define different parameters for this OS?
@guergana just in case this is useful, here are some Mac shortcuts:https://support.apple.com/en-us/102650 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes on Mac are not working (I'll create a new ticket to address this) but please, implement this so we can quickly merge this to the main code for Windows and Linux users.
TODO : test for Mac