add Cmd+, shortcut to open Settings, Esc to close#3308
Conversation
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR adds a new Settings keybinding feature for macOS. The implementation adds a global Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 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)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
Adds a
Cmd+,keyboard shortcut to open the Settings panel as an ephemeral block (matching the gear icon behavior). PressingEscapewhile focused on Settings or Tips closes the block.Changes
frontend/app/store/keymodel.ts: RegisterCmd+,global shortcut that callscreateBlockwith ephemeral flag; extend Escape handler to closewaveconfigandtipsblocks when focusedfrontend/app/element/quicktips.tsx: Add "Open Settings" (Cmd+,) and "Close Settings / Close Search" (Escape) entries to the Tips block's Main Keybindings sectiondocs/docs/keybindings.mdx: DocumentCmd+,in the Global Keybindings tableTesting
Open Tips block to see the new shortcuts listed. Press
Cmd+,to open Settings, press Escape to close it.