You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Add collapsible folder tree view (expand/collapse arrows) in the File Preview widget #3597
Currently, the built-in File Preview widget displays directories as a flat list, showing only one folder level at a time. Navigating nested project structures requires drilling down into each folder individually and stepping back out (e.g., via Alt+Up / Alt+Left), which makes it difficult to view a project's hierarchy at a glance or quickly jump between sibling subdirectories.
Having a native IDE-style collapsible file tree in the Preview widget would make Wave Terminal much smoother for browsing codebases and remote SSH directories alongside active terminal blocks.
Implementation Suggestion
Add an optional tree-view mode (or toggle) in the File Preview widget that displays expandable/collapsible dropdown arrows (▸ / ▾) next to folders.
Key behaviors that would make this especially useful:
• Inline expansion: Clicking the dropdown arrow next to a folder expands its child files and subdirectories inline with proper indentation, without changing the root path of the Preview block.
• Keyboard navigation: Support standard tree navigation keys (Right arrow to expand a folder, Left arrow to collapse it, Up/Down to move through visible items, and Enter to preview/open a file).
• View toggle: A small icon in the Preview header (or widget setting) to switch between the existing Flat List view and Tree view so users can choose whichever fits their workflow.
Activity