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:
@@ -38,9 +38,9 @@ void main() {
|
||||
androidSupported: false,
|
||||
server: webServer(),
|
||||
client: PipelinesClient(
|
||||
replaceSilentSocket: false,
|
||||
channelFactory: (_) => channel,
|
||||
),
|
||||
replaceSilentSocket: false,
|
||||
channelFactory: (_) => channel,
|
||||
),
|
||||
routeInformationProvider: provider,
|
||||
),
|
||||
);
|
||||
@@ -143,8 +143,8 @@ void main() {
|
||||
await tester.pump();
|
||||
});
|
||||
|
||||
testWidgets('the /settings deep link opens Settings as a pushed page with '
|
||||
'Back, and the system Back closes it to Pipelines', (tester) async {
|
||||
testWidgets('the /settings deep link opens Settings with no Back arrow, and '
|
||||
'the system Back closes it to Pipelines', (tester) async {
|
||||
final provider = await pumpApp(
|
||||
tester,
|
||||
location: '/settings',
|
||||
@@ -152,7 +152,8 @@ void main() {
|
||||
);
|
||||
await tester.pump();
|
||||
expect(find.byType(SettingsScreen), findsOneWidget);
|
||||
expect(find.byKey(const ValueKey('shell.back')), findsOneWidget);
|
||||
// A top-level destination draws no Back arrow however it was reached.
|
||||
expect(find.byKey(const ValueKey('shell.back')), findsNothing);
|
||||
expect(selectedTab(tester), 4);
|
||||
|
||||
final handled = await tester.binding.handlePopRoute();
|
||||
|
||||
Reference in New Issue
Block a user