gray-mueller / gray-mueller/ride-management-system-react-native

Lack of Logout Confirmation Prompt

Open Beginner friendly
#200 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
In the Enatega Multivendor Rider App, there is an issue with the logout functionality where clicking the logout button directly logs out the user without providing a confirmation prompt. This lack of a warning can lead to accidental logouts and disrupt the user experience.

To Reproduce
Steps to reproduce the behavior:

Open the Enatega Multivendor Rider App.
Navigate to the user profile or settings section.
Locate the logout button.
Click on the logout button.
Expected behavior

Upon clicking on the logout button, a confirmation prompt should appear, asking the user to confirm whether they are sure they want to log out.
The confirmation prompt should include options such as "Yes, Log Out" and "Cancel" to allow the user to proceed with the logout or cancel the action if it was accidental.
Screenshots

screen-20240306-154732.2.mp4
Smartphone:

Device: iOS and android

Contributor guide

Open the contributing guide

Research direction

Start by running the Enatega Multivendor Rider App on iOS or Android and navigating to the user profile or settings section. Reproduce the direct logout behavior, then add the requested confirmation flow with “Yes, Log Out” and “Cancel” options. Done means logout requires confirmation and cancellation leaves the user signed in.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
authentication, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.