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.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user