feat(desktop): add Cmd+F shortcut to focus search in Tasks view#1098
Conversation
Add FOCUS_TASK_SEARCH hotkey (meta+f) that focuses and selects the search input on the Tasks page. Escape clears the query and blurs the input. No conflict with FIND_IN_TERMINAL since the two views are on separate routes.
📝 WalkthroughWalkthroughA global hotkey binding (meta+f) was added to focus and select the task search input field. The feature is implemented by registering a new hotkey definition in the shared hotkeys configuration and attaching programmatic focus control to the search input component with an Escape key handler to clear the query. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 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 |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
FOCUS_TASK_SEARCHhotkey (Cmd+F/Ctrl+Shift+F) that focuses and selects the search input on the Tasks pageEscapewhile focused clears the search query and blurs the inputFIND_IN_TERMINAL(alsometa+f) since the terminal hotkey is gated byenabled: isFocusedand the two views are on separate routesTest plan
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.