hector-jewell / hector-jewell/uber-eats-clone-using-react-native
Show “No Restaurant/Store Available” Message When Category Has No Content
- Dominant language
- JavaScript
- Stars
- 1
- 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
Start at the category listing screen in the React Native app and reproduce the blank state by opening a category with no restaurants or stores. Trace how the screen handles an empty listing, then make the empty state show the requested message and verify it does not alter categories that contain listings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100