Skip to content

feat: add 'n' keyboard shortcut to open add-application modal#8

Open
ZachDreamZ wants to merge 1 commit into
Joun-Mikhail:mainfrom
ZachDreamZ:feat/keyboard-shortcut-add-application
Open

feat: add 'n' keyboard shortcut to open add-application modal#8
ZachDreamZ wants to merge 1 commit into
Joun-Mikhail:mainfrom
ZachDreamZ:feat/keyboard-shortcut-add-application

Conversation

@ZachDreamZ

@ZachDreamZ ZachDreamZ commented Jun 25, 2026

Copy link
Copy Markdown

Press n when no input or textarea is focused to open the Add-application modal.

  • Added useEffect hook to listen for keydown events
  • Guards against triggering when typing in form fields
  • Escape already closes the modal via the existing Modal component

Closes #7

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@ZachDreamZ is attempting to deploy a commit to the joun-mikhail's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ZachDreamZ
ZachDreamZ force-pushed the feat/keyboard-shortcut-add-application branch from f735370 to de80196 Compare June 25, 2026 21:04
@ZachDreamZ

Copy link
Copy Markdown
Author

Rebased. Fixed the conflicts.

Press 'n' (when not focused on an input or textarea) on the
Applications page to open the Add-application modal.

- Added useEffect hook to listen for keydown events
- Guards against triggering when typing in form fields
- Escape key already closes the modal via the Modal component

Closes Joun-Mikhail#7
@ZachDreamZ

Copy link
Copy Markdown
Author

Ready for review.
Conflicts are fixed.
Vercel still needs team authorization.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard shortcut to open the "Add application" modal

1 participant