Skip to content

feat: navigable breadcrumbs reachable with LB/RB - #122

Merged
nextestudios merged 2 commits into
mainfrom
feature/30-breadcrumbs
Sep 27, 2026
Merged

nextestudios merged 2 commits into
mainfrom
feature/30-breadcrumbs

Conversation

@nextestudios

@nextestudios nextestudios commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • State in AppController: Breadcrumbs (visible segments of the active pane) built from the location: disk folders (via IFileSystemProvider.GetParent), then the archive file as its own Archive segment, then ArchiveFolder segments. Each segment carries its target location and the child id to focus on arrival.
  • Regions: new PaneState.Region (List/Breadcrumbs). PreviousRegion (LB, Ctrl+←) enters the bar on the parent folder; Left/Right pick a segment; South navigates (pushes history) and restores focus to the child we came from; RB/Down/East return to the list; North shows the full path as a menu. The same menu is in Menu → "Ir para pasta acima…" (browser and picker).
  • Long paths: BreadcrumbTrail.Collapse keeps the root, the archive boundary with its disk folder and the last three segments, collapsing the rest into … segments that open the hidden folders.
  • View: the header shows the segments with the shared focus ring; the archive boundary uses an accent ▸ and a package glyph; inside-archive segments are accent-colored. While the bar has focus, the list ring is hidden (single focus). Pointer taps on segments navigate too.
  • Action bar: "Caminho" hint on LB in the list; in the bar, Ir para / Caminho completo / Voltar à lista.

Testing

  • CI: BreadcrumbJourneyTests — LB → Left → South navigates two levels up with focus on the child and history intact; archive boundary segments and focus restoration (inner folder → archive root → disk folder focusing the .zip); collapse rules.
  • Manual (added to docs/TESTING.md): controller and keyboard flow, archive boundary visuals, long path at 720p, pointer taps.

Closes #30

🤖 Generated with Claude Code

@nextestudios
nextestudios force-pushed the feature/30-breadcrumbs branch 2 times, most recently from cda929e to b0800ce Compare September 27, 2026 03:17
nextestudios and others added 2 commits September 27, 2026 00:22
- Path bar built in AppController from the pane location: disk folders,
  the archive file as its own boundary segment, then folders inside the
  archive. Each segment knows which child to focus on arrival.
- PaneState.Region: LB (PreviousRegion) moves focus to the bar on the
  parent folder; Left/Right pick, South navigates with history and focuses
  the child we came from; RB/Down/East return to the list; North lists the
  full path in a menu. Also in the app and picker menus.
- Long paths collapse the middle into "…" (root, archive boundary and last
  three always visible); "…" opens the hidden segments.
- Header renders segments with the shared focus ring and a distinct ▸ and
  package glyph at the archive boundary; only one focus is visible.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The folder that contains the archive was collapsed into "…", so from the
archive root LB focused "…" instead of the folder to go back to.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios merged commit b8619e8 into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/30-breadcrumbs branch September 27, 2026 03:24
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.

feat: add navigable breadcrumbs

1 participant