Created a new keyboard-shortcuts Flex hook type. Features can use this hook to register their keyboard shortcuts in a safe manner that avoids overlapping shortcut keys, and also allows using manager strings for the shortcut name.
Migrated custom keyboard shortcuts into Flex hooks within their respective features.
Updated the keyboard-shortcuts feature logic:
Fixed initialization logic relying on components
Fixed reset logic relying on components
Fixed one of the included custom shortcuts overlapping the default Logout shortcut
Simplified utility functions
Fixed the keyboard-shortcuts feature clearing the shortcut throttle when changing the key
Fixed the keyboard-shortcuts feature success notification having confusing punctuation at the end
Summary
This PR is motivated by this review comment. Several changes are included:
Checklist