ayush585 / ayush585/edgex

Add logout confirmation dialog

Open
#71 5 comments 0 reactions 1 assignee Claimed by @umaima06 View on GitHub
bug enhancement GSSoC 25 level 3
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.