]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: set up dashboard as a app shell
authorIvo Almeida <ialmeida@redhat.com>
Sun, 4 May 2025 14:10:31 +0000 (15:10 +0100)
committerIvo Almeida <ialmeida@redhat.com>
Tue, 15 Jul 2025 10:43:09 +0000 (11:43 +0100)
commita0dd52fe100932922ceab9277490bfa2f8631431
tree313bb8b2a6ca044fa987406b85b30a4ec8842efe
parentbe4101792afa9fe2f46b91ca94169abd8585d634
mgr/dashboard: set up dashboard as a app shell

* Set up dashboard to act as an app shell/host
* Added NX libraries to support webpack module federation

Fixes: https://tracker.ceph.com/issues/69922
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
fixed unit tests
17 files changed:
src/pybind/mgr/dashboard/frontend/.gitignore
src/pybind/mgr/dashboard/frontend/angular.json [deleted file]
src/pybind/mgr/dashboard/frontend/cd.js
src/pybind/mgr/dashboard/frontend/jest.config.cjs
src/pybind/mgr/dashboard/frontend/module-federation.config.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/nx.json [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/package-lock.json
src/pybind/mgr/dashboard/frontend/package.json
src/pybind/mgr/dashboard/frontend/project.json [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/app.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/assets/module-federation.manifest.json [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/bootstrap.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/main.ts
src/pybind/mgr/dashboard/frontend/tsconfig.app.json
src/pybind/mgr/dashboard/frontend/tsconfig.json
src/pybind/mgr/dashboard/frontend/webpack.config.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/webpack.prod.config.ts [new file with mode: 0644]