Remove Cupertino UI branches from shared primitives

Keep the existing Material rendering, semantics, and interaction paths while removing obsolete Cupertino imports, alternate widgets, and dynamic-color dependencies. Record focused verification and remaining fixture limitations for final integration.
This commit is contained in:
2026-11-11 20:05:58 +00:00
parent 3f05421e8b
commit 5c80f75211
19 changed files with 78 additions and 210 deletions
@@ -1,4 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pipelines_app/features/graph/domain/run_graph_state.dart';
import 'package:pipelines_app/features/graph/widgets/graph_stage_node.dart';
@@ -26,8 +26,9 @@ void main() {
expect(graphStatusState('running · 2m'), 'running');
expect(graphStatusState('waiting'), 'waiting');
expect(graphStatusState('mystery'), 'unknown');
expect(runStatusColor('succeeded'), CupertinoColors.systemGreen);
expect(runStatusColor('waiting'), CupertinoColors.systemYellow);
expect(runStatusColor('canceled'), CupertinoColors.systemGrey);
const scheme = ColorScheme.light();
expect(runStatusColor('succeeded', scheme), scheme.tertiary);
expect(runStatusColor('waiting', scheme), scheme.secondary);
expect(runStatusColor('canceled', scheme), scheme.onSurfaceVariant);
});
}