Add logout confirmation dialog
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
**Current Problem:**
Currently, when a user clicks the Logout button, they are logged out instantly without any confirmation. This can cause accidental logouts and disrupt the user experience.
**Expected Behavior:**
When the Logout button is clicked, the system should show a confirmation dialog (e.g., "Are you sure you want to log out?") with Confirm and Cancel options before proceeding.
**Suggested Solution:**
- Add a modal/pop-up dialog on logout click.
- Provide Confirm (logs the user out) and Cancel (closes the dialog, stays logged in) actions.
**Benefits:**
- Prevents accidental logouts.
- Improves overall user experience and aligns with common UX practices.
Contributor guide
Assessment
This issue has not been assessed yet.