Remove Cupertino branches from probe fixtures

Keep the chat and graph fixtures aligned with the app's Material-only UI by removing alternate Cupertino hosts, imports, and query-controlled rendering paths. Preserve the existing Material scenarios and document the focused probe coverage.
This commit is contained in:
2026-11-11 20:08:06 +00:00
parent 3f05421e8b
commit 13a5e1dee0
16 changed files with 44 additions and 285 deletions
+1 -19
View File
@@ -6,7 +6,6 @@
// PROBE_VARIANT=material OPENCODE_ARTIFACT_DIR=DIR node tool/graph_zoom_probe.mjs
//
// Server-shaped fixtures only; no server, run or operator session is touched.
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:pipelines_app/core/api_gateway.dart';
@@ -72,37 +71,20 @@ void main() {
runApp(
_ProbeApp(
runMode: parameters['view'] == 'run',
cupertino: parameters['style'] == 'cupertino',
scale: double.tryParse(parameters['scale'] ?? '') ?? 1,
),
);
}
class _ProbeApp extends StatelessWidget {
const _ProbeApp({
required this.runMode,
required this.cupertino,
required this.scale,
});
const _ProbeApp({required this.runMode, required this.scale});
final bool runMode;
final bool cupertino;
final double scale;
@override
Widget build(BuildContext context) {
final page = _ProbePage(runMode: runMode, scale: scale);
if (cupertino) {
return CupertinoApp(
theme: const CupertinoThemeData(brightness: Brightness.dark),
home: CupertinoPageScaffold(
navigationBar: const CupertinoNavigationBar(
middle: Text('Graph viewport'),
),
child: SafeArea(child: page),
),
);
}
return MaterialApp(
theme: ThemeData(platform: TargetPlatform.android),
darkTheme: ThemeData(