Discover the top 3 restaurants serving your favorite food near you. Just enter your craving and location in our free AI-powered app, and start your culinary adventure today!
Other inconsistencies that derive from this edge case:
Rating changed since the search (Maybe irrelevant, as this might not change drastically for most places).
Restaurant closed permanently since search.
Possible solutions:
Add a timestamp to the search result page and a note to the validity of the data.
Persist the actual opening times and compare against them to calculate openNow, instead of persisting openNow.
Refetch dynamic data for each of the results: OpenNow, Ratings, Check for permanently closed.
Other Ideas:
Add open /closed badges with color codes (green/red).
In case some of the top 3 results are closed or permanently closed, we could still persist 6 results and show some of the last 3 results in replacement of the top 3 that are not available. Those which are currently/permanently unavailable can be still shown, but grayed out/shown with lower opacity.
Other inconsistencies that derive from this edge case:
Possible solutions:
openNow
, instead of persisting openNow.Other Ideas:
open
/closed
badges with color codes (green/red).closed
or permanently closed, we could still persist 6 results and show some of the last 3 results in replacement of the top 3 that are not available. Those which are currently/permanently unavailable can be still shown, but grayed out/shown with lower opacity.