App: run failure reasons, Run again, labelled tabs, actionable errors, nav fixes

- Run rows show a failed run's reason (else its diagnostic's first line,
  full text in a tooltip) or a short result preview; the Summary leads
  with "Why it failed".
- Run again for succeeded/canceled/interrupted runs opens the New run form
  pre-filled (prompt, workspace, report format) at the latest version with
  the original offered.
- Run detail and stage tabs show their names; touch shows captions on the
  Runs header and artifact viewer actions (desktop keeps tooltips).
- ErrorNotice maps not connected / server too old / permission / timeout
  to what to do, raw detail behind Details (Schedules, create chat, Runs,
  Pipelines banners).
- Settings has no Back arrow; Schedules keeps the rail on wide windows;
  phone Settings leads with Connection and Notifications and has a
  Jump to topic menu.
- Walkthrough: Open Connection (skipped when connected), labelled Copy.
- Pluralised counts; no duplicate status/rail names for screen readers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 20:16:22 +00:00
parent c441400f36
commit 545291e04a
68 changed files with 1719 additions and 156 deletions
@@ -39,8 +39,14 @@ class FloatingDestinationBar extends StatefulWidget {
this.edge = FloatingBarEdge.bottom,
this.alignment,
this.showLabels = false,
this.maxLabelScale,
});
/// The largest text scale [showLabels] captions follow; null follows the
/// system's. A page's own tabs cap it so large text cannot stack them over
/// the content they switch.
final double? maxLabelScale;
/// Main app navigation keeps names visible; dense page tabs can stay icons.
final bool showLabels;
@@ -188,13 +194,20 @@ class _FloatingDestinationBarState extends State<FloatingDestinationBar>
Widget _row(BuildContext context, double width) {
if (widget.showLabels) {
return FloatingDestinationLabels(
final labels = FloatingDestinationLabels(
key: FloatingDestinationBar.rowKey,
labels: [for (final item in items) item.label],
selected: currentIndex,
buttonBuilder: (index) => _button(context, index),
onTap: widget.onTap,
);
final max = widget.maxLabelScale;
return max == null
? labels
: MediaQuery.withClampedTextScaling(
maxScaleFactor: max,
child: labels,
);
}
final gap = _gap(width);
// As tall as the selected (largest) button; the others are centred on