marthaegrimaldi / marthaegrimaldi/meal-ordering-app-using-react-native

Favorite button in store details is unresponsive and does not reflect favorite status in Enatega app

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The favorite button inside the store details page in the Enatega application does not respond to clicks as expected. When tapped, it neither changes its color nor displays a confirmation message indicating the store has been added to the favorites list.

To Reproduce
Steps to reproduce the behavior:

Open the Enatega app on an Android device.
Navigate to any store’s detail page.
Tap the favorite (heart) button.
Observe that the button does not change color or provide any visual or textual feedback.
Expected behavior
Clicking the favorite button should toggle its state (e.g., change color to indicate selection) and optionally display a message such as "Store added to favorites" or "Removed from favorites."

Screenshots

XRecorder_20250505_01.mp4
Smartphone (please complete the following information):

Device: Samsung A15

OS: Android

Additional context
This might be due to a missing state update or UI feedback logic not being triggered upon click. It affects user experience by giving no indication that the action has been completed.

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 on an Android device from a store detail page and locate the favorite button's click handling and state update logic. Verify the behavior for both adding and removing a favorite; done means tapping the heart changes its visual state and provides the expected feedback.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.