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:
@@ -53,6 +53,7 @@ class AppListRow extends StatelessWidget {
|
||||
this.timeWidget,
|
||||
this.subtitle,
|
||||
this.compactSubtitle,
|
||||
this.detail,
|
||||
this.subtitleLeading,
|
||||
this.subtitleTrailing,
|
||||
this.menu,
|
||||
@@ -88,6 +89,10 @@ class AppListRow extends StatelessWidget {
|
||||
|
||||
/// Replaces [subtitle] in a compact row, which has less room for facts.
|
||||
final Widget? compactSubtitle;
|
||||
|
||||
/// An optional third line under the subtitle (a failed run's reason), one
|
||||
/// ellipsised line in the subtitle style unless the widget styles itself.
|
||||
final Widget? detail;
|
||||
final Widget? subtitleLeading;
|
||||
final Widget? subtitleTrailing;
|
||||
final Widget? menu;
|
||||
@@ -271,6 +276,17 @@ class AppListRow extends StatelessWidget {
|
||||
// A compact row has no room beside its title: the time takes a line of
|
||||
// its own under the subtitle.
|
||||
final timeLine = compact ? time : null;
|
||||
final detailLine = detail == null
|
||||
? null
|
||||
: Padding(
|
||||
padding: const EdgeInsets.only(top: _lineGap),
|
||||
child: DefaultTextStyle(
|
||||
style: styles.subtitle,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
child: detail!,
|
||||
),
|
||||
);
|
||||
if (line == null && subtitleLeading == null && subtitleTrailing == null) {
|
||||
if (timeLine == null) return titleLine;
|
||||
return Column(
|
||||
@@ -311,6 +327,7 @@ class AppListRow extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
?detailLine,
|
||||
?timeLine,
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user