hector-jewell / hector-jewell/uber-eats-clone-using-react-native
Unable to Set Tip to 0 in Tipping Section of Admin Dashboard
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Description:
In the Enatega admin dashboard, there is an issue where the tipping section does not allow the tip amount to be set to 0. This limitation can be problematic for users who wish to disable tipping for certain orders or periods.
Steps to Reproduce:
1- Log in to the Enatega admin dashboard.
2- Navigate to the Tipping section.
3- Attempt to set the tip amount to 0.
4- Observe that the system does not accept 0 as a valid input for the tip amount.
Expected Behavior:
The system should allow administrators to set the tip amount to 0 to provide flexibility in managing tipping policies.
Actual Behavior:
The system does not accept 0 as a valid tip amount, preventing administrators from disabling tipping.
Impact:
This issue limits the flexibility of administrators in managing tipping options, potentially leading to unwanted tip amounts being added to orders.
Additional Information:
(https://github.com/user-attachments/assets/b5743de9-bf9f-4475-99c1-adbe5b807e55)
Priority: High
Contributor guide
Research direction
Start by locating the Enatega admin dashboard's Tipping section and the validation that rejects a tip amount of 0. Reproduce the issue using the listed steps, then verify that administrators can save 0 without invalid-input behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100