gray-mueller / gray-mueller/deliveroo-clone-app-using-react-js

Order Status Displays Incorrectly for New Orders

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

Description

Describe the bug
When placing a new order, the system incorrectly displays the status of a previously placed order. For example, even when the current order is accepted, it displays the status of the previous order, such as "Cancelled."

To Reproduce
Steps to reproduce the behavior:

Place an order and cancel it.
Place a new order and accept it.
Check the status of the newly placed order.
Expected behavior
The status of the new order should reflect its correct state, such as "Accepted."

Screenshots

ScreenRecording_01-15-2025.11-16-27_1.MP4
Smartphone (please complete the following information):

Device: Infinix hot50

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the order sequence on the smartphone setup described: cancel one order, accept a new order, and inspect the displayed status. Trace the order-status display and state handling from the relevant frontend entry point; done means the new order shows its own current status rather than the previous order's status.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.