gray-mueller / gray-mueller/restaurant-ordering-system-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
No files or tests are named in the issue. Reproduce the problem by editing an item from the cart, then trace the customer app's cart Edit flow to find why it opens Discovery; done means Edit opens the item's original store page and still allows the item to be modified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100