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

Duplicate similar addresses added to the Address List

Open
#191 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
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.