Allow shortcut key to be configurable

Created on 10 October 2019, almost 6 years ago
Updated 24 February 2025, 5 months ago

Problem/Motivation

Alt+s (Option+s) happens to be a shortcut to type a Polish character of "ś". I imagine there are other languages with common problem. Can you suggest how to turn this off, please?

This is a follow up to #3056856: Create a keyboard shortcut to toggle access the search functionality to discuss
1) If this should be configurable (i.e. you can turn it off) and
2) If you should able to choose a different shortcut key.

See: #3056856-24: Create a keyboard shortcut to toggle access the search functionality

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States oknate Greater New York City Area

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France dydave

    We are accepting merge requests if anybody is interested in working on this.

    Thanks!

  • 🇩🇰Denmark ressa Copenhagen
  • 🇫🇷France dydave

    So nice @ressa, as usual, of you to keep the ticket well documented based on the work from other issues 🙏

    Adding here a few additional helpful comments and suggestions:

    #3527344-12: New keyboard shortcuts do not work on MacOS :

    3) More advanced mac users will know that alt = option / ⌥, but ideally it'd show "⌥ + a" instead of "alt + a". If this would be trivial to change based on parsing user agent strings that'd be useful. More of a minor/optional QoL issue.

    #3527344-13: New keyboard shortcuts do not work on MacOS :
    Issue summary:

    Side note: When the search shortcut is disabled in the modules settings, the search input placeholder text still includes "(Alt+a)". Probably needs it's own issue.

    I agree that the shortcut "tip" text could be improved — it shouldn't even be there if the shortcut has been disabled

    #3527344-15: New keyboard shortcuts do not work on MacOS : Concerning the form settings for the hide/show toolbar shortcut:

    it is a little odd it's tucked at the bottom of "Toolbar sticky behavior", since it's only tangentially related to that. Either the header should be something like "Toolbar visibility" or it should be in it's own section. It also wouldn't be terrible if the keyboard shortcuts were just in their own section instead of below what they're related to.

     

    Let's see how we could organize and include these changes in the next merge requests.

    Thanks again everyone for all the great help!

Production build 0.71.5 2024