Skip to content

added shortcuts for common actions #66

Closed
DIYA-BHATT29 wants to merge 3 commits into
rspavithra:mainfrom
DIYA-BHATT29:short-keys
Closed

added shortcuts for common actions #66
DIYA-BHATT29 wants to merge 3 commits into
rspavithra:mainfrom
DIYA-BHATT29:short-keys

Conversation

@DIYA-BHATT29
Copy link
Copy Markdown
Contributor

📌 Description

Brief description of what this PR does.
Adds keyboard shortcuts to improve navigation and usability within the application.
Users can now quickly perform common actions like focusing the note input, searching notes, toggling dark mode, and opening the trash view using keyboard combinations.This enhancement improves accessibility and overall user experience without modifying existing functionality or UI structure.

🔗 Related Issue

Closes #54


🛠 Changes Made

Added global keyboard event listener

Implemented safe shortcut combinations (Alt-based) to avoid browser conflicts
Added shortcuts for:

Alt + N → Focus new note input

Alt + S → Focus search bar

Alt + D → Toggle dark mode

Alt + T → Open Trash view

Esc → Clear search


📷 Screenshots (if applicable)

na its working perfectly

✅ Checklist

  • [ ✅] I have tested my changes
  • [ ✅] My code follows project guidelines
  • [ ✅] I have linked the related issue

@rspavithra
Copy link
Copy Markdown
Owner

Alt + N → Focus new note input

Alt + S → Focus search bar

Alt + D → Toggle dark mode

Alt + T → Open Trash view

THESE WERE NOT WORKING WHEN I CHECKED.KINDLY CHECK IT ONCE AGAIN.

@DIYA-BHATT29
Copy link
Copy Markdown
Contributor Author

DIYA-BHATT29 commented Mar 1, 2026 via email

@rspavithra
Copy link
Copy Markdown
Owner

Still not working

@rspavithra rspavithra closed this Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

suggestion -Keyboard Shortcuts

2 participants