Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native
Enatega Customer App: Once Pickup-Order is accepted from restaurant, user should not be allowed to Cancel that order
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Users are able to cancel a Pickup Order even after the restaurant has accepted it. Once the restaurant confirms the order, the cancellation option should be disabled to prevent disruptions.
To Reproduce
Steps to reproduce the behavior:
Place a Pickup Order through the system.
Wait for the restaurant to accept the order.
Go to the order details page.
Attempt to cancel the order.
Expected behavior
Once the restaurant accepts a Pickup Order, the "Cancel" option should be disabled, preventing users from canceling.
Smartphone (please complete the following information):
Device: [All Devices ]
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 in the customer app's order details page and reproduce the pickup-order flow described in the issue. Trace the cancellation control after restaurant acceptance; done means the Cancel option is disabled once the restaurant has accepted the order, while remaining available before acceptance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100