gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js
"Order Cancelled" pop-up disappears quickly; should include explicit acknowledgment button
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a user cancels an order, the "Order has been cancelled" pop-up appears but only remains visible for about a second before automatically disappearing. To improve user experience and ensure the message is properly acknowledged, the pop-up should include an explicit button such as "OK" or a back button, requiring user interaction to dismiss.
To Reproduce
Steps to reproduce the behavior:
Place an order through the app.
Cancel the order before it is delivered or assigned.
Observe the "Order has been cancelled" pop-up that appears.
Notice that it disappears quickly without user interaction.
Expected behavior
The pop-up should include an acknowledgment button ("OK" or "Back") that the user must tap to dismiss, ensuring they see and acknowledge the cancellation message.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Labels: Enatega Multivendor Customer App, Bug
Contributor guide
Research direction
Start with the listed reproduction steps in the app: place an order, cancel it before delivery or assignment, and observe the cancellation pop-up. Done means the message remains visible until the user taps an explicit acknowledgment control such as “OK” or “Back,” rather than disappearing automatically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100