marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native
Enatega Customer Application: Cart Already Showing Items in it When Logging in as a New User.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a new user logs into the app for the first time, the cart is already displaying two items that were not added by the user. This causes confusion and could lead to incorrect orders being placed.
To Reproduce
Steps to reproduce the behavior:
Create a new user account.
Log in using the newly created credentials.
Navigate to the cart section.
Observe that two items are already present in the cart.
Expected behavior
The cart should be empty for a newly created user unless items were intentionally preloaded by design.
Smartphone (please complete the following information):
Device: [e.g. Iphone 12]
OS: [e.g. iOS]
Browser [e.g. Application]
Version [e.g. Latest]
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 issue with a newly created account, then trace the login flow and cart section to find where the initial items are introduced. Done means a first-time user sees an empty cart unless items were intentionally preloaded, with the reproduction steps no longer showing two unexpected items.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100