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

Cluster list data currency (refetch data)

    • ACM Console Sprint 256

      User story:

      The new multi-region cluster list needs some way of ensuring data is current, such as automatically refetching stale data or offering a refresh button. Users may be particularly interested in watching the status column for new deployments.

      Acceptance criteria:

      • Cluster lists are refetched in the background (aka old data continues to be shown in the list during refetch) every 60 seconds
      • Cluster lists are refetched  every time the user loads (or returns back to) the cluster list page). 
      • Cluster lists are refetched when the user clicks on the "loading" button
      • Anytime the cluster lists are being fetched, there is a loading icon shown
      • Any sorting, filtering, or pagination options remain during and immediately after a refetch.
        • If the user is on a last page (of a pagination) and that page no longer exists after a refetch, the user will be taken to the last page with data

      -------------------------------------------------------------------------------------------------------------------------------

      Implementation details

       

      The spinner icon used when data is being fetched is old and should be switched to the new Patternfly Spinner.

       

      Under development, the following should happen during refetch

      Scenario Refresh type Result
      canEdit removes cluster automatic In cluster data, the canEdit data is set to false
        manual  
      canEdit adds cluster automatic In cluster data, the canEdit data is set to true
        manual  
      canDelete removes cluster automatic In cluster data, the canDelete data is set to false
        manual  
      canDelete adds cluster automatic In cluster data, the canDelete data is set to true
        manual  
      region is added automatic Data for that cluster is now fetched
        manual  
      region is removed automatic Data for that cluster is no longer fetched
        manual  
      Page is added to regional cluster fetch automatic The new page is fetched
        manual  
      Page is removed from regional cluster fetch automatic The old age is no longer fetched
        manual  
      Page is added to global subscription fetch automatic The new page is fetched
        manual  
      Page is removed from global subscription fetch automatic The old page is no longer fetched
        manual  

        1. multiregion_acc1_2.webm
          14.54 MB
          Vitor Graziano
        2. multiregion_acc1.webm
          2.28 MB
          Vitor Graziano
        3. multiregion_acc3_4.webm
          4.24 MB
          Vitor Graziano
        4. multiregion_acc5a.webm
          3.09 MB
          Vitor Graziano

            kdoberst Kim Doberstein
            rh-ee-kcormier Kevin Cormier
            Denis Ragan Denis Ragan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: