gray-mueller / gray-mueller/online-ordering-and-delivery-system-using-python
Favorite button requires multiple clicks to work and is non-functional in restaurant details view
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the Enatega Multivendor app, the Favorite button to add or remove a restaurant from favorites does not work properly. On the first click, the action is not performed, and it only works after the second or third click. Additionally, when opening the restaurant details page, the Favorite button is completely non-functional.
To Reproduce
Steps to reproduce the behavior:
Go to the restaurant list page.
Try to add a restaurant to favorites by clicking the Favorite (heart) icon.
Observe that it doesn’t add on the first click and may take 2–3 clicks to work.
Try to remove it from favorites — the same issue occurs.
Open the restaurant’s details page.
Attempt to add or remove from favorites.
Expected behavior
The Favorite button should work instantly on the first click in both the restaurant list and details view.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Labels: Enatega Multivendor Customer App, Bug
Contributor guide
Research direction
Start by reproducing the Favorite button behavior on the restaurant list page and restaurant details page, checking both add and remove actions. Trace the shared Favorite button entry point from those views and verify that each action completes on the first click in both locations.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100