Files
pipelines/app/notes/F2.md
T

22 lines
1.1 KiB
Markdown

# F2 — Adaptive shell
Implemented standard adaptive navigation for Pipelines, Runs, Chat and Settings.
Material uses a bottom `NavigationBar` below 600 logical pixels and a labeled
`NavigationRail` at wider widths. Cupertino uses the native navigation bar and
tab bar. `MyApp` chooses Cupertino on iOS/macOS, leaves Material system light/dark
themes active elsewhere, and accepts injectable `WidgetBuilder` bodies through
`AdaptiveShell`; unregistered destinations are explicitly marked Not implemented.
## Verification
- `flutter test test/widget_test.dart`: passed (narrow/wide, 2x text scale,
Cupertino controls and injected destination body).
- `flutter analyze`: passed, no issues.
- Follow-up verification: widget tests now cover state retention across tab
switches and Cupertino safe-area insets. `flutter build web` succeeds.
- Browser interaction/capture remains unverified: the local Chrome DevTools
probe did not complete, so no rendered evidence is claimed. Mobile targets
are unverified.
No API capabilities are asserted or mocked. No dependencies were added.