WordPress-Android
WordPress-Android copied to clipboard
Stats: non-graph cards with '0' stats load continuously
Expected behavior
I expected cards with no data to present a message, such as "no data yet" or "no data for this period".
Actual behavior
Instead of presenting a message, these cards appear to load indefinitely.
Steps to reproduce the behavior
- Open Stats for a site with no recent views/visitors.
- Head to the Day, or Week tab.
- Note that the top graph displays empty bars, and the rest of the cards show a loading animation that does not stop.
https://user-images.githubusercontent.com/15107387/187673506-70c9814a-9d9e-4b2d-a195-8a4d3562ddc7.mp4