gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js
Favorite Restaurants Displayed as Closed in the Favorites List
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Restaurants added to the "Favorites" list are incorrectly displayed as "Closed" regardless of their actual operational status. This creates confusion for users trying to access their preferred restaurants.
To Reproduce
Steps to reproduce the behavior:
Add a restaurant to the "Favorites" list.
Check the "Favorites" list to view the restaurant details.
Compare the status of the restaurant in the "Favorites" list with its status on the main restaurant list.
Expected behavior
The "Favorites" list should display the correct operational status (e.g., "Open" or "Closed") of the favorite restaurants.
Actual Result:
All restaurants in the "Favorites" list are displayed as "Closed," even when they are open.
Screenshots
ScreenRecording_01-15-2025.12-08-25_1.MP4
Smartphone (please complete the following information):
Device: infinix hot50
Contributor guide
Research direction
Start by locating the Favorites list component and compare how it obtains restaurant status with the main restaurant list. Reproduce the issue by adding an open restaurant to Favorites, then verify that the Favorites list shows the same operational status as the main list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100