Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-726

GUI - Subscription threshold tooltip for today displays "no data" instead of 0

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Since capacity line switched to metered API (SWATCH-690), tooltip for today will display "no data" instead of 0.

      See attached video for comparison of current stage-beta and stage-stable. Tooltip says "Subscription threshold 0" for December 6 and December 7, but "Subscription threshold no data" for December 8.

      This happens on all graphs that has capacity line - OCP and RHEL.

      API response data is the same for both days:

      [...,
      {
          "date": "2022-12-07T00:00:00Z",
          "has_data": false,
          "value": 0,
          "has_infinite_quantity": false
      },
      {
          "date": "2022-12-08T00:00:00Z",
          "has_data": false,
          "value": 0,
          "has_infinite_quantity": false
      }
      ]
      

      This might be one of these timezone-related issues. So far, I was not able to "fix" it by switching browser to pretend I am in different location.

      Steps to reproduce:

      1. Go to RHEL or OCP page
      2. Use filters to set graph in a way that there will be no capacity for last few days
      3. Read tooltip for today and yesterday - compare "Subscription threshold" displayed

            cdcabrera Charles Cabrera
            mzalewsk@redhat.com Mirek Długosz
            Mirek Długosz Mirek Długosz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: