gray-mueller / gray-mueller/restaurant-delivery-platform-using-react-js
Enatega Customer App: Edit Order in Cart Redirects to Discovery Screen Instead of Original Store
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a user attempts to edit an item from their cart, the app incorrectly redirects them to the Discovery screen rather than the store page from which the order was originally placed. This disrupts the editing flow, confuses users, and makes it difficult for them to make changes to their selected items.
Steps to Reproduce:
Add an item from a specific store to the cart.
Go to the cart and click on Edit for any item.
Observe that the app redirects to the Discovery screen instead of taking the user back to the original store.
Expected behavior
Clicking "Edit" on a cart item should take the user directly to the original store's page, with the ability to modify the selected item.
Smartphone (please complete the following information):
Device: [e.g. Infinix HOT 50]
OS: [e.g. Android ]
Browser [e.g. Application]
Version [e.g. Latest]
Contributor guide
Research direction
Start by tracing the cart item's Edit action and the navigation path that currently leads to the Discovery screen. Compare it with the store-page entry point used when opening the original store. Done means Edit returns the user to that store and preserves the ability to modify the selected item.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100