Display of zero events in feed/search
The bug portion of this is small. When there are zero events in a search results the list never updates from "Loading Earthquakes". This should be fixed so that it actually has the count, i.e. "0 Earthquakes"
However, we should prompt the user with a modal that tells them that they have no events in the current feed, and gives them two options to remedy the problem.
To be very clear, this should not be displayed if the user zooms into an area that has no earthquakes and "restrict list to map" is enabled. This is ONLY to be shown when the feed is empty.
Modal:
- Title:
- "No Earthquakes"
- Body:
- "The current selection does not currently include any earthquakes. Earthquakes happen around the world all the time. Change your options to view more earthquakes."
- Actions:
- "Search for Earthquakes", this will be a modify search/search option
- "Continue", this will allow the user to browse the map/list and select a different feed in settings
If there is no search object, then the link to the search page will just display the default parameters.
Edited by Edward J Hunter