Repository navigation
fix: preserve sort order across tab events, add manual reorder - #5
Conversation
Sort order (S key) now survives tab creation and closure instead of being cleared. Dead pane_ids are removed and new sessions are appended at the end of the sorted list. Fix highlight flicker when using Alt-I/O (MoveTab) while sorted by using focused_pane_id instead of active_tab_index for the viewport scroll anchor. Add Shift+J/K keybindings in navigate mode to manually move sessions up/down within the sort order. If no sort is active, initializes one from the current tab order. Assisted-By: 🤖 Claude Code
|
Warning Review limit reached
More reviews will be available in 50 minutes and 43 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughAdds ChangesSession Move Up/Down
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Applied fixes from bot review comments: - Comment #3488162812: mark render dirty on sort_order initialization (CodeRabbit) - Comment #3488162818: append new sessions in tab_index order (CodeRabbit) - Comment #3488162823: use correct pane_id source for scroll anchor in navigate mode (CodeRabbit) - Comment #3488164757: clean sort_order in all session removal paths (Devin) Assisted-By: 🤖 Claude Code
Reconciled spec with code after sort persistence and manual reorder features. Key changes: - FR-002: 3 tiers -> 4 tiers (Done separated from Idle) - FR-006: Toggle behavior -> one-shot re-sort snapshot - FR-008: Auto-deactivate on tab change -> preserve and update - FR-011-013: New requirements for manual reorder (Shift+J/K), sort_order cleanup on session removal, and scroll anchor fix - User stories updated to match current behavior Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488186164: add J/K shortcuts to README and Antora navigation docs Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488210895: clean sort_order in SessionEnd hook removal path (Devin) - Comment #3488210927: use immediate broadcast_render for Move operations (Devin) Assisted-By: 🤖 Claude Code
Applied fix from bot review comment: - Comment #3488247598: clear render_dirty after broadcast_render to prevent redundant double-broadcast on next timer tick (Devin) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488251617: fall back to active_tab_index when pane_id anchor missing in sorted mode (Copilot) - Comment #3488251624: add tests for sorted scroll anchoring and fallback (Copilot) - Comment #3488251630: add tests for J/K move keybindings in navigate mode (Copilot) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488254556: add pending_git_branch cleanup in SessionEnd hook (CodeRabbit) - Comment #3488254564: align spec acceptance scenario and SC-001 with 4-tier sort (CodeRabbit) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488162812: mark render dirty on sort_order initialization (CodeRabbit) - Comment #3488162818: append new sessions in tab_index order (CodeRabbit) - Comment #3488162823: use correct pane_id source for scroll anchor in navigate mode (CodeRabbit) - Comment #3488164757: clean sort_order in all session removal paths (Devin) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488186164: add J/K shortcuts to README and Antora navigation docs Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488210895: clean sort_order in SessionEnd hook removal path (Devin) - Comment #3488210927: use immediate broadcast_render for Move operations (Devin) Assisted-By: 🤖 Claude Code
Applied fix from bot review comment: - Comment #3488247598: clear render_dirty after broadcast_render to prevent redundant double-broadcast on next timer tick (Devin) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488251617: fall back to active_tab_index when pane_id anchor missing in sorted mode (Copilot) - Comment #3488251624: add tests for sorted scroll anchoring and fallback (Copilot) - Comment #3488251630: add tests for J/K move keybindings in navigate mode (Copilot) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488254556: add pending_git_branch cleanup in SessionEnd hook (CodeRabbit) - Comment #3488254564: align spec acceptance scenario and SC-001 with 4-tier sort (CodeRabbit) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488162812: mark render dirty on sort_order initialization (CodeRabbit) - Comment #3488162818: append new sessions in tab_index order (CodeRabbit) - Comment #3488162823: use correct pane_id source for scroll anchor in navigate mode (CodeRabbit) - Comment #3488164757: clean sort_order in all session removal paths (Devin) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488186164: add J/K shortcuts to README and Antora navigation docs Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488210895: clean sort_order in SessionEnd hook removal path (Devin) - Comment #3488210927: use immediate broadcast_render for Move operations (Devin) Assisted-By: 🤖 Claude Code
Applied fix from bot review comment: - Comment #3488247598: clear render_dirty after broadcast_render to prevent redundant double-broadcast on next timer tick (Devin) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488251617: fall back to active_tab_index when pane_id anchor missing in sorted mode (Copilot) - Comment #3488251624: add tests for sorted scroll anchoring and fallback (Copilot) - Comment #3488251630: add tests for J/K move keybindings in navigate mode (Copilot) Assisted-By: 🤖 Claude Code
Applied fixes from bot review comments: - Comment #3488254556: add pending_git_branch cleanup in SessionEnd hook (CodeRabbit) - Comment #3488254564: align spec acceptance scenario and SC-001 with 4-tier sort (CodeRabbit) Assisted-By: 🤖 Claude Code
Summary
focused_pane_idinstead ofactive_tab_indexTest plan
cargo test— 353 tests pass (4 new)cargo clippy— no warningsAssisted-By: 🤖 Claude Code
Summary by CodeRabbit