marthaegrimaldi / marthaegrimaldi/restaurant-ordering-platform-with-source-code
Favorite button in store details is unresponsive and does not reflect favorite status in Enatega app
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- 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
Research direction
No file or test is named. Reproduce the issue on an Android device from a store details page, then trace the favorite button's click handler and state update. Done means tapping the button visibly toggles favorite status and provides the expected feedback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100