Margaret-Petersen / Margaret-Petersen/uber-eats-clone-android

Restaurants and Stores Not Being Added to Favorites in Web App

Open
#784 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
In the Enatega web app, when users attempt to add a restaurant or store to their favorites list, the action does not work. Clicking the favorite (heart) icon has no effect—the item is not added to the favorites section, and no visual confirmation or feedback is shown.

To Reproduce
Steps to reproduce the behavior:

Log in to the Enatega web app
Browse to any restaurant or store
Click the favorite (heart) icon
Observe that the item is not added to the favorites list
Expected behavior
Clicking the favorite icon should immediately add the selected store or restaurant to the user's favorites list, with appropriate UI feedback (e.g., filled heart icon, success message).

Screenshots
Please insert screenshot or screen recording if available.

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Additional context
This issue could be due to a missing API call, failure in updating the database, or incorrect state management in the front-end. It affects user personalization and convenience.

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 by reproducing the issue in the Enatega web app: log in, open a restaurant or store, and click its heart icon. Trace the favorite action from that icon through the frontend and verify that the item is added to the favorites list with visible feedback and remains available there.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.