Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1193

Disable "Download" button when no logs to download.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • A-Team
    • 0.5
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Sprint 249

      Description of problem:
      On a ready cluster's Cluster history tab, when user tries to click and download logs when no logs present then it was shown inline error in UI. This could be avoided considering the usability side of UI. Disable "Download" option when logs are not present.

       

      How reproducible:

      always

      Steps to Reproduce:

      1. Open OCM UI staging.
      2. Open a ready cluster
      3. Go Cluster history tab.
      4. Filter logs with some severity type that doesn't exists.
      5. Once no logs filtered/available ,Click "Download history" button and then "Download" button.
      6. See the behavior

      Actual results:

      "Download" button enabled although no logs to download from UI. Once user clicks the "Download" button it indicate "unable to download records" .

      Expected results:

      Disable "Download" button when no logs to download from UI. 

        1. image-2023-12-13-15-16-56-466.png
          97 kB
          Jayakrishnan Mekkattillam
        2. image-2024-02-13-11-02-55-215.png
          52 kB
          Jayakrishnan Mekkattillam

              rh-ee-daznauro David Aznaurov
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: