Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🍞 feat: Add Toasts for Successful Conversation Deletion (#10661)

Dustin Healy30df16f5b526
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",