Skip to content

[FEATURE] Add confirmation modal before deleting a chat session #362

@adikulkarni006

Description

@adikulkarni006

Problem
Currently, clicking delete on a session immediately removes it without any confirmation. Users may accidentally delete important conversations.

Expected behavior

  • A confirmation modal appears when user clicks delete.
  • Modal shows: "Are you sure you want to delete session '[session name]'? This action cannot be undone."
  • Buttons: "Cancel" (default) and "Delete" (red/destructive).
  • Only after confirmation, the session is deleted.

Technical hints

  • Frontend: frontend/src/components/Sidebar.jsx – add state for modal, use existing shadcn Dialog component.
  • No backend changes needed (delete endpoint already exists).

Labels: enhancement, good-first-issue, SSoC26

Metadata

Metadata

Labels

EasyBeginner-friendly implementation workSSoC26Part of Social Summer of Code 2026good-first-issueFriendly starter tasks for new contributors

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions