Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-46047

Hide/Show all series status under"Observe -> Metrics" kebab menu is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.18.0, 4.19.0
    • Observability UI
    • None
    • Moderate
    • Yes
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, a {rh-rhacm-first} Alerting UI refactor update caused an `isEmpty` check to go missing on the *Observe > Metrics* menu. The missing check inverted the behavior of the *Show all Series* and *Hide all Series* states. This release readds `isEmpty` check so that *Show all Series* is now visible when series are hidden and *Hide all Series* is now visible when the series are shown. (link:https://issues.redhat.com/browse/OCPBUGS-46047[*OCPBUGS-46047*])
      Show
      * Previously, a {rh-rhacm-first} Alerting UI refactor update caused an `isEmpty` check to go missing on the *Observe > Metrics* menu. The missing check inverted the behavior of the *Show all Series* and *Hide all Series* states. This release readds `isEmpty` check so that *Show all Series* is now visible when series are hidden and *Hide all Series* is now visible when the series are shown. (link: https://issues.redhat.com/browse/OCPBUGS-46047 [* OCPBUGS-46047 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-45816. The following is the description of the original issue:

      Description of problem:

      checked in 4.18.0-0.nightly-2024-12-05-103644/4.19.0-0.nightly-2024-12-04-03122, admin console go to "Observe -> Metrics", execute one query, make sure there is result for it, for example "cluster_version", click the kebab menu, "Show all series" under the list, it's wrong, should be "Hide all series", click "Show all series" will unselect all series, then "Hide all series" always show under the menu, click it, the series would be changed from selected and unselected, but always see "Hide all series", see recording: https://drive.google.com/file/d/1kfwAH7FuhcloCFdRK--l01JYabtzcG6e/view?usp=drive_link

      same issue for developer console for 4.18+, 4.17 and below does not have such issue

      Version-Release number of selected component (if applicable):

      4.18+

      How reproducible:

      always with 4.18+

      Steps to Reproduce:

      see the description

      Actual results:

      Hide/Show all series status under"Observe -> Metrics" kebab menu is wrong

      Expected results:

      should be right

              rh-ee-pyurkovi Peter Yurkovich
              openshift-crt-jira-prow OpenShift Prow Bot
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: