gray-mueller / gray-mueller/online-ordering-and-delivery-system-using-python

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

Open
#790 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
1
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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.