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
+4 -1
View File
@@ -479,6 +479,7 @@ class _PipelinesAppState extends State<PipelinesApp>
onViewPipelineRuns: (id) =>
_delegate.goTo(AppRoute.runsForPipeline(id)),
onOpenSchedules: _delegate.openSchedules,
onOpenSettings: () => _delegate.goTo(AppRoute.settings),
// The open pipeline is part of the route, so Back steps out of it.
onSelectionChanged: (id) {
final current = _delegate.route;
@@ -529,13 +530,15 @@ class _PipelinesAppState extends State<PipelinesApp>
onSessionSelected: (id) => _delegate.goTo(AppRoute.chatSession(id)),
onBack: () => _delegate.goTo(AppRoute.chat),
),
// Search is the fifth tab; a result opens its destination.
// Search is the fourth tab; a result opens its destination.
AppDestination.search: (_) => SearchDestination(
session: _session,
server: widget.server,
onOpen: _openSearchResult,
embedded: true,
),
// Settings is a page of the Pipelines tab (its bar's gear), not a
// tab; the shell shows it with Back to Pipelines.
AppDestination.settings: (_) => SettingsScreen(
client: _session.client,
// A phone signs in at the web login; a browser has its own.
@@ -23,6 +23,7 @@ class PipelinesDestination extends StatelessWidget {
this.onRunStarted,
this.onViewPipelineRuns,
this.onOpenSchedules,
this.onOpenSettings,
this.onSelectionChanged,
this.initialPipelineId,
this.initialVersion = 0,
@@ -42,6 +43,9 @@ class PipelinesDestination extends StatelessWidget {
final ValueChanged<int>? onRunStarted;
final ValueChanged<int>? onViewPipelineRuns;
final VoidCallback? onOpenSchedules;
/// Opens Settings as a page from the Pipelines bar's gear.
final VoidCallback? onOpenSettings;
final ValueChanged<int?>? onSelectionChanged;
/// The pipeline and pinned version a deep link names.
@@ -95,6 +99,7 @@ class PipelinesDestination extends StatelessWidget {
onRunStarted: onRunStarted,
onViewPipelineRuns: onViewPipelineRuns,
onOpenSchedules: onOpenSchedules,
onOpenSettings: onOpenSettings,
onSelectionChanged: onSelectionChanged,
initialPipelineId: initialPipelineId,
initialVersion: initialVersion,