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
@@ -9,7 +9,8 @@ import 'package:pipelines_app/features/runs/ui/run_detail_visit_sections.dart';
import 'package:pipelines_app/shell/destination.dart';
import 'package:pipelines_app/ui/adaptive/floating_destination_bar.dart';
/// Every bottom tab bar shows icons only, yet each tab keeps its name for
/// The pipeline detail's bottom tabs show icons only and a run's show their
/// names under them; either way each tab keeps its name for
/// assistive technology (and a Material tooltip), its selected state and its
/// test key; the icons within a bar, and against the shell's tabs a detail's
/// bar floats above, are distinct.
@@ -50,6 +51,7 @@ void main() {
),
};
const labelled = {'run detail', 'stage page'};
for (final MapEntry(key: label, value: (bar, tabs)) in bars.entries) {
testWidgets('$label tabs are icons named for assistive '
'technology', (tester) async {
@@ -61,10 +63,11 @@ void main() {
await tester.pumpAndSettle();
final floating = find.byType(FloatingDestinationBar);
// No label is drawn at all.
// A run's tabs name themselves on screen (a phone has no tooltip);
// the pipeline detail's stay icons.
expect(
find.descendant(of: floating, matching: find.byType(Text)),
findsNothing,
labelled.contains(label) ? findsNWidgets(tabs.length) : findsNothing,
);
for (final (index, (key, tabLabel)) in tabs.indexed) {
final finder = find.byKey(ValueKey(key));