]> git.apps.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)
committerNizamudeen A <nia@redhat.com>
Tue, 16 Aug 2022 07:30:47 +0000 (13:00 +0530)
commitf035d823fbac6387bc8e51a13e12dfed138b50fc
treefc5e9c02b7dd9305a2397a11558cb2c8ca1bdae2
parent0e97e9fa6b3fd96630c641773573686d16d9a1e0
mgr/dashboard: move replaying images to Syncing tab

Resolves: rhbz#1891012

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>
(cherry picked from commit d225328363abc22f1f30f1a740e4d83faa0dfb8c)
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