gray-mueller / gray-mueller/foodpanda-clone-using-react-native
Edit Button on Cart Page Redirects to Main Screen Instead of Restaurant’s Menu
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
On the cart page in the customer app, when the Edit button is clicked, the app redirects the user to the main screen/home page instead of navigating to the specific restaurant’s menu where the items in the cart were originally selected. This causes confusion and breaks the expected flow of editing an order.
To Reproduce
Steps to reproduce the behavior:
Add items from a specific restaurant to the cart
Go to the cart page
Tap on the Edit button
Observe that the app redirects to the main screen, not the restaurant’s menu
Expected behavior
Clicking the Edit button should take the user directly to the menu of the same restaurant the order belongs to, so they can modify it seamlessly.
Screenshots
Smartphone (please complete the following information):
Device: Samsung A15
OS: Android 14
App Version: [add if known]
Additional context
This is a navigation issue that disrupts the user's ability to efficiently edit their cart items and should be addressed to maintain a smooth ordering experience.
Contributor guide
Research direction
Start at the customer app's cart page and trace the Edit button's navigation handler, then follow how the cart's restaurant is represented. Reproduce the issue on Android 14 with items from one restaurant and verify that Edit opens that restaurant's menu rather than the main screen.
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
- 45/100