]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Improve Change Detection on RBD Snapshot 37453/head
authorTiago Melo <tmelo@suse.com>
Mon, 28 Sep 2020 08:45:35 +0000 (08:45 +0000)
committerTiago Melo <tmelo@suse.com>
Wed, 4 Nov 2020 14:25:00 +0000 (13:25 -0100)
commit1017ac7f2c8a9e44fa7adaf864de1e2c8a0699cf
tree2b8f0662a3671dbc419fa2b00d66353da851d658
parent2f98e81708603ba44f1f1008aecba66bf6dbf693
mgr/dashboard: Improve Change Detection on RBD Snapshot

We are now using OnPush for the RbdSnapshotList component.

RbdSnapshotActionsModel is now only created once.

Some data is only updated when it changes.

Fixes: https://tracker.ceph.com/issues/47685
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-actions.model.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/classes/cd-helper.class.ts