]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix loading states in storage overview card
authorAfreen Misbah <afreen@ibm.com>
Mon, 16 Mar 2026 09:04:30 +0000 (14:34 +0530)
committerAfreen Misbah <afreen@ibm.com>
Tue, 17 Mar 2026 03:18:43 +0000 (08:48 +0530)
commita1c2b561376d90a456b1444b8ca88328bf41c8f9
tree5255d237904e88505a1efce9ef7d89717bf8c97a
parent90c09d867988137f32beb5328b147e2384cc5000
mgr/dashboard: Fix loading states in storage overview card

Fixes https://tracker.ceph.com/issues/75321
Fixes https://tracker.ceph.com/issues/75299

- removes storage type
- stabilizes overview card for loading data
- raw capcity shown when promethues not there
- multiple refresh intervals which may vcause sync issues and bugs hence moved the logic to parent - overview component
- Now all queries are updated at 5 s interval except data consumption - using promethues interval. This needs more refactor hence would do in a later PR

Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/overview.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/overview.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/overview.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/storage-card/overview-storage-card.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/storage-card/overview-storage-card.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/storage-card/overview-storage-card.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/storage-overview.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/overview.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/formatter.service.ts