feat(desktop): add tab navigation hotkeys (⌘⌥1-9)#1126
Conversation
Add keyboard shortcuts to jump directly to tabs 1-9 using ⌘⌥1-9, matching the existing tab arrow pattern (⌘⌥←/→ for prev/next tab).
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 WalkthroughWalkthroughAdds keyboard-driven tab jumping: a switchToTab(index) helper in the workspace dashboard and registration of nine new hotkeys (JUMP_TO_TAB_1–JUMP_TO_TAB_9). Hotkey definitions updated to support digit key matching (meta+shift+1..9). Changes
Sequence Diagram(s)(Skipped — changes are localized and the flow is simple.) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 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 |
On Mac, Option+number produces special characters (e.g., Option+1 = ¡). Use event.code to match digit keys when alt modifier is pressed.
Simpler binding that avoids Mac Option+number special character issues.
The event.code workaround handles Option+number special characters.
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
Test plan
Summary by CodeRabbit