feat(app): Add file tree panel to session view #7345

Closed
opened 2026-02-16 18:06:54 -05:00 by yindo · 3 comments
Owner

Originally created by @edoedac0 on GitHub (Jan 23, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Summary

Add a collapsible file tree panel to the session layout that allows users to browse and navigate project files directly within the app.

Motivation

Currently, users need to use the file search dialog or type file paths manually. A file tree panel provides:

  • Visual overview of the project structure
  • Quick navigation to files without typing
  • Familiar IDE-like experience

Proposed Solution

  • Add a file tree sidebar panel to the session view
  • Implement lazy-loading directory listing via the SDK's file API
  • Persist file tree state (opened/closed, width) across sessions
  • Integrate with file watcher to auto-refresh directories when files are added/removed

Additional Context

Implementation is ready in PR #10236.

https://github.com/user-attachments/assets/d988cc01-167b-49e4-b38d-11913ff11ed3

Originally created by @edoedac0 on GitHub (Jan 23, 2026). Originally assigned to: @adamdotdevin on GitHub. ## Summary Add a collapsible file tree panel to the session layout that allows users to browse and navigate project files directly within the app. ## Motivation Currently, users need to use the file search dialog or type file paths manually. A file tree panel provides: - Visual overview of the project structure - Quick navigation to files without typing - Familiar IDE-like experience ## Proposed Solution - Add a file tree sidebar panel to the session view - Implement lazy-loading directory listing via the SDK's file API - Persist file tree state (opened/closed, width) across sessions - Integrate with file watcher to auto-refresh directories when files are added/removed ## Additional Context Implementation is ready in PR #10236. https://github.com/user-attachments/assets/d988cc01-167b-49e4-b38d-11913ff11ed3
yindo added the web label 2026-02-16 18:06:54 -05:00
yindo closed this issue 2026-02-16 18:06:54 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 23, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6032: [FEATURE]: Nerdtree like session manager - requests a tree-based file browser similar to NERDtree for hierarchical navigation
  • #5971: Plugin API for custom sidebar panels - requests foundational infrastructure for registering collapsible sidebar panels
  • #6521: [FEATURE]: Window System as Foundation for UI Plugin Ecosystem - proposes a comprehensive window/layout system with persistent UI panels like file browsers
  • #3720: [FEATURE]: Better/optional collapsable tree-style file changed list/view - requests tree-style collapsible UI similar to the file tree panel concept

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #6032: [FEATURE]: Nerdtree like session manager - requests a tree-based file browser similar to NERDtree for hierarchical navigation - #5971: Plugin API for custom sidebar panels - requests foundational infrastructure for registering collapsible sidebar panels - #6521: [FEATURE]: Window System as Foundation for UI Plugin Ecosystem - proposes a comprehensive window/layout system with persistent UI panels like file browsers - #3720: [FEATURE]: Better/optional collapsable tree-style file changed list/view - requests tree-style collapsible UI similar to the file tree panel concept Feel free to ignore if none of these address your specific case.
Author
Owner

@kremovtort commented on GitHub (Jan 28, 2026):

You can achieve this by using one of neovim plugins:

@kremovtort commented on GitHub (Jan 28, 2026): You can achieve this by using one of neovim plugins: - https://github.com/sudo-tee/opencode.nvim - https://github.com/nickjvandyke/opencode.nvim
Author
Owner

@edoedac0 commented on GitHub (Jan 28, 2026):

You can use one of neovim plugins to get this feature:

This is the desktop app feature tho

@edoedac0 commented on GitHub (Jan 28, 2026): > You can use one of neovim plugins to get this feature: > - https://github.com/sudo-tee/opencode.nvim > - https://github.com/nickjvandyke/opencode.nvim This is the desktop app feature tho
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7345