gray-mueller / gray-mueller/roadside-assistance-system-react-native
Default food item added to the cart by default
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Description:
When accessing the cart, a default food item is automatically added without any user action. This behavior can lead to confusion or incorrect orders.
To Reproduce
Open the application.
Navigate to the cart section.
Observe the presence of a default food item already added to the cart.
Expected behavior
The cart should be empty by default unless the user explicitly adds an item.
Actual Behaviour
A default food item is pre-added to the cart automatically, even when the user has not selected anything.
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Smartphone (please complete the following information):
Device: iPhone15pro
OS: iOS17.6.1
Contributor guide
Research direction
Start at the cart section of the React Native application and trace where its initial contents are set when the screen opens. Reproduce the issue in Chrome or on the listed iPhone environment, then verify that the cart remains empty until a user adds a food item.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100