lambertf917 / lambertf917/ubereats-clone-app-using-react-native
"tip" functionality redundancy while placing ordering
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the flow from “find restaurants” through “Food Corner-East,” selecting an order and proceeding to tipping. Start at the tipping screen entry point and inspect how the three tip buttons share or apply selection state. Done means only the chosen button appears selected, the duplicate 1% option is removed or corrected, and the default 1% is not treated as user-selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100