lambertf917 / lambertf917/cafe-ordering-system-using-react-js
Duplicate similar addresses added to the Address List
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When adding addresses, the application allows similar or identical addresses to be added to the Address List multiple times, resulting in duplicates.
To Reproduce
Open Hamburger Menu.
Click on 'My Addresses'.
Click on 'Add New Address'
Add new address (e.g., "123 Main Street, New York").
Attempt to add the same or a similar address (e.g., "123 Main St., NY").
Observe the duplicate entry in the Address List.
Expected behavior
The application should prevent similar or identical addresses from being added to the Address List more than once.
Actual Result:
The Address List allows duplicate entries for similar or identical addresses.
Screenshots
IMG_0472
Smartphone (please complete the following information):
Device: iPhone15pro
OS: iOS17.6.1
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
Start from the My Addresses flow reached through the Hamburger Menu, then follow Add New Address and the Address List behavior described in the reproduction steps. Reproduce the issue with identical and similar addresses on the reported iPhone setup, and verify that duplicate entries are prevented without blocking distinct addresses.
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