-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
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 |
- depends on
-
OCMUI-1632 New multi-region cluster list
-
- Closed
-
-
OCMUI-1634 Cluster list can show all clusters (pagination)
-
- Closed
-
-
OCMUI-1635 Cluster list can be sorted
-
- Closed
-
-
OCMUI-1636 Cluster list filtering
-
- Closed
-
- relates to
-
OCMUI-2142 [OCM UI]Multi-region cluster list: the filter by cluster name doesn't work
-
- Closed
-
- links to
- mentioned on