Float glass tab bars everywhere the app has bottom tabs

One floating frosted tab bar (host NavigationBar / CupertinoTabBar in the
shared GlassPill) replaces the NavigationRail, the Cupertino sidebar and the
run detail, stage page and pipeline detail tab strips. Below 600px it spans
the width minus 16px margins; wider it is sized to its tabs at the right edge.
Content keeps the full width, scrolls behind the bar and learns its height as
bottom media padding; lists pad their end clear of it and FABs sit above it.

The bar now sizes itself from its own constraints instead of the screen size,
which fixes the widget_test failure where a MediaQuery without a size gave it
negative width constraints.
This commit is contained in:
2026-10-31 01:50:42 +00:00
parent 5fd42e803e
commit 963adec122
35 changed files with 1197 additions and 702 deletions
@@ -9,6 +9,7 @@ import 'chat_sessions_body.dart';
import 'session_actions.dart';
import 'session_row_content.dart';
import 'session_row_style.dart';
import '../../../../ui/adaptive/floating_bar_layout.dart';
class CupertinoSessionList extends StatelessWidget {
const CupertinoSessionList({
@@ -47,7 +48,10 @@ class CupertinoSessionList extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ListView(
padding: const EdgeInsets.only(bottom: 24),
padding: withFloatingBarClearance(
context,
const EdgeInsets.only(bottom: 24),
),
children: [
for (final section in sections) ..._section(section),
if (emptyMessage != null)