From 224b167000a54f63af6abdd5631148927dad8236 Mon Sep 17 00:00:00 2001 From: carlosmonastyrski Date: Fri, 4 Apr 2025 11:22:45 -0300 Subject: [PATCH] Improve delete referenced secret warning message --- .../SecretListView/SecretDeletionImpact.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDeletionImpact.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDeletionImpact.tsx index c31a2d4c6..6c65950ac 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDeletionImpact.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDeletionImpact.tsx @@ -110,10 +110,19 @@ export const SecretDeletionImpact: React.FC = ({ impo
-

- Warning: This secret is currently being imported by another folder, so deletion will - affect both locations. -

+
+

+ Warning: This secret is imported by another folder +

+
    +
  • Deleting will remove it from all locations where it's imported
  • +
  • + Any dependent secrets will display their reference syntax (like{" "} + {"{env.secretPath.key}"}) instead of actual values +
  • +
  • Dependent secrets themselves will not be automatically deleted
  • +
+