Repository navigation
Conversation
New workspaces already prepend to the top of their project's lane; new projects appended to the bottom of the project list. Use the existing prepend helper so the project you just added — the one you're about to work in — lands first, consistent with workspace placement. Claude-Session: https://claude.ai/code/session_01SSUQYFamkYAjs5sDQC5RLS
|
Ready to review this PR? Stage has broken it down into 1 individual chapter for you:
Chapters generated by Stage for commit 6f46514 on Jul 27, 2026 10:00pm UTC. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughNewly created sidebar projects now use a prepended tab order, placing the project just created first. ChangesSidebar project ordering
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 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 |
|
Folding into #5999 — the prepend behavior depends on that PR's ordering fix to render correctly, so they ship together. |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
New workspaces prepend to the top of their project's lane (
getPrependTabOrder), but newly added projects appended to the bottom of the sidebar's project list (getNextTabOrder). One-line swap to the existing prepend helper so a just-added project lands at the top — it's the one you're about to work in, and it matches workspace placement semantics.Applies to every path that first places a project in the sidebar (add repository, folder import, project setup finalize).
Note: best paired with #5999 — without it, the live query's stale incremental ordering can render a newly prepended project at the bottom until reload, which is exactly the confusion that surfaced this.
https://claude.ai/code/session_01SSUQYFamkYAjs5sDQC5RLS
Summary by cubic
Newly added projects now appear at the top of the sidebar, matching how new workspaces prepend.
We now use
getPrependTabOrderwhen inserting a project so the one you just added shows first across add repository, folder import, and project setup finalize.Written for commit 6f46514. Summary will update on new commits.
Summary by CodeRabbit