You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 64f5bb6
Browse filesBrowse the repository at this point in the historyBrowse files
console: Fix second loading spinner on the cluster list
On a cold load the cluster list showed its spinner, rendered the rows once
the clusters SUBSCRIBE snapshot arrived, and then replaced them with a
second spinner. Each row's closed overflow menu mounts AlterClusterMenuItem,
whose cluster sizes query was a useSuspenseQuery, so the first render of the
rows suspended to the page's Suspense fallback until the sizes returned.
The menu item now reads the sizes with useQuery on a shared
availableClusterSizesQuery and stays disabled until they load. The new
cluster form and the new replica modal still read them with
useSuspenseQuery.
Closes: CNS-192
0 commit comments