Draft: An example of what a real keyboard customization UI might look like
What does this MR do?
Demos on option of what a real UI for !43348 (closed) might looks like.
The Keyboard Shortcuts section shown below would be a new section in Profile > Preferences (https://gitlab.com/profile/preferences).
Screenshots
Phase 1
In phase 1, users can only enable or disable individual shortcuts:
Phase 2
In phase 2, users can customize the key sequence of each shortcut:
Clicking the "Change this shortcut" pencil button would bring up a modal window that would allow the user to:
- Assign a new key sequence by pressing the desired keys,
- Reset the command to its default key sequence, or
- Unassign the command (effectively disabling it)
The modal would look similar to VSCode's key selection dialog (see #251226 (comment 415628416)).
Related to #251226
Edited by Nathan Friend