feat(desktop): add keyboard shortcut for settings menu#1080
Conversation
Add ⌘, (Cmd+comma on macOS, Ctrl+comma on Windows/Linux) to open the Settings screen, following the standard macOS convention for app preferences. Changes: - Add OPEN_SETTINGS hotkey definition with platform-specific defaults - Add Settings menu item to macOS app menu (after About) - Register hotkey handler in dashboard layout - Update SettingsButton tooltip to show correct shortcut Closes #1069
📝 WalkthroughWalkthroughThe PR introduces a new keyboard shortcut feature that enables users to open the Settings screen using ⌘, (macOS) or Ctrl+, (Windows/Linux). Changes include defining the hotkey in the shared configuration, registering it with navigation, adding a menu item with accelerator, and updating UI components to display the shortcut hint. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Display the ⌘, shortcut next to the Settings option in the organization dropdown menu for discoverability.
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
⌘,(Cmd+comma on macOS, Ctrl+comma on Windows/Linux) keyboard shortcut to open the Settings screenCloses #1069
Test plan
⌘,on macOS (orCtrl+,on Windows/Linux) and verify Settings opensSummary by CodeRabbit
New Features
✏️ Tip: You can customize this high-level summary in your review settings.