Skip to content

Keyboard shortcuts for search and new snippet #9

Description

@byteofhoney

Goal:

Add quick keyboard shortcuts to speed up common actions.

User story:

As a user, I want keyboard shortcuts so that I can search or add a snippet without reaching for the mouse.

Tasks

  • / focuses the search input
  • n navigates to the "New Snip" page
  • Shortcuts must not fire while typing in any input/textarea/select

Acceptance Criteria

  • Pressing / anywhere on the home page focuses search
  • Pressing n anywhere on the home page navigates to /add
  • Typing / or n inside a form field types the character normally, does not trigger the shortcut

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions