]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: add upgrade notification
authorPedro Gonzalez Gomez <pegonzal@redhat.com>
Wed, 20 Mar 2024 17:47:10 +0000 (18:47 +0100)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Tue, 4 Jun 2024 07:23:14 +0000 (09:23 +0200)
commit7edf4163ea6d574bfe005fa051a73c1f38c8ea7b
treeaf2a9581ec8de34d6674e53b3e0bf44dc89d37d2
parent307bf6453c9405df56da0577cd11c5386a24266a
mgr/dashboard: add upgrade notification

Conflicts:
-mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.ts
No hardware status in squid

- Adds upgradable component to manage upgrades from outside upgrade component.
- Cleans a couple subscriptions that were not being destroyed

Fixes: https://tracker.ceph.com/issues/65012
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 882c747a8a2c3f5bfe4b1391e90e21271c1461b3)
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/upgrade/upgrade.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/upgrade/upgrade.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/upgrade/upgrade.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/upgrade.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/upgradable/upgradable.component.html [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/components/upgradable/upgradable.component.scss [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/components/upgradable/upgradable.component.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/components/upgradable/upgradable.component.ts [new file with mode: 0644]