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

Show “No Restaurant/Store Available” Message When Category Has No Content

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

Is your feature request related to a problem? Please describe.
Yes. Currently, when a user opens a category that has no restaurants or stores listed, the page remains blank, giving no feedback or context. This can confuse users, making them think the page is broken or still loading.

Describe the solution you'd like
A friendly message such as “No Restaurant/Store Available” should be displayed when there’s no content for a selected category. This will inform users that the category exists, but currently has no available listings.

Describe alternatives you've considered
Users may try reloading the page or navigating away, thinking it’s an error, but this is not user-friendly or informative.

Additional context
Adding this message will improve the overall user experience by providing clarity and ensuring that the interface communicates the state of the content effectively. Optionally, a small icon or illustration could be included to enhance the visual appeal.

Contributor guide

Open the contributing guide

Research direction

Start by locating the category page and the component that renders restaurant or store listings, then trace how an empty result is handled. Add an empty-state message for categories with no listings, optionally including the proposed icon or illustration. Done means an empty category no longer appears blank and categories with content remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Feature
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.