fix(desktop): keep cloud workspaces visible when Cloud dropdown is collapsed - #6803
fix(desktop): keep cloud workspaces visible when Cloud dropdown is collapsed#6803AviPeltz wants to merge 3 commits into
Conversation
…s collapsed Collapsing the Cloud section header used to hide the whole workspace list; now the rows stay visible and only the header's chevron cue reflects the collapsed state. Claude-Session: https://claude.ai/code/session_01Env8JHRqvfTtPtQjFt5TBT
|
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)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe cloud sidebar now separates Cloud section collapse from sidebar rail collapse. Cloud section collapse hides workspace rows but keeps the Cloud header. Compact rows and the divider appear only when the sidebar rail is collapsed. ChangesCloud sidebar
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This is a localized change to Cloud sidebar collapse behavior, with normal static checks reported as passing. No actionable merge-blocking risk remains. 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 |
…apse The prior commit always rendered full workspace rows regardless of the section's collapsed flag, so the chevron showed a collapsed cue but nothing visually changed on click. Collapsing now switches to the compact icon form (same as the sidebar-rail-collapsed view) instead of doing nothing, while still never fully hiding a workspace. Claude-Session: https://claude.ai/code/session_01Env8JHRqvfTtPtQjFt5TBT
Both of the compact/always-show variants tried here left the section's own collapse toggle either dead or half-working. Restore the plain hide-on-collapse behavior every other section already uses; only the sidebar rail collapsing still forces the compact icon form. Claude-Session: https://claude.ai/code/session_01Env8JHRqvfTtPtQjFt5TBT
Summary
Test plan
biome checkon the changed filetsc --noEmitshows no new errors from this filehttps://claude.ai/code/session_01Env8JHRqvfTtPtQjFt5TBT
Summary by cubic
Restores standard collapse behavior for the Cloud section. Collapsing the Cloud dropdown now hides its workspace rows; only a collapsed sidebar rail forces the compact icon layout. This removes the half-working states from prior changes and aligns Cloud with Pinned and Sessions.
Written for commit e351031. Summary will update on new commits.
Summary by CodeRabbit