Margaret-Petersen / Margaret-Petersen/python-based-food-ordering-system
Show “No Restaurant/Store Available” Message When Category Has No Content
- Dominant language
- JavaScript
- 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
Research direction
No files, tests, or entry points are named. Start by locating the category page that renders restaurant or store listings and reproduce an empty category in the application. Done means the selected category shows a clear empty-state message instead of a blank page, with any added visual treatment matching the existing interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100