feat(app): icon-only tab bars, Settings from the Pipelines bar, main bar bottom right with detail bars above it

Settings leaves the tab bar (Pipelines, Runs, Chat, Search) and opens as a
page from a gear in the Pipelines bar, keeping /settings, its keys and a Back
to Pipelines (also the system Back). Every floating tab bar shows icons only,
named for assistive technology. On wide windows the shell's tab bar stays at
the bottom right; a split detail learns its height plus a 12px gap, so its
tabs or the chat composer float above it, and pages the detail opens (the
stage page) stay in its pane through its own navigator.
This commit is contained in:
2026-10-31 14:57:56 +00:00
parent 33cb9ca121
commit a1c4c1c402
40 changed files with 1057 additions and 228 deletions
+18 -3
View File
@@ -52,13 +52,28 @@ void main() {
expect(find.byKey(const Key('run-more')), findsNothing);
});
testWidgets('$host: Search is the fifth tab', (tester) async {
testWidgets('$host: Search is the fourth tab; Settings is not a tab', (
tester,
) async {
tester.view.physicalSize = const Size(390, 844);
tester.view.devicePixelRatio = 1;
addTearDown(tester.view.reset);
await tester.pumpWidget(_app(cupertino: cupertino, open: false));
expect(AppDestination.values, hasLength(5));
expect(find.text('Search'), findsOneWidget);
expect(shellTabDestinations, [
AppDestination.pipelines,
AppDestination.runs,
AppDestination.chat,
AppDestination.search,
]);
expect(
find.byKey(const ValueKey('shell.destination.search')),
findsOneWidget,
);
expect(
find.byKey(const ValueKey('shell.destination.settings')),
findsNothing,
);
expect(find.byKey(const ValueKey('shell.search')), findsNothing);
expect(find.byType(FloatingDestinationBar), findsOneWidget);
});
@@ -76,7 +91,7 @@ void main() {
matching: find.byType(GlassPill),
);
expect(tester.getSize(destinationPill).width, 358);
await tester.tap(find.text('Chat'));
await tester.tap(find.byKey(const ValueKey('shell.destination.chat')));
await tester.pump();
expect(find.text('Chat — Not implemented'), findsOneWidget);
});