Bug #10201
closedStatistics page behavior when looking at an empty org looks broken
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1179491
Description of problem:
I think it's just how the Statistics page deals with low volumes of information, but in our lab environment, it looks broken. When I load the Stats from Any Context, I see some tiles that have basic charts in them, except for Class Distribution. From here, I can click on the doughnut, and get taken to the relevant page, or I can click on the title of the tile, and see a larger view, potentially with a bit more information.
When I flip to a specific org (in our case, it doesn't have any hosts yet), the tiles remain, but now they're empty, even the detailed view from clicking on the title.
Version-Release number of selected component (if applicable):
6.06
How reproducible:
100%
Steps to Reproduce:
1. Go to the Statistics page, looking at Any Context
2. Then, go to the Statistics page, looking at an org that doesn't have any (or many) systems
Actual results:
You'll see lots of empty tiles that don't indicate there's no data, they just look like they didn't load
Expected results:
If there's not enough data to show any Statistics, we should say so, rather than showing empty tiles
Additional info:
Files