Remove Cupertino remnants from runs and pipelines
Keep the assigned runs and pipelines UI Material-only by removing alternate icons, host branches, and Cupertino color usage while preserving compatibility parameters needed by other callers. Update mirrored tests and record focused verification for the cleanup.
This commit is contained in:
@@ -62,8 +62,7 @@ class _HumanDecisionActionState extends State<HumanDecisionAction> {
|
||||
context: context,
|
||||
run: widget.run,
|
||||
gateway: widget.gateway,
|
||||
cupertino: widget.cupertino ?? false,
|
||||
onRunChanged: _acceptRun,
|
||||
onRunChanged: _acceptRun,
|
||||
isCurrent: () => _owns(decision.runId),
|
||||
);
|
||||
} finally {
|
||||
@@ -104,7 +103,7 @@ Future<void> showRunDecisionPrompt({
|
||||
required JsonMap run,
|
||||
required ApiGateway gateway,
|
||||
required ValueChanged<JsonMap> onRunChanged,
|
||||
required bool cupertino,
|
||||
bool? cupertino,
|
||||
bool Function()? isCurrent,
|
||||
}) async {
|
||||
final decision = pendingDecision(run);
|
||||
@@ -118,7 +117,6 @@ Future<void> showRunDecisionPrompt({
|
||||
await showHumanDecisionPrompt(
|
||||
context: context,
|
||||
decision: decision,
|
||||
cupertino: cupertino,
|
||||
onSubmit: submission.submit,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ typedef DecisionSubmit = Future<ActionRefusal?> Function(DecisionDraft draft);
|
||||
Future<void> showHumanDecisionPrompt({
|
||||
required BuildContext context,
|
||||
required PendingDecision decision,
|
||||
required bool cupertino,
|
||||
bool? cupertino,
|
||||
required DecisionSubmit onSubmit,
|
||||
}) {
|
||||
final prompt = _DecisionPrompt(decision: decision, onSubmit: onSubmit);
|
||||
|
||||
Reference in New Issue
Block a user