]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: move replaying images to Syncing tab
authorPere Diaz Bou <pdiazbou@redhat.com>
Mon, 30 May 2022 14:10:11 +0000 (16:10 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Thu, 30 Jun 2022 14:56:37 +0000 (16:56 +0200)
commit4d4505dfaca135ca1cf80e6fb8ba93337b3df3ec
tree1280c8a3787b6d721d56f5bba87db7e2521eca5e
parentba304fd2efefc79c58816538cdc6f53ef20f54f2
mgr/dashboard: move replaying images to Syncing tab

Images with 'Replaying' state will be displayed in Syncing tab. syncTmpl
removed as it was unnecessary if sate is provided from the backend.

Replaying images in contrast of Syncing images don't have a progress
percentage, nevertheless, we have an approximation of how much time left
there is until the image is fully synced. Therefore, we can use seconds_until_synced to represent the progress.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts