Make workspace files panel collapsible#92757
Conversation
|
Codex review: found issues before merge. Reviewed June 13, 2026, 2:13 PM ET / 18:13 UTC. Summary PR surface: Source +103, Tests +81. Total +184 across 6 files. Reproducibility: yes. for the linked regression at source level: current Chat passes workspaceFiles, renderWorkspaceFileRail renders the rail whenever that object exists, and desktop CSS reserves the right column. I did not run a live browser session during this read-only review. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Either make this branch the default-hidden/full-width regression fix, or remove the closing reference and keep the regression owned by #90380. Do we have a high-confidence way to reproduce the issue? Yes for the linked regression at source level: current Chat passes workspaceFiles, renderWorkspaceFileRail renders the rail whenever that object exists, and desktop CSS reserves the right column. I did not run a live browser session during this read-only review. Is this the best way to solve the issue? No as the best fix for the linked regression: the branch is a plausible collapse affordance, but it still starts from the expanded rail. It is only the best path if maintainers intentionally choose the right-strip UX and stop treating it as the regression fix. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ca2410ab072e. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +103, Tests +81. Total +184 across 6 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Signed-off-by: sallyom <[email protected]>
00e0be2 to
fdc2367
Compare
|
Closed as superseded by #92779. We kept this PR's collapsed-strip direction, but maintainers could not update this fork branch because maintainer edits were disabled and the protected push was rejected. I preserved the patch in a maintainer branch, added the default-collapsed fix, and landed it on main at dbf24fe. Thanks @sallyom! |


Summary
Adds a left-nav-style collapse affordance to the Chat Workspace Files panel.
1120pxresponsive breakpoint, matching the left nav behaviorFixes #90359.
This is a separate direction from #90380 rather than a replacement branch for that contributor PR.
Real behavior proof
http://127.0.0.1:18890/with token auth, using the Control UI in a browser against the branch commit00e0be2cee.1120pxto confirm the files panel hides like the left nav.1120pxbreakpoint.Verification
node scripts/run-vitest.mjs ui/src/ui/views/chat.test.tsnode scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/ui/e2e/chat-flow.e2e.test.tsnode scripts/run-oxlint.mjs ui/src/ui/views/chat.test.ts ui/src/ui/e2e/chat-flow.e2e.test.ts ui/src/ui/views/chat.ts ui/src/ui/app-render.ts ui/src/ui/icons.ts ui/src/styles/chat/sidebar.csspnpm test:changed- passed 4 Vitest shardsnode scripts/crabbox-wrapper.mjs run -- --provider aws --idle-timeout 90m --ttl 240m --timing-json -- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed- passed on AWS Crabboxrun_b9be0d527f81, leasecbx_30caa59fea82.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main- clean, no accepted/actionable findings