gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js

Active Orders Display Previously Placed Orders Instead of Current Ones

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

Description

Describe the bug
The "Active Orders" section incorrectly displays details of a previously placed order instead of showing the most recent order. This causes confusion and prevents users from tracking their current order accurately.
To Reproduce
Steps to reproduce the behavior:

Place an order and ensure it appears in the "Active Orders" section.
Place a second order.
Navigate to the "Active Orders" section to view the displayed orders.
Expected behavior
The "Active Orders" section should display the most recently placed order along with any other active orders.

Screenshots

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

Device: Infinix hot50

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through the Active Orders section: place two orders and compare the displayed order with the most recent one. Trace the Active Orders UI to find where displayed orders are selected, and consider the work done when the section shows the newest order and any other active orders.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.