From cf6181eb730125209c3231efc9618f0841a6b905 Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Wed, 2 Jul 2025 18:25:49 -0300 Subject: [PATCH 1/2] Improve multi-env error message to show full env name instead of slug --- .../OverviewPage/components/SelectionPanel/SelectionPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx index 1adc59b38..641ec21bc 100644 --- a/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx +++ b/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx @@ -183,7 +183,7 @@ export const SelectionPanel = ({ (result) => result.status === "fulfilled" && result.value.environment === env.slug ) ) - .map((env) => env.slug); + .map((env) => env.name); if (processedEntries === 0) { handlePopUpClose("bulkDeleteEntries"); createNotification({ From 8a65343f79d0142a2d587c582dba35142fd5289c Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Wed, 2 Jul 2025 18:42:02 -0300 Subject: [PATCH 2/2] Add 15 seconds default duration for toast notifications --- frontend/src/components/notifications/Notifications.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/notifications/Notifications.tsx b/frontend/src/components/notifications/Notifications.tsx index 0b3a8d038..22f47fa17 100644 --- a/frontend/src/components/notifications/Notifications.tsx +++ b/frontend/src/components/notifications/Notifications.tsx @@ -65,6 +65,7 @@ export const createNotification = ( toast(, { position: "bottom-right", ...toastProps, + autoClose: toastProps.autoClose || 15000, theme: "dark", type: myProps?.type || "info" });