gray-mueller / gray-mueller/courier-ordering-web-application
Duplicate similar addresses added to the Address List
- 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
Research direction
Start by locating the My Addresses and Add New Address flow in the TypeScript application and reproduce the duplicate behavior on iPhone or an equivalent environment. Determine how addresses are stored and compared, then clarify what counts as "similar" before changing behavior. Done means duplicate entries are prevented and the existing address-list behavior remains covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100