Skip to content

feat: add global keyboard shortcuts cheat-sheet modal #604

Merged
param20h merged 8 commits into
param20h:devfrom
Kishalll:pr-551
Jun 15, 2026
Merged

feat: add global keyboard shortcuts cheat-sheet modal #604
param20h merged 8 commits into
param20h:devfrom
Kishalll:pr-551

Conversation

@Kishalll

Copy link
Copy Markdown
Contributor

🔗 Related Issue

Closes #420

📝 What does this PR do?

  • Global Keyboard Shortcuts Modal: Added a new, responsive cheat-sheet modal (KeyboardShortcutsModal.tsx) that displays all power-user shortcuts (e.g., cmd+K, Esc, Ctrl+Shift+C`).
  • Discoverability: Made the modal globally accessible via a new Keyboard icon button in the main Header.tsx, as well as by pressing the ? key anywhere in the app.
  • Refactoring: Cleaned up ChatPanel.tsx by removing its redundant local help modal overlay state and deferred entirely to the new global component.
  • Docker Fixes (Bonus): Fixed two undocumented bugs that were completely preventing docker compose --profile cpu up from starting locally: updated the SQLAlchemy database URL to use postgresql+ psycopg:// to match the installed driver, and fixed a broken directory path in the celery workerstartup command.

🗂️ Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Refactor / code cleanup
  • 📝 Documentation update
  • 🎨 UI / styling change
  • ⚙️ CI / tooling / config change
  • 🧪 Tests

🧪 How was this tested?

-[x] Ran the backend locally (docker compose --profile cpu up --build)

  • Ran the frontend locally (npm run dev inside frontend/)
  • Tested the affected API endpoints manually (Verified hotkeys trigger correctly without conflicting with inputs)
  • Added / updated tests

📸 Screenshots (if UI change)

image

✅ Self-Review Checklist

  • My branch is based on dev, not main
  • I have not added any secrets / API keys
  • I have not modified main branch or any HuggingFace deployment config
  • My code follows the existing style (no unnecessary formatting changes)
  • I have updated relevant docs / comments if needed

Kishalll added 4 commits June 11, 2026 13:05
# Conflicts:
#	frontend/src/components/chat/ChatPanel.tsx
# Conflicts:
#	frontend/src/app/register/page.tsx
#	frontend/src/components/chat/ChatPanel.tsx
#	frontend/src/components/layout/Header.tsx
@Kishalll Kishalll requested a review from param20h as a code owner June 13, 2026 17:26
@Kishalll Kishalll changed the title Pr 551 feat: add global keyboard shortcuts cheat-sheet modal Jun 13, 2026
@Kishalll Kishalll force-pushed the pr-551 branch 3 times, most recently from ce9708a to f32f5fb Compare June 13, 2026 18:28
@Kishalll

Copy link
Copy Markdown
Contributor Author

@param20h pls review

- Add google-genai to requirements.txt for new Google Gen AI SDK (v2+)
- Fix prettier formatting on 5 modified frontend files
@Kishalll

Copy link
Copy Markdown
Contributor Author

@param20h resolved merge conflicts

@param20h param20h merged commit 2b29321 into param20h:dev Jun 15, 2026
7 checks passed
@github-actions github-actions Bot added gssoc GirlScript Summer of Code 2026 issue/PR gssoc:approved Approved for GSSoC base points (+50 pts) level:beginner +20 pts mentor:param20h Mentor for this PR type:frontend Frontend UI/UX labels Jun 15, 2026
@github-actions

Copy link
Copy Markdown

🎉 Congratulations on getting your Pull Request merged! 🎉

Thank you for contributing to PDF-Assistant-RAG as part of GSSoC '26! 🚀

Keep up the great work! ✨

@param20h param20h added the type:feature +10 pts label Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Approved for GSSoC base points (+50 pts) gssoc GirlScript Summer of Code 2026 issue/PR level:beginner +20 pts mentor:param20h Mentor for this PR type:feature +10 pts type:frontend Frontend UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ui): Add customizable keyboard shortcuts cheat-sheet modal

2 participants