Sheets, decision options, usage, settings and artifact errors: review r2 batches H and L

Shared AppSheetHeader (title + Done) for the Runs filter/sort and Needs you
sheets; Runs filter single-choice groups as check rows and statuses in
sentence case; Cupertino decision options as a check list; run action sheet
titled with the run; usage page without the duplicate title and with honest
empty states; Settings Reconnect wording, compact notifications row and a
tinted Cupertino Save workspace; friendly artifact preview failures with
Retry.
This commit is contained in:
2026-10-31 12:13:34 +00:00
parent d49ab0667b
commit e43cc867f9
29 changed files with 1198 additions and 432 deletions
@@ -7,6 +7,7 @@ import 'package:pipelines_app/features/attention/notify/notification_controller.
import 'package:pipelines_app/features/attention/notify/notification_models.dart';
import 'package:pipelines_app/features/attention/notify/notification_store.dart';
import 'package:pipelines_app/features/attention/ui/needs_you_runs_heading.dart';
import 'package:pipelines_app/features/attention/ui/notification_permission_tile.dart';
import 'package:pipelines_app/features/settings/settings_notifications_section.dart';
import 'notification_test_support.dart';
@@ -70,13 +71,13 @@ void main() {
await tester.pumpWidget(
MaterialApp(
home: Scaffold(
body: SettingsNotificationsSection(controller: notify),
),
home: Scaffold(body: SettingsNotificationsSection(controller: notify)),
),
);
await tester.pump();
expect(find.text(notificationRationale), findsOneWidget);
// One compact row: the short state, not the long rationale paragraph.
expect(find.byKey(notificationStateKey), findsOneWidget);
expect(find.text(notificationRationale), findsNothing);
// A denied platform answer shows its own words and no Enable action.
final denied = NotificationController(
@@ -86,12 +87,11 @@ void main() {
addTearDown(denied.dispose);
await tester.pumpWidget(
MaterialApp(
home: Scaffold(
body: SettingsNotificationsSection(controller: denied),
),
home: Scaffold(body: SettingsNotificationsSection(controller: denied)),
),
);
await tester.pump();
expect(find.text(notificationRationale), findsOneWidget);
expect(find.byKey(notificationStateKey), findsOneWidget);
expect(find.text(notificationRationale), findsNothing);
});
}