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

Store list on admin store page takes a long time to load

Open
#77 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
The store list on the store page in the admin panel takes an unusually long time to load. This affects user experience and slows down admin operations.

To Reproduce
Steps to reproduce the behavior:

Log in to the admin panel

Navigate to the Store page

Wait for the list of stores to load

Notice the extended loading time (can take several seconds or more)

Expected behavior
The store list should load promptly within a reasonable time (1–2 seconds maximum).

Screenshots
If applicable, add a screenshot or video showing the loading state or spinner.

Desktop (please complete the following information):

OS: [e.g. Windows 11]

Browser: [e.g. Chrome]

Version: [e.g. 124.0.6367.91]

Smartphone (please complete the following information):

Device: Samsung Galaxy A15 (for cross-check, if mobile tested)

OS: Android

Browser: Chrome

Version: Latest

Device (for comparison): iPhone 13 Pro Max

OS: iOS

Browser: Safari

Version: Latest

Additional context
This issue may be due to unoptimized data fetching, lack of pagination, or large store data being returned all at once. It might be useful to review API response time or implement lazy loading or pagination.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the delay on the admin Store page and inspecting the store-list request, including API response time and returned data size. Compare the loading behavior with the reported 1–2 second target; the work is done when the list loads promptly and the relevant loading behavior is verified on the stated browsers or devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.