-
Notifications
You must be signed in to change notification settings - Fork 51
Description
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:
- Users can accidentally log out with a single tap.
- 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