in "any organziation" view, the dashboard gets slower as orgs are added
If you attempt to view the dashboard in the "any organization" view, the dashboard will get slower as orgs are added. This is because the subscription status widget is polling across all organizations, and making a call to candlepin for each org.
how to repro:
- create two orgs
- view dashboard
You will see two calls to candlepin, one per org.
It is not common to use the dashboard to find subscription info across orgs, since subscriptions are closely tied to an org. Instead, it is OK for the widget to just display "information not available, please select an organization" or some other text.
Previously, the dashboard would iterate over each organization the user
had access to and sum up the subscription info. If the user had a large
number of orgs, this could make the dashboard extremely slow, since
each organization required two calls to candlepin to find the
Instead, display a message stating that an organization needs to be
selected in order to show subscription info. It is unlikely a user
would want to see a "roll-up" view of subs across orgs, since
subscriptions are tightly coupled to a particular org.