Create a keyboard shortcut hook and component

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Going forward we will be adding keyboard shortcuts in Compass.

      1. Create `useKeyboardShortcut` hook to listen for `keypress` event and trigger the corresponding action for a key combination.
      2. Create a KeyboardShort component that will render corresponding shortcut.

      Both of these components will handle Cmd (macOS) or Ctrl (Windows)

            Assignee:
            Unassigned
            Reporter:
            Basit Chonka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: