marthaegrimaldi / marthaegrimaldi/zomato-clone-source-code

Order preparation should stop and status should change to "Picked Order" when rider clicks the "Pick Order" button.

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
bug Enatega Multivendor Customer App Enatega Multivendor Rider App good first issue high priority
Dominant language
JavaScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When the rider clicks on the "Pick Order" button to indicate they are picking up the order, the order preparation should automatically stop, and the status should be updated to "Picked Order." However, currently, the preparation continues, and the order status does not update as expected, leading to an inconsistency between the actual status and what is reflected in the system.

**To Reproduce**

1. A rider clicks on the "Pick Order" button to indicate they are ready to pick up the order.
2. The order preparation should stop, and the order status should be changed to "Picked Order."
3. However, the preparation process continues, and the status of the order is not updated to "Picked Order."

**Expected behavior**
Once the rider clicks the "Pick Order" button, the preparation of the order should cease immediately, and the status should be updated to "Picked Order" in both the rider and customer applications. This would reflect the fact that the order is no longer in preparation but is now being actively handled by the rider.

**Actual Results**
The order preparation continues even after the rider clicks "Pick Order," and the order status does not change to "Picked Order," creating a delay in the system's reflection of the rider's action.

**Smartphone (please complete the following information):**

- Device: iPhone15pro
- OS: [e.g. iOS17.6.1

Contributor guide

Open the contributing guide

Research direction

Start at the rider application's "Pick Order" button and trace the order flow shared with the customer application. Verify that clicking it stops preparation and changes the displayed status to "Picked Order" in both applications. No file or test entry point is identified in the issue, so locate the relevant order-status handling before making changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend-api-design, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.