marthaegrimaldi / marthaegrimaldi/zomato-clone-source-code
"tip" functionality redundancy while placing ordering
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
the same value as "1%" is presented on order list and only the first button is functional and not the other two, moreover 1percent tip is set by default and not selected by user. upon selection of the first button all 3 are selected.
To Reproduce
Steps to reproduce the behavior:
Go to 'find restaurants'
Click on 'Food Corner-East'
Select your order
Proceed to tipping.
Expected behavior
only selected buttons should be visible as selected, and only one should be selected
Screenshot 2024-03-08 172831
image
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)
Contributor guide
Research direction
Reproduce the issue by opening “find restaurants,” choosing “Food Corner-East,” selecting an order, and proceeding to tipping in Chrome on Windows. Inspect the tipping and order-list UI involved in that flow; done means only the selected tip button appears selected, the default 1% tip is not incorrectly selected, and each button behaves independently.
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
- 45/100