Skip to content

FEATURE REQUEST: Add Confirmation Dialog and Non-Blocking Loader #100

@dhruvi-16-me

Description

@dhruvi-16-me

Is your feature request related to a problem?

  • Yes, it is related to a problem

Describe the feature you'd like

🌟 Feature Description

Improve the logout user experience on the Profile screen by adding a confirmation dialog and replacing the full-screen loading state with a non-blocking modal loader.

This enhancement ensures users do not accidentally log out and are not stuck if the logout request is slow or network fails.

🔍 Problem Statement

Currently, tapping the Logout button logs the user out immediately without any confirmation. Additionally, the logout process uses a loading state that blocks the entire screen.

This causes two UX issues:

  1. Users can accidentally log out with a single tap.
  2. If the logout request hangs or fails, the user has no control and is stuck on a loading screen.

🎯 Expected Outcome

Show a confirmation dialog before logging out, with Cancel and Logout actions.
Proceed with logout only after user confirmation.
Display a modal loading indicator during logout instead of blocking the entire screen.
Ensure the user is never stuck and can retry if logout fails.

📷 Screenshots of problem

WhatsApp.Video.2025-12-28.at.6.25.26.PM.mp4

📋 Additional Context

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on implementing this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions