marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native

Favorite Restaurants Displayed as Closed in the Favorites List

Open
#729 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Favorites list and compare how restaurant status is obtained there with the main restaurant list. Reproduce the issue by adding a restaurant to Favorites and checking both lists, then verify that the Favorites entry shows the same operational status as the main list.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.