Open
Conversation
🤖 Augment PR SummarySummary: Adds Cmd+Up / Cmd+Down navigation to cycle between Home and enabled provider tabs in the panel. Changes:
Technical Notes: Key handling is attached at the window level and uses Meta-only (Cmd) with ArrowUp/ArrowDown; focus restoration is deferred via 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8cfe6a9. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Add
Cmd+Up/Cmd+Downnavigation for the open panel so the user can switch between Home and enabled provider tabs without reordering anything.The shortcut works immediately after opening from either the tray icon or the global shortcut because the panel now reclaims focus when it becomes visible.
The cycle wraps at the ends and skips Settings, and the change is covered with focused panel and app regression tests.
Related Issue
N/A
Type of Change
Testing
bun run buildand it succeededbun run testand all tests passbun tauri devbunx vitest run src/hooks/app/use-panel.test.ts src/App.test.tsxScreenshots
Keyboard-only change; no screenshot attached.
Checklist
mainbranchNote
Low Risk
Mostly adds client-side keyboard/focus handling with comprehensive tests; low risk aside from potential UX regressions from globally listening to
keydownand changing focus behavior.Overview
Adds Cmd+ArrowUp/ArrowDown keyboard navigation to cycle the panel sidebar between
homeand provider views (wrapping at ends), while skippingsettingsand ignoring key events originating from editable elements.Ensures the shortcut works immediately after the panel is shown by making the panel container focusable (
tabIndex={-1}) and auto-focusing it on window focus/visibility regain and after tray navigation/about events. Updates and expands hook/app tests to cover focus behavior and view-cycling edge cases.Reviewed by Cursor Bugbot for commit 0d6e0ed. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Add Cmd+Up/Down navigation to switch between Home and provider tabs in the panel. The panel now reclaims focus on window focus/visibility and after tray/about actions so the shortcut works immediately.
New Features
AppShellcontainer is focusable (tabIndex={-1}).Refactors
Written for commit 0d6e0ed. Summary will update on new commits.