hector-jewell / hector-jewell/uber-eats-clone-using-react-native

Rejected Orders from the Restaurant application are not displayed in the customer application.

Open
#941 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When an order is rejected by the restaurant, it disappears from the customer app without being recorded in the "My Orders" list or providing any notification to the customer.

To Reproduce

Place an order through the customer application.
Reject the order from the restaurant application.
Check for notifications or updates in the customer application.
Check the "My Orders" list in the customer application.
Observed Behavior
The rejected order disappears entirely from the app without any history or notification to the customer.

Expected behavior

The rejected order should appear in the "My Orders" list under a "Canceled" or "Rejected" section.
The customer should receive a notification about the rejection with a reason provided (if available).
Example notification: "Your order has been rejected by the restaurant due to [reason]. The order has been moved to your order history under 'Canceled Orders.' Please place a new order or contact support for assistance."
Smartphone (please complete the following information):

Device: iPhone15pro
OS: iOS17.6.1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the flow across the customer and restaurant applications, then trace how rejected orders are handled before reaching the customer app, the My Orders list, and notifications. Done means rejected orders remain visible in order history and the customer receives a rejection notification with a reason when available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.