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:
@@ -951,6 +951,7 @@ class _PipelinesAppState extends State<PipelinesApp>
|
||||
server: widget.server,
|
||||
onBack: _delegate.closeSchedules,
|
||||
onOpenPipeline: (id) => _delegate.goTo(AppRoute.pipeline(id)),
|
||||
onSelectDestination: _selectDestination,
|
||||
);
|
||||
|
||||
Widget _buildTemplates(BuildContext context) => TemplatesDestination(
|
||||
@@ -1127,6 +1128,7 @@ class _PipelinesAppState extends State<PipelinesApp>
|
||||
connection: _session,
|
||||
connected: () => _session.connected,
|
||||
gateway: _session.client,
|
||||
onOpenConnection: () => _delegate.goTo(AppRoute.settings),
|
||||
child: PipelinesDestination(
|
||||
session: _session,
|
||||
server: widget.server,
|
||||
@@ -1232,7 +1234,13 @@ class _PipelinesAppState extends State<PipelinesApp>
|
||||
deliveryServiceController: _deliveryController,
|
||||
// The Help and about row replays the first-run walkthrough. It only
|
||||
// shows it; the device's seen record is left alone.
|
||||
onShowWalkthrough: () => unawaited(showFirstRunWalkthrough(context)),
|
||||
onShowWalkthrough: () => unawaited(
|
||||
showFirstRunWalkthrough(
|
||||
context,
|
||||
connected: _session.connected,
|
||||
onOpenConnection: () => _delegate.goTo(AppRoute.settings),
|
||||
),
|
||||
),
|
||||
),
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user