feat(desktop): toggle the last two threads with Ctrl+Tab - #215
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pandec/t3code/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe desktop app adds a ChangesLast-visited thread navigation
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Desktop as Desktop key event
participant ChatRoute as Chat route
participant History as threadVisitHistory
participant ThreadPane as openThreadInActivePane
Desktop->>ChatRoute: Ctrl+Tab keydown
ChatRoute->>History: Resolve previous openable thread
History-->>ChatRoute: Return target or null
ChatRoute->>ThreadPane: Open resolved thread
Desktop->>ChatRoute: Matching keyup
ChatRoute-->>Desktop: Consume release
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The desktop shortcut adds session-local thread toggling with unavailable targets filtered out. The change is ready to merge with normal checks. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Desktop users can now press Ctrl+Tab to toggle between the current and previously viewed thread. The pair follows the focused split pane and can span projects and environments. Opening another thread replaces the older entry; an unsent draft can return to the last viewed thread without entering the pair.
Adds the rebindable
thread.lastVisitedcommand with a desktop-only default. The shortcut consumes both the press and release before composer or terminal input, ignores repeats, and validates the destination before opening it. Embedded browser pages keep their keyboard input. README and shortcut documentation describe the behavior.Validation:
vp checkpassed with the same existing warnings as the baseline.vp run typecheckpassed.Models: GPT-6 and Claude Fable 5.1, with parallel reviews by GPT-5.6 Sol and Claude Opus 5. Harness: Codex.
Summary by CodeRabbit
New Features
Ctrl+Tab(Control on macOS), to toggle between the current and previously viewed thread.Documentation