Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2554

Scorecard: Aggregated scorecard widgets disappear when entities are missing or fetching fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 1.9.0
    • 1.9.0
    • Scorecard
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH Plugins 3287

      Description of problem:

      The aggregated scorecard widgets are hidden from the homepage under the following conditions instead of displaying a fallback state:

      1. The user does not own any entities and is not part of a group that owns entities
      2. Entities exist, but values/statuses cannot be retrieved due to credential errors or threshold failures.

      Steps to Reproduce

      1. Add an Aggregated Scorecard widget to the homepage.
      2. Trigger one of the following scenarios:
        1. Scenario A: Log in as a user who owns no entities (and belongs to no entity-owning groups).
        2. Scenario B: Provide invalid credentials for a metric provider to trigger a fetching error.
      3. 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"

              rh-ee-imykhno Ihor Mykhno
              rh-ee-imykhno Ihor Mykhno
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: