Skip to content

feat: implement global command menu with Cmd/Ctrl+K keyboard shortcuts #35 - #139

Merged
Smartdevs17 merged 3 commits into
Smartdevs17:mainfrom
Ghadaffijr:feat/keyboard-shortcuts
Mar 29, 2026
Merged

feat: implement global command menu with Cmd/Ctrl+K keyboard shortcuts #35#139
Smartdevs17 merged 3 commits into
Smartdevs17:mainfrom
Ghadaffijr:feat/keyboard-shortcuts

Conversation

@Ghadaffijr

Copy link
Copy Markdown
Contributor

Description

This PR introduces a new global Command Menu to improve dashboard navigation and power-user accessibility. Users can now easily open a universal search/command modal from anywhere in the app using standard keyboard shortcuts.

Closes #35 ## Key Changes

  • New Component: Built an isolated CommandMenu.tsx component with a polished UI and responsive search overlay.
  • Keyboard Listeners: Added global event hooks for Cmd/Ctrl + K to toggle the menu, and Escape to close it safely.
  • Header Integration: Injected the visual search trigger button into the main Header.tsx layout alongside the recent Wagmi network updates.
  • Maintained Sync: Successfully resolved merge conflicts and synced with upstream main to ensure a clean, fast-forward merge.

How to Test

  1. Checkout this branch locally: git checkout feat/keyboard-shortcuts
  2. Run npm install to ensure all packages match the updated lockfile.
  3. Start the server: npm run dev
  4. Press Cmd + K (Mac) or Ctrl + K (Windows) anywhere in the app to verify the modal opens.
  5. Press Escape to verify the modal closes.
Screenshot 2026-03-26 060230 Screenshot 2026-03-26 060257

@vercel

vercel Bot commented Mar 26, 2026

Copy link
Copy Markdown

@Ghadaffijr is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Mar 26, 2026

Copy link
Copy Markdown

@Ghadaffijr Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ghadaffijr

Copy link
Copy Markdown
Contributor Author

Heads up for the reviewers: I successfully resolved the merge conflicts for the Command Menu. While pushing, I noticed the backend CI was failing at the linting step, so I removed a couple of unused variables in routes/stellar.ts to unblock it.

However, it looks like the backend test suite is currently failing on main (validateStellarAddress is not a function in stellar.validation.test.ts). Since this is related to upstream backend changes, I'll leave that for the maintainers to patch. The frontend Command Menu feature is completely green and ready for review!

@Smartdevs17

Copy link
Copy Markdown
Owner

headers is having issue please resolve.

@Smartdevs17
Smartdevs17 merged commit d2896ff into Smartdevs17:main Mar 29, 2026
3 of 8 checks passed
@Ghadaffijr
Ghadaffijr deleted the feat/keyboard-shortcuts branch March 29, 2026 12:26
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.

Frontend: Add keyboard shortcuts

2 participants