Knowt Hotkeys Project #2

Link #1 | Link #2 | Link #3

How shortcut should behave

I like Linear. On every button, there will be a tooltip which will display it’s shortcut beside it

How linear tooltip looks

TODOs:    

  • We must make our button to support passing tooltip shortcut. Support passing things like Command or Control keys, along with any additional modifiers like Shift or Alt etc.

  • Tooltip component to handle the shortcut key looks. should be just like the one’s editor toolbar have

  • This shortcut should be appended besides it’s tooltip text

  • Handle button that has same command

  • Let’s start our first CreateContentPopup and SearchPopup to be our first to have the shortcut

  • For popup, we should embed global “ESC” action to close it when it’s open. MUI has already embed this but we should globally use this new hot keys instead

  • think on where to put it like in learn mode, exam page etc

  • popup to list all the shortcut keys and details on what it is for