diff --git a/.features/pending/14679-cronworkflow-delete-warning.md b/.features/pending/14679-cronworkflow-delete-warning.md new file mode 100644 index 000000000000..cd04bdf472db --- /dev/null +++ b/.features/pending/14679-cronworkflow-delete-warning.md @@ -0,0 +1,7 @@ +Component: UI +Issues: 14679 +Description: Add an informational message to the CronWorkflow delete confirmation modal indicating that Workflows created by the CronSchedule will also be deleted. +Author: [minsun yun](https://github.com/miinsun) + +- UI/UX only; **no functional logic** is changed. +- Verified manually by deleting a CronWorkflow in the Workflows UI and confirming the message renders correctly. diff --git a/ui/src/cron-workflows/cron-workflow-details.tsx b/ui/src/cron-workflows/cron-workflow-details.tsx index 0d155cdcae52..5b42bb0fb34c 100644 --- a/ui/src/cron-workflows/cron-workflow-details.tsx +++ b/ui/src/cron-workflows/cron-workflow-details.tsx @@ -152,7 +152,7 @@ export function CronWorkflowDetails({match, location, history}: RouteComponentPr iconClassName: 'fa fa-trash', disabled: edited, action: () => { - popup.confirm('confirm', 'Are you sure you want to delete this cron workflow?').then(yes => { + popup.confirm('confirm', 'Are you sure you want to delete this cron workflow? (This also deletes all Workflows it spawned)').then(yes => { if (yes) { services.cronWorkflows .delete(name, namespace)