Zeethx / SpotShare

SpotShare is a platform that connects people with available parking spaces to drivers in need of a spot.
https://spotshare.ca
2 stars 3 forks source link

Add a toast message when no spots are found #68

Open Zeethx opened 3 weeks ago

Zeethx commented 3 weeks ago

Description Currently, when users search for available parking spots and none are found, there is no clear feedback provided to them. To improve user experience, it would be beneficial to add a toast message that notifies users when no spots are available.

Proposed Feature Display a toast message with a clear and concise message (e.g., "No spots found. Please try a different location or time.") when a search yields no results. User Story As a user, I want to be notified immediately when no parking spots are found so that I can adjust my search criteria without having to wonder if the search is still processing.

Acceptance Criteria A toast message appears at the top or bottom of the screen when no spots are found. The message should disappear after a few seconds or upon user interaction (e.g., tapping on the screen). The message should be consistent with the app’s design and style guide.

Additional Context Ensure the toast message is accessible and visible on all devices (mobile, tablet, etc.). Consider adding a link or suggestion in the message to help users modify their search.

Zeethx commented 3 weeks ago

Also add a toast for the write a review page upon submitting.