Skip to content

feat: add delete dialog to chat history - #3939

Open
ekim1707 wants to merge 1 commit into
devfrom
2145-add-delete-dialogues
Open

ekim1707 wants to merge 1 commit into
devfrom
2145-add-delete-dialogues

Conversation

@ekim1707

@ekim1707 ekim1707 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Description

Previously, clicking "Delete" in the chat history sidebar's 3-dots menu would immediately delete the room with no warning. This PR adds an "Are you sure?" confirmation dialog consistent with other delete flows in the app.

Changes

global-nav.tsx — Delete menu item now sets deleteRoomId state instead of immediately deleting.
sidebar.json (7 locales: en, es, fr, ar, hi, ja, nl) — Added deleteConfirm.title, deleteConfirm.description, deleteConfirm.cancel, and deleteConfirm.confirm keys.

Test

Click Delete on a chat room in the sidebar — confirm the dialog appears with the room name
Click Cancel — confirm no deletion occurs and the dialog closes
Click Delete in the dialog — confirm the room is removed and a success toast appears
With the active room open, delete it — confirm navigation redirects to /
Switch language to Spanish (or another supported locale) — confirm the dialog renders in that language

Uploading Screenshot 2026-11-25 at 11.01.00 AM.png…

@ekim1707
ekim1707 requested a review from kzsb03 November 25, 2026 15:36
@ekim1707
ekim1707 requested a review from a team as a code owner November 25, 2026 15:36
@snyk-io

snyk-io Bot commented Nov 25, 2026

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant