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
-15
View File
@@ -1,16 +1,10 @@
import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:pipelines_app/features/chat/domain/chat_transcript.dart';
import 'package:pipelines_app/features/chat/ui/transcript/chat_message_view.dart';
const _style = String.fromEnvironment(
'CHAT_MESSAGE_PROBE_STYLE',
defaultValue: 'material',
);
/// Visible fixture for one user row, one folded assistant turn and one live
/// turn whose newest reasoning step grows every half second. The unknown part
/// and the tool body start collapsed so the browser probe has to open them.
@@ -61,15 +55,6 @@ void main() {
},
]);
final content = _LiveTranscript(rows: rows);
if (_style == 'cupertino') {
runApp(
CupertinoApp(
theme: const CupertinoThemeData(brightness: Brightness.dark),
home: CupertinoPageScaffold(child: SafeArea(child: content)),
),
);
return;
}
runApp(
MaterialApp(
theme: ThemeData(