lambertf917 / lambertf917/react-native-uber-eats-clone
Logout Action Does Not Ask for Confirmation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a user clicks on the Logout button on the Enatega site, they are logged out immediately without any confirmation prompt. This can cause accidental logouts if the button is clicked unintentionally.
To Reproduce
Steps to reproduce the behavior:
Log in to the Enatega site.
Navigate to Profile → Settings.
Click on the Logout button.
Observe that the logout happens immediately with no confirmation.
Expected behavior
A confirmation dialog should appear when the Logout button is clicked, asking the user:
"Are you sure you want to logout?"
with options like Yes/Logout and Cancel.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Labels: Enatega Website, Bug
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 locating the Logout button in the Profile → Settings screen and reproduce the immediate logout behavior on the Enatega site. Add a confirmation step with the requested logout and cancel choices; done means clicking Logout asks for confirmation and cancel prevents logout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100