-
Notifications
You must be signed in to change notification settings - Fork 34
Revise shortcut handling #1283
Comments
Adding aditional Issues to the Release of next week. metasfresh/metasfresh-webui-frontend-legacy#1283 Revise shortcut handling metasfresh/metasfresh-webui-frontend-legacy#1324 Process is started twice when using ctrl-u shortcut
cherry-picked to |
another issue: CTRL+1,2,3... shortcuts are working very wierd, i.e.
|
@teosarca reason for that second behavior was, that I reset the whole "key combo" when one key was going up: https://github.com/metasfresh/metasfresh-webui-frontend/blob/5c194e4af4b344c912b5aeaf49e107a373a86848/src/components/Shortcuts/ShortcutProvider.js#L74-L77 What happened:
What should have happened:
Going to fix that |
There shouldn't be any focus issues any more, since all hotkeys are handled from one place and all listeners are registered on the top level |
note to IT: all shortcuts where changed from CTRL+ to ALT+. |
it seems that some shortcuts are duplicated. see below (javascript console). |
Results of IT1 checked shortcuts from here: http://docs.metasfresh.org/webui_collection/EN/Keyboard_shortcuts_reference.html
=> follow-up: #1410 |
Is this a bug or feature request?
Code restructuring
What is the current behavior?
Shortcuts somehow work and break sometimes
Which are the steps to reproduce?
Use any shortcut in the application
What is the expected or desired behavior?
Shortcuts should work reliably all the time
992d232 fixed an issue by setting some
global
prop. Although ideally, there should be a straightforward hierarchy of shortcut handlers, without needing to (seemingly randomly) set props and globally overwrite each other.Note to IT
The text was updated successfully, but these errors were encountered: