Skip to content

fix(app): default file tree to closed with minimum width#19426

Merged
kitlangton merged 7 commits intodevfrom
kit/file-tree-default-closed
Mar 27, 2026
Merged

fix(app): default file tree to closed with minimum width#19426
kitlangton merged 7 commits intodevfrom
kit/file-tree-default-closed

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • File tree panel is now closed by default in new sessions
  • Initial file tree width set to 200px (minimum) instead of 344px, so it doesn't appear larger than the review panel when opened

Test plan

  • Clear persisted layout state (layout.v6 in Local Storage) and reload
  • Verify file tree is closed on fresh session
  • Open file tree and verify it starts at minimum width (200px)

New sessions now start with the file tree panel closed and use the
minimum width (200px) when opened, matching the resize handle minimum.
@kitlangton kitlangton marked this pull request as ready for review March 27, 2026 15:06
@kitlangton kitlangton enabled auto-merge (squash) March 27, 2026 15:19
@kitlangton kitlangton marked this pull request as draft March 27, 2026 17:26
auto-merge was automatically disabled March 27, 2026 17:26

Pull request was converted to draft

@kitlangton kitlangton marked this pull request as ready for review March 27, 2026 17:26
DEFAULT_PANEL_WIDTH was shared between sidebar and file tree.
Changing it to 200 for the file tree also shrunk the sidebar,
causing the workspace rename inline-input to be 0-width and
invisible to Playwright.
@kitlangton kitlangton merged commit e973bbf into dev Mar 27, 2026
8 checks passed
@kitlangton kitlangton deleted the kit/file-tree-default-closed branch March 27, 2026 18:11
Copilot AI pushed a commit to ian-morgan99/opencode that referenced this pull request Mar 28, 2026
…9426)

Co-authored-by: ian-morgan99 <106852423+ian-morgan99@users.noreply.github.com>
loocor pushed a commit to loocor/opencode that referenced this pull request Mar 30, 2026
balcsida pushed a commit to balcsida/opencode that referenced this pull request Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant