]> 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>
Mon, 27 Jun 2022 11:36:01 +0000 (13:36 +0200)
commitd225328363abc22f1f30f1a740e4d83faa0dfb8c
tree4d847892f198555df0fecec17799b5c7a4d0816e
parent3ca9ca7e215562912daf00ca3cca40dbc5d560b5
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