okfn/opendataeditor

Implement shortcuts

Closed this issue · 4 comments

Description

Based on research conducted on ticket #597, please implement the following list of shortcuts:

  • Alt + M Toggle the metadata panel
  • Alt + R Toggle the report panel
  • Alt + S Toggle the source panel
  • Ctrl + Z Undo last change
  • Ctrl + Y Redo last change
  • Ctrl + Q Revert the changes
  • Ctrl + S Save the changes
  • Enter - Confirm action
  • Esc - Cancel action

Hi @romicolman I see a problem with Ctrl+Q, this is the default shortcut for closing applications. If you do it on Linux it closes the app. Maybe we can find another shortcut for reverting the changes?

Hi! Let's implement the rest and omit the Ctrl+Q for now

Hey! I tested it again today. Apart from ENTER and ESC, shortcuts do not work on Mac.

Hey! I tested it again today. Apart from ENTER and ESC, shortcuts do not work on Mac.

We have decided to merge this as it is working for windows and Linux and will create a ticket for Mac in the future.