lambertf917 / lambertf917/react-native-uber-eats-clone
Lack of Logout Confirmation Prompt
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 5
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the logout flow from the user profile or settings section on iOS and Android, then locate the logout button's implementation. Add a confirmation prompt with “Yes, Log Out” and “Cancel”; done means confirming logs out and cancelling leaves the user signed in on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100