gray-mueller / gray-mueller/full-stack-document-solution
Order preparation should stop and status should change to "Picked Order" when rider clicks the "Pick Order" button.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
A rider clicks on the "Pick Order" button to indicate they are ready to pick up the order.
The order preparation should stop, and the order status should be changed to "Picked Order."
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
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by tracing the "Pick Order" button flow in the rider application and the order-status handling shared with the customer application. Reproduce the action on an order and verify that preparation stops and both applications show "Picked Order"; the issue does not name specific files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- full-stack
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100