Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte: Create consistent, predictable, intuitive keyboard shortcuts #62273

Open
taiyab opened this issue Apr 30, 2024 · 0 comments
Open

Svelte: Create consistent, predictable, intuitive keyboard shortcuts #62273

taiyab opened this issue Apr 30, 2024 · 0 comments
Assignees
Labels

Comments

@taiyab
Copy link
Contributor

taiyab commented Apr 30, 2024

As we progress through our implementation of the new file view designs, we're starting to surface the keyboard shortcuts used to trigger various actions on the UI.

For example:

  • / triggers global finder/search
  • ⌥R might trigger revision selector
  • ⌥N might trigger opening a new file pane

etc. etc.

We need to establish a set of shortcuts that make sense system-wide, and match up to other common shortcuts used in other systems and tools/IDEs.

We also need a way to universally show these keyboard shortcuts and hence a binding to show and hide that panel too (which preferably corresponds to the "prefix" we use, e.g. in the cases above, ⌥, so hitting ⌥ might bring up the keyboard shortcuts available to you in a menu).

The work here would be to:

  • Gather all the places throughout the system that we'd want to enable a shortcut for
  • Ensure a consistent pattern of shortcuts throughout
  • Ensure no overlap in shortcuts used
  • Ensure the shortcut mapping is intuitive
  • Ensure the mapping works across all operating systems
  • Create a better way for us to assign and manage these keyboard shortcuts, all in one place

Anything I've missed here? @camdencheek @vovakulikov @fkling

@bahrmichael bahrmichael added this to the Web app rewrite/3 milestone Apr 30, 2024
@bahrmichael bahrmichael added team/code-search Issues owned by the code search team webapp and removed team/code-search Issues owned by the code search team labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants