Add desktop navigation rail with Settings

Replace wide-layout floating destination controls with a full-height Material navigation rail, keeping badges and existing navigation behavior. Pin Settings to the rail and preserve the phone layout and pane/window clearance.
This commit is contained in:
2026-11-12 02:27:41 +00:00
parent 17af656f00
commit 547d15c842
24 changed files with 835 additions and 90 deletions
+5 -1
View File
@@ -2,6 +2,7 @@ import '../../ui/adaptive/segmented_bar.dart';
import '../../shell/destination.dart';
import '../../shell/detail_page.dart';
import '../../shell/list_detail.dart';
import '../../shell/shell_rail_scope.dart';
import 'package:flutter/material.dart';
import '../../core/api_gateway.dart';
@@ -288,7 +289,10 @@ class _PipelinesScreenState extends State<PipelinesScreen> {
if (listShown && widget.onOpenSchedules != null)
_schedulesButton(context),
_refreshButton(context),
if (listShown && widget.onOpenSettings != null)
// A wide window's rail offers Settings; the gear stays on a phone.
if (listShown &&
!ShellRailScope.isShown(context) &&
widget.onOpenSettings != null)
_settingsButton(context),
],
child: body,