Files
pipelines/app/tool/chat_activity_dots_probe.dart
T
alan 13a5e1dee0 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.
2026-11-11 20:08:06 +00:00

29 lines
833 B
Dart

import 'package:flutter/material.dart';
import 'package:pipelines_app/features/chat/ui/transcript/chat_turn_activity_view.dart';
/// Visual check for the streaming activity line: the pending dots beside
/// "Responding Ns" at a few text sizes, in light and dark.
void main() {
Widget line(double scale) => MediaQuery.withClampedTextScaling(
minScaleFactor: scale,
maxScaleFactor: scale,
child: const Padding(
padding: EdgeInsets.all(8),
child: ChatTurnActivityView(
parts: [
{'type': 'text', 'text': 'Partial answer'},
],
streaming: true,
),
),
);
final body = ListView(children: [line(1), line(1.5), line(2)]);
runApp(
MaterialApp(
theme: ThemeData(brightness: Brightness.dark),
home: Scaffold(body: SafeArea(child: body)),
),
);
}