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
Problem
Currently, clicking delete on a session immediately removes it without any confirmation. Users may accidentally delete important conversations.
Expected behavior
Technical hints
frontend/src/components/Sidebar.jsx– add state for modal, use existing shadcnDialogcomponent.Labels:
enhancement,good-first-issue,SSoC26