Skip to content

Implement an easy way to attach keyboard shortcuts #227

Closed

Description

@radubrehar

We need an easy way to allow people attach keyboard shortcuts and perform actions when a shortcut is pressed.

Activity

  1. self-assigned this
    on May 20, 2024
  2. added
    enhancement
    on May 20, 2024
  3. radubrehar commented on May 20, 2024

    @radubrehar
    ContributorAuthor

    We'll add keyboardShortcuts prop, which is an array of objects of the following shape:

    {
      key: 'cmd+shift+x',
      when?: (context) => true/false,
      handler: (context, event) => ...
    }
  4. added this to the 3.3.3 milestone on May 30, 2024
  5. radubrehar commented on May 30, 2024

    @radubrehar
    ContributorAuthor

    Shipped in 3.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions