marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code
Cancelled Orders are not being displayed in the past orders list History
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
**Bug Description**
Cancelled orders are not being displayed in the "Past Orders" history list within the application.
**To Reproduce**
1. Place an order through the application.
2. Cancel the order from either the customer or restaurant side.
3. Navigate to the "Past Orders" or "Order History" section.
**Expected behavior**
1. Cancelled orders should appear in the "Past Orders" list or a dedicated "Cancelled Orders" section within the order history.
2. Each cancelled order entry should include details such as:
- Order ID
- Date and time of cancellation
- Reason for cancellation (if provided)
**Smartphone (please complete the following information):**
- Device: iPhone15pro
- OS: iOS17.6.1
**Proposed Solution:**
**Add Cancelled Orders to History:**
1. Update the logic to ensure cancelled orders are logged in the "Past Orders" section or a new "Cancelled Orders" tab.
**Provide Order Details:**
1. Include necessary details like order ID, cancellation date, and reason for cancellation.
**Improve UX:**
- Allow customers to view the status and cancellation details for clarity and better user experience.
Contributor guide
Research direction
Start at the application's Past Orders or Order History entry point and trace how cancelled orders are filtered or rendered. Reproduce a customer- or restaurant-cancelled order, then verify that the history shows the order ID, cancellation date, and available reason with its cancelled status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100