From 772d0d6411edf2dfde3ba0abbf75337b8a838f55 Mon Sep 17 00:00:00 2001 From: David Liu <48995019+dliu27@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:20:57 -0500 Subject: [PATCH] [2/n] [RFC] add 'Launch all' button on sensor/schedule evaluation result modals (#25323) ## Summary & Motivation Linear: https://linear.app/dagster-labs/issue/FE-627/add-launch-all-frontend Add "Launch all" button to these evaluation result modals ![image](https://github.com/user-attachments/assets/f9af2a71-4915-4d08-84d0-806fdd5d0f97) ![image](https://github.com/user-attachments/assets/e9e9eac0-01d9-41dd-8723-5f48d4656363) ## How I Tested These Changes Tested locally --- .../packages/ui-core/src/ticks/EvaluateScheduleDialog.tsx | 7 ++++++- .../packages/ui-core/src/ticks/SensorDryRunDialog.tsx | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateScheduleDialog.tsx b/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateScheduleDialog.tsx index 5509208e5d6f4..b8249d6a81275 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateScheduleDialog.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateScheduleDialog.tsx @@ -182,7 +182,12 @@ const EvaluateSchedule = ({repoAddress, name, onClose, jobName}: Props) => { ); } else { - return ; + return ( + <> + + + + ); } }, [onClose, shouldEvaluate]); diff --git a/js_modules/dagster-ui/packages/ui-core/src/ticks/SensorDryRunDialog.tsx b/js_modules/dagster-ui/packages/ui-core/src/ticks/SensorDryRunDialog.tsx index b955dde5a967c..0af78ed4cea37 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/ticks/SensorDryRunDialog.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/ticks/SensorDryRunDialog.tsx @@ -124,6 +124,7 @@ const SensorDryRun = ({repoAddress, name, currentCursor, onClose, jobName}: Prop if (sensorExecutionData || error) { return ( +