gray-mueller / gray-mueller/restaurant-delivery-platform-using-react-js
Negative Commission Rates Accepted
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
An issue has been identified in the Multivendor Admin Dashboard where the commission rates for vendors are accepting negative values.
To Reproduce
Steps to reproduce the behavior:
Log in to the Multivendor Admin Dashboard.
Navigate to the section where commission rates for vendors are configured.
Attempt to set a negative value for the commission rate.
Expected behavior
The system should prevent users from entering or saving negative values for commission rates, as negative rates are not valid in this context.
Screenshots
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/152266796/1cbcd911-8f36-43bc-8de1-8498ea3b5a78
Desktop:
Browser: chrome
Contributor guide
Research direction
Start by reproducing the issue in the Multivendor Admin Dashboard and locate the form where vendor commission rates are configured. Verify the current behavior with a negative value, then confirm that negative rates are rejected or cannot be saved and retest the same flow in Chrome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100