Skip to content

feat: add breadcrumb folder navigation to sidebar#6

Merged
gdilla merged 2 commits intomainfrom
feat/folder-nav
Mar 14, 2026
Merged

feat: add breadcrumb folder navigation to sidebar#6
gdilla merged 2 commits intomainfrom
feat/folder-nav

Conversation

@gdilla
Copy link
Owner

@gdilla gdilla commented Mar 14, 2026

Summary

  • Adds a clickable breadcrumb path bar to the sidebar header showing the full folder hierarchy (with ~ for home dir)
  • Separates "hide sidebar" (× button) from "close folder" (eject icon) — closing a folder no longer collapses the sidebar
  • Clicking any breadcrumb segment navigates to that parent directory

Test plan

  • 7 new tests for breadcrumb parsing, home dir shorthand, navigation (174 total passing)
  • Lint passes (0 errors)
  • Manual: open a deeply nested folder, verify breadcrumbs render with clickable segments
  • Manual: click a parent breadcrumb segment, verify tree reloads at that level
  • Manual: click × to hide sidebar, reopen — folder should still be loaded
  • Manual: click eject icon to close folder, verify tree clears but sidebar stays visible

🤖 Generated with Claude Code

gdilla and others added 2 commits March 13, 2026 17:46
- Add clickable breadcrumb path bar showing current folder hierarchy
- Separate close-sidebar (hide) from close-folder (clear) actions
- Add navigateToFolder action for breadcrumb clicks
- Add close-folder icon near breadcrumbs
- Tests for breadcrumb parsing and navigation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- read_dir_recursive now accepts max_depth parameter (default 10)
- Breadcrumb navigation uses depth=3 to avoid scanning huge parent trees
- Prevents beachball when clicking parent breadcrumb segments
- read_directory_tree Tauri command accepts optional maxDepth parameter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gdilla gdilla merged commit cf877e0 into main Mar 14, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant