Files
pipelines/app/notes/files-path-breadcrumb.md
T
alan d56a76c9a7 Keep Files breadcrumbs aligned to the current folder
Pin the horizontally scrolling breadcrumb to its trailing edge so deep paths keep the current folder visible. Preserve tappable navigation, middle-ellipsize long labels, and cover the behavior with focused widget tests and the rendered fixture.
2026-11-12 23:08:03 +00:00

18 lines
1004 B
Markdown

# Files path breadcrumb
Implemented an end-aligned, horizontally scrollable breadcrumb for the chat
Files panel. It pins to the newest folder after navigation and layout changes,
keeps every segment tappable, allows manual scrolling to earlier segments, fades
the leading edge, and middle-ellipsizes long segment labels.
Affected states: deep paths, navigation to a new folder, tapping an earlier
segment, and resized/bounded panel layouts. The implementation is shared by
phone and desktop Material layouts and does not depend on theme brightness.
Focused regression: `files_panel_test.dart` verifies the deep leaf remains
fully visible at the trailing edge, deeper navigation pins the new leaf,
middle-ellipsizes long labels, and tapping an earlier segment requests that
folder. `tool/memwatch/full.sh 'test/features/chat/files/files_panel_test.dart'`
passes (17 tests); `tool/analyze.sh` is clean. The capture fixture now starts at
a deep path and includes a long folder entry for rendered review.