gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js

Enatega SingleVendor Admin Allowing Gap in Rider Username and Accepting Negative Values in Phone Number Field

Open
#444 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
I have identified two critical issues in the Enatega SingleVendor Admin system within the rider section. Firstly, the system currently allows users to create rider usernames with gaps, potentially leading to confusion and errors. Secondly, the system accepts negative values in the phone number field, which can impact the ability to contact and manage riders effectively.

To Reproduce
Steps to reproduce the behavior:
Issue 1 (Gap in Rider Username):

Log in to the Enatega SingleVendor Admin system.
Navigate to the rider management section.
Create or edit a rider profile.
Attempt to set a username with a gap (e.g., "john doe" instead of "johndoe").
Issue 2 (Negative Value in Phone Number Field):

Log in to the Enatega SingleVendor Admin system.
Navigate to the rider management section.
Create or edit a rider profile.
Attempt to input a negative value in the phone number field.
Expected behavior
Expected Behavior - Issue 1:
The system should validate and restrict users from creating usernames with gaps, ensuring consistency and preventing potential issues with user identification.

Expected Behavior - Issue 1:
The system should validate and restrict users from creating usernames with gaps, ensuring consistency and preventing potential issues with user identification.

Screenshots
image

Desktop:

Browser : chrome
Additional context
Please investigate and address these issues promptly to enhance the reliability and functionality of the Enatega SingleVendor Admin system.

Thank you for your attention to these matters.

Contributor guide

Open the contributing guide

Research direction

Start at the rider management section of the Enatega SingleVendor Admin system and reproduce both cases in the create or edit rider profile flow using Chrome. Trace the username and phone number fields to identify their validation entry points. Done means usernames with spaces and negative phone values are rejected consistently, with the behavior verified for both creation and editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.