Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Restaurants and Stores Not Being Added to Favorites in Web App #773

@waleedahmedhere

Description

@waleedahmedhere

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions