fix(hotkeys): shift-modified split navigation to avoid collapse/expand conflict#2653
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 6 seconds. ⌛ 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. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughChanges modify hotkey registrations, focus tracking, and navigation behavior across the application. The "create new split" hotkey token is reassigned, chat input focus tracking is added, preview panel references are removed from soup view navigation, split focus shortcuts are updated, and shortcut settings descriptions are reorganized. Changes
Possibly related PRs
🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@js/app/packages/app/component/settings/Shortcuts.tsx`:
- Line 59: The shortcut description for the `${cmdOrCtrl}+escape` entry in
Shortcuts.tsx incorrectly only says "Close the split" while the handler in
registerSplitHotkeys.ts uses getSplitCount() to fall back to "Go home" when only
one split exists; update the description for the keys: [`${cmdOrCtrl}+escape`]
entry in Shortcuts.tsx to reflect both behaviors (e.g. "Close split (or Go home
if only one split)") or make it dynamic by importing/using getSplitCount() so
the panel shows the correct text at runtime; target the keys/description object
in Shortcuts.tsx and reference registerSplitHotkeys.ts / getSplitCount() for the
intended behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: e50a656f-41c7-4bba-b315-527df8165eeb
📒 Files selected for processing (6)
js/app/packages/app/component/GlobalHotkeys.tsxjs/app/packages/app/component/SoupChatInput.tsxjs/app/packages/app/component/next-soup/soup-view/soup-view.tsxjs/app/packages/app/component/next-soup/soup-view/use-soup-navigation-hotkeys.tsjs/app/packages/app/component/settings/Shortcuts.tsxjs/app/packages/app/component/split-layout/registerSplitHotkeys.ts
💤 Files with no reviewable changes (1)
- js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
…up escape handler
Summary
condition closure.
properly cleaned up.
hotkeys, escape-closes-split, cmd+/), descriptions corrected (enter = open in current split, added shift+enter, click/shift-click, cmd+j renamed to "Focus AI
chat"), inline g → i Kbd example added, spacing tightened.