From f02d94efdfc64636371053be7d85b745cd427e50 Mon Sep 17 00:00:00 2001 From: Abhishek Desai Date: Sun, 12 Oct 2025 02:09:08 +0530 Subject: [PATCH] mgr/dashboard : Carbonize -> Report an issue modal fixes : https://tracker.ceph.com/issues/73192 Signed-off-by: Abhishek Desai (cherry picked from commit 871740fef4427320fb427ab13c3002325019a3d4) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts --- .../app/ceph/dashboard/dashboard.module.ts | 7 +- .../shared/feedback/feedback.component.html | 287 +++++++++++------- .../shared/feedback/feedback.component.scss | 3 + .../feedback/feedback.component.spec.ts | 8 +- .../shared/feedback/feedback.component.ts | 38 ++- .../dashboard-help.component.ts | 12 +- 6 files changed, 213 insertions(+), 142 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts index fdcdaa762a6c4..d75ed7ebdf955 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts @@ -19,7 +19,7 @@ import { MdsDashboardSummaryPipe } from './mds-dashboard-summary.pipe'; import { MgrDashboardSummaryPipe } from './mgr-dashboard-summary.pipe'; import { MonSummaryPipe } from './mon-summary.pipe'; import { osdDashboardSummaryPipe } from './osd-dashboard-summary.pipe'; -import { ToggletipModule } from 'carbon-components-angular'; +import { InputModule, ModalModule, SelectModule, ToggletipModule } from 'carbon-components-angular'; @NgModule({ imports: [ @@ -32,7 +32,10 @@ import { ToggletipModule } from 'carbon-components-angular'; ReactiveFormsModule, DashboardV3Module, BaseChartDirective, - ToggletipModule + ToggletipModule, + ModalModule, + InputModule, + SelectModule ], declarations: [ HealthComponent, diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.html index 88ef32507a452..50a1804f35d3b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.html @@ -1,120 +1,183 @@ - - + + +

Report an issue

+
-