lambertf917 / lambertf917/cafe-ordering-system-using-react-js

new rider not being able to be added

Open
#220 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
upon adding the website generated an alert saying that there was another rider with the following credentials, where as when i looked in the grid view there was no rider with the same name.

To Reproduce
Steps to reproduce the behavior:

Go to 'riders'
Click on 'add new'
fill details and save
See error
Expected behavior
the rider should have been registered.

Screenshots
image

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Riders page's Add New flow and reproduce the duplicate-credentials alert in Chrome using the steps in the report. Trace the validation that runs when the rider is saved and compare it with the riders shown in the grid; done means a valid new rider can be registered when no matching rider is visible.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.