gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js

Vendor Page Store Counter Does Not Increment Beyond 100

Open
#43 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 trace the store-creation and store-count logic while reproducing the failure at the 101st store. Determine whether the limit is intentional; done means stores can exceed 100 when allowed, or the UI clearly reports an enforced limit.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.