Add edge fade to Files filter chips
Merged
AZ
2mo ago+122+122+012345678901234567890123456789-103-103-012345678901234567890123456789
The Files filter row now uses the same horizontal edge fade as the terminal and task composer pill bars. Filters scroll inside a bounded viewport, while the sort control remains fixed at the trailing edge and the fade tracks the live content offset.
Validation:
swift package dump-packageinPackages/iOS/CmuxMobileShellUIswiftc -parseover the changed iOS sources and focused test- Apple HIG scroll view guidance checked: https://developer.apple.com/design/human-interface-guidelines/scroll-views
The iOS controller fleet has an iOS-labeled worker, but its provisioned recipe is unsigned simulator output only. Hosted iOS checks are required for package compilation and tests.
Summary by cubic
The Files filter chips now scroll with the same horizontal edge fade used by the terminal and task composer pill bars, with the sort control fixed at the trailing edge and the prior row height preserved.
- Generalized the task-composer pill bar into a reusable
HorizontalEdgeFadePillBarwith configurable content insets and accessibility identifier. - The task composer keeps its existing behavior and
MobileTaskComposerPillScrolleridentifier. - The Files filter row keeps its prior height and gains the
TerminalArtifactGalleryFilterScrolleridentifier.
Summary by CodeRabbit
-
New Features
- Added reusable horizontal pill bars with fading edges and fixed controls.
- Added configurable content insets and accessibility identifiers.
- Applied edge-fading pill navigation to task composer controls and session filters.
- Session filters now use a consistent 44-point-high scrolling layout.
-
Tests
- Added coverage for horizontal edge-fade behavior across key distances.