Skip to content

Refactor note management and add keyboard shortcuts#77

Merged
rspavithra merged 1 commit into
rspavithra:mainfrom
DIYA-BHATT29:main
Mar 13, 2026
Merged

Refactor note management and add keyboard shortcuts#77
rspavithra merged 1 commit into
rspavithra:mainfrom
DIYA-BHATT29:main

Conversation

@DIYA-BHATT29
Copy link
Copy Markdown
Contributor

Refactor and reorganize note management functionality, including note addition, deletion, and rendering. Implement keyboard shortcuts for improved user experience.

📌 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

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)


✅ Checklist

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

Refactor and reorganize note management functionality, including note addition, deletion, and rendering. Implement keyboard shortcuts for improved user experience.
@rspavithra rspavithra merged commit 71d8090 into rspavithra:main Mar 13, 2026
1 check passed
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