Description of problem:
The aggregated scorecard widgets are hidden from the homepage under the following conditions instead of displaying a fallback state:
- The user does not own any entities and is not part of a group that owns entities
- Entities exist, but values/statuses cannot be retrieved due to credential errors or threshold failures.
Steps to Reproduce
- Add an Aggregated Scorecard widget to the homepage.
- Trigger one of the following scenarios:
- Scenario A: Log in as a user who owns no entities (and belongs to no entity-owning groups).
- Scenario B: Provide invalid credentials for a metric provider to trigger a fetching error.
- Observe the homepage.
Actual results:
- The aggregated cards disappear entirely from the homepage layout.
Expected results:
- The cards should remain visible on the homepage to maintain layout consistency. They should display a greyed-out chart and the empty state message: "Metrics to aggregate do not exist."
Reproducibility (Always/Intermittent/Only Once):
- Always
Additional info (Such as Logs, Screenshots, etc):
- Attached "Aggregated Scorecard widget failure.mov"