Skip to content

Collapse the workspace tree vertically when hidden#376

Merged
BunsDev merged 1 commit into
mainfrom
okcode/filetree-vertical-collapse
Apr 9, 2026
Merged

Collapse the workspace tree vertically when hidden#376
BunsDev merged 1 commit into
mainfrom
okcode/filetree-vertical-collapse

Conversation

@BunsDev

@BunsDev BunsDev commented Apr 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Added a dedicated resolveWorkspacePanelDirection helper to keep the workspace layout logic explicit and testable.
  • Kept split layouts side-by-side only when the tree is visible, and collapsed layouts vertical in all other cases.
  • Expanded unit coverage to verify direction resolution for split and stacked workspace states.

Testing

  • Not run (not requested).

- Add panel direction helper for split vs stacked layouts
- Keep the tree/editor layout vertical when the tree is collapsed
- Cover direction resolution with unit tests
@vercel

vercel Bot commented Apr 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 9, 2026 7:34pm
v0-compute-the-platform-to-build Building Building Preview, Open in v0 Apr 9, 2026 7:34pm

@github-actions github-actions Bot added the size:S label Apr 9, 2026
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Apr 9, 2026
@BunsDev BunsDev merged commit 3e8b0de into main Apr 9, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant