lambertf917 / lambertf917/document-delivery-app-react
Order Status Displays Incorrectly for New Orders
Nobody has claimed this yet.
- Dominant language
- TypeScript
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the order-status display and the state used when a new order is created after a cancellation. Reproduce the reported sequence on an Infinix hot50 or an equivalent environment, then verify that the new order shows its own status, such as "Accepted," rather than the previous order's status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100