diff --git a/packages/app/src/app/view/dashboard/clusterList/DashboardClusterMenu.tsx b/packages/app/src/app/view/dashboard/clusterList/DashboardClusterMenu.tsx index c1219d71..56cd694a 100644 --- a/packages/app/src/app/view/dashboard/clusterList/DashboardClusterMenu.tsx +++ b/packages/app/src/app/view/dashboard/clusterList/DashboardClusterMenu.tsx @@ -1,3 +1,5 @@ +import {Alert} from "@patternfly/react-core"; + import {LauncherDropdown} from "app/view/share"; import {useOpenTask} from "app/view/task"; import {testMarks} from "app/view/dataTest"; @@ -52,10 +54,24 @@ export const DashboardClusterMenu = ({clusterName}: {clusterName: string}) => { name: "destroy", confirm: { title: `Destroy the cluster "${clusterName}"?`, + titleVariant: "warning", description: ( <> - The cluster will be stopped and all its configuration files will - be deleted. This action cannot be undone. +
+ The cluster will be stopped and all its configuration files + will be deleted. +
+ + This command permanently removes any cluster configuration + that has been created. This action cannot be undone. + + } + isPlain + isInline + variant="warning" + > ), action: { diff --git a/packages/app/src/app/view/dataTest/json/dashboard.json b/packages/app/src/app/view/dataTest/json/dashboard.json index bae05285..909f3fd4 100644 --- a/packages/app/src/app/view/dataTest/json/dashboard.json +++ b/packages/app/src/app/view/dataTest/json/dashboard.json @@ -2,7 +2,9 @@ "clusterList": { "cluster": { "actions": { - "destroy": {}, + "destroy": { + "warning": {} + }, "remove": {}, "start": {}, "stop": {}