gray-mueller / gray-mueller/restaurant-delivery-platform-using-react-js

Vendor Page Store Counter Does Not Increment Beyond 100

Open
#25 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
On the admin dashboard's "Vendor" page, while adding a new store, the store count does not increment beyond 100. This prevents vendors from registering more than 100 stores, even if the system should allow it.

To Reproduce
Steps to reproduce the behavior:

Go to the "Vendor" page in the admin dashboard.

Attempt to add stores until the count reaches 100.

Try adding the 101st store.

Observe that the counter does not increase and the store is not added.

Expected behavior
The system should allow vendors to add more than 100 stores if there is no set limit, or at the very least, display a clear message if a limit is intentionally enforced.

Screenshots

Image

Desktop (please complete the following information):

OS: [e.g., Windows 10]

Browser: [e.g., Chrome]

Version: [e.g., 112]

Additional context
There is no visible warning or error indicating that the limit has been reached. This may be a front-end limitation or a hardcoded cap that needs to be reviewed or adjusted.

Contributor guide

Open the contributing guide

Research direction

Start at the admin dashboard's Vendor page and reproduce the counter behavior when adding the 101st store. Inspect the frontend counter and store-addition flow for a 100-store cap; done means stores beyond 100 are accepted when no limit is intended, or a clear limit message is shown when it is enforced.

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.