Skip to content

Add logout confirmation dialog #112

@umaima06

Description

@umaima06

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions