Replace Hotkey library - #275
Conversation
Replaces react-hotkeys with react-hotkeys-hooks. The latter is maintained, easier in use and already used in other Opencast frontend projects. Also makes a small change to the hotkey cheat sheet, where hotkeys that can currently not be used are displayed in a lower opacity.
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
The browser console is complaining: Should we add the missing translations to en-US (see #406, why en-US and not en-GB)? |
ziegenberg
left a comment
There was a problem hiding this comment.
I went ahead and clicked through, and it worked. I have a few minor comments, but otherwise, looking good!
|
This probably also "solves" #73, right? |
WIth no theodul player and no editor integrated with the admin ui, there are also no more hotkeys for those respective tools. Hence their translations can go as well.
React complains about missing keys. This is an easier fix than trying to discriminate between keys that should be translated and keys that should not be translated.
|
Looks good to me 😊 |
|
This pull request has conflicts ☹ |
Resolves #203
Replaces react-hotkeys with react-hotkeys-hooks.
The latter is maintained, easier in use and already used in other Opencast frontend projects.
Also makes a small change to the hotkey cheat sheet, where hotkeys that can currently not be used are
displayed in a lower opacity.