From 30df16f5b52645631c4d2b8242d2dabea172d105 Mon Sep 17 00:00:00 2001 From: Dustin Healy <54083382+dustinhealy@users.noreply.github.com> Date: Tue, 25 Nov 2025 14:02:01 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=9E=20feat:=20Add=20Toasts=20for=20Suc?= =?UTF-8?q?cessful=20Conversation=20Deletion=20(#10661)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add toasts for succesful conversation deletion * chore: address copilot comments --- .../components/Conversations/ConvoOptions/DeleteButton.tsx | 5 +++++ .../Nav/SettingsTabs/General/ArchivedChatsTable.tsx | 5 +++++ client/src/locales/en/translation.json | 1 + 3 files changed, 11 insertions(+) diff --git a/client/src/components/Conversations/ConvoOptions/DeleteButton.tsx b/client/src/components/Conversations/ConvoOptions/DeleteButton.tsx index 185556ab72..d0de38175e 100644 --- a/client/src/components/Conversations/ConvoOptions/DeleteButton.tsx +++ b/client/src/components/Conversations/ConvoOptions/DeleteButton.tsx @@ -55,6 +55,11 @@ export function DeleteConversationDialog({ } setMenuOpen?.(false); retainView(); + showToast({ + message: localize('com_ui_convo_delete_success'), + severity: NotificationSeverity.SUCCESS, + showIcon: true, + }); }, onError: () => { showToast({ diff --git a/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx b/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx index ad79aed383..ebea2ea0bf 100644 --- a/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx +++ b/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx @@ -93,6 +93,11 @@ export default function ArchivedChatsTable({ onSuccess: async () => { setIsDeleteOpen(false); await refetch(); + showToast({ + message: localize('com_ui_convo_delete_success'), + severity: NotificationSeverity.SUCCESS, + showIcon: true, + }); }, onError: (error: unknown) => { showToast({ diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json index f7d1152334..a82e931072 100644 --- a/client/src/locales/en/translation.json +++ b/client/src/locales/en/translation.json @@ -799,6 +799,7 @@ "com_ui_continue_oauth": "Continue with OAuth", "com_ui_controls": "Controls", "com_ui_convo_delete_error": "Failed to delete conversation", + "com_ui_convo_delete_success": "Conversation successfully deleted", "com_ui_copied": "Copied!", "com_ui_copied_to_clipboard": "Copied to clipboard", "com_ui_copy_code": "Copy code",