]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Carbonised Toast Notification
authorAnikait Sehwag <anikaitsehwag.amg@gmail.com>
Wed, 25 Jun 2025 06:48:44 +0000 (12:18 +0530)
committerAnikait Sehwag <128905481+SundownRises@users.noreply.github.com>
Tue, 9 Sep 2025 14:38:47 +0000 (20:08 +0530)
commit0ab2a4e266eab4c2788c86f8bc7e571a4beb611d
treeeb057e362301ec9ef54d32e78f69e5cadbd5823e
parentd4256533df709349ace95b89715844c25147ae7b
mgr/dashboard: Carbonised Toast Notification
Used carbon toast component to carbonise toast notifications

Dashboard: Toast Notification carbonised
This PR replaces the existing ngx-toastr implementation with Carbon Design System toast notifications to maintain UI consistency across the Ceph dashboard application.

Fixes:https://tracker.ceph.com/issues/71735
Signed-off-by: Anikait Sehwag <anikaitsehwag.amg@gmail.com>
19 files changed:
src/pybind/mgr/dashboard/frontend/src/app/app.module.ts
src/pybind/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/copy2clipboard-button/copy2clipboard-button.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/copy2clipboard-button/copy2clipboard-button.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/notification-toast/notification-toast.component.html [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/components/notification-toast/notification-toast.component.scss [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/components/notification-toast/notification-toast.component.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/components/notification-toast/notification-toast.component.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/enum/notification-type.enum.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-notification.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-notification.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/prometheus-alerts.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/notification.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/notification.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.spec.ts