Skip to content

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:

image

Phase 2

In phase 2, users can customize the key sequence of each shortcut:

image

Clicking the "Change this shortcut" pencil button would bring up a modal window that would allow the user to:

  1. Assign a new key sequence by pressing the desired keys,
  2. Reset the command to its default key sequence, or
  3. 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

Merge request reports