gray-mueller / gray-mueller/restaurant-delivery-platform-using-react-js
Enatega Website: Placing an order on a store throws validation message that "Restaurant is not available right now"
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When placing an order on a store, it throws a validation message that "Restaurant is not available right now"
To Reproduce
Steps to reproduce the behavior:
Add an item to the cart from store.
Go to the checkout page.
Click on "Click to order".
observe that it throws validation message that "Restaurant is not available right now "
*Expected behavior
Validation message should not be shown until the restaurant is not closed.
Desktop (please complete the following information):
OS: [Windows]
Browser [chrome]
Labels: Enatega Website, Bug
Contributor guide
Research direction
Start by reproducing the issue through the store cart and checkout page in Chrome on Windows, then inspect the checkout order-submission flow and its restaurant-availability validation. Done means an order from an open restaurant is not blocked by the "Restaurant is not available right now" message, while the validation remains appropriate for a closed restaurant.
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
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100