gray-mueller / gray-mueller/home-delivery-app-using-node-js
Enatega Customer Application : Remove Rating Option for Cancelled Orders by the restaurants.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
If an order has been cancelled, there should not be an option to rate the food, order, or restaurant. Allowing ratings for cancelled orders can lead to inaccurate feedback and confusion. The rating option should be disabled for cancelled orders.
To Reproduce
Steps to reproduce the behavior:
Go to 'Enatega Customer Application'
Click on 'Profile' menu button and go to Order History option.
See error there that the orders which are cancelled by the restaurant , are still allowing the user to review that orders.
Expected behavior
The rating option should not be available for orders canceled by the restaurant.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Device: [e.g. Infinix Hot 50]
OS: [e.g. Android]
Browser [e.g. ,Application]
Version [e.g. 14]
Contributor guide
Research direction
Start in the Enatega Customer Application at Profile > Order History and reproduce the rating option on an order cancelled by a restaurant. Trace where rating or review availability is determined for order status, then verify that cancelled orders no longer offer rating for the food, order, or restaurant.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100