From 871740fef4427320fb427ab13c3002325019a3d4 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 --- .../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 b338a7b863af..56cdf1ea40d0 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 @@ -12,7 +12,7 @@ import { CephSharedModule } from '../shared/ceph-shared.module'; import { FeedbackComponent } from '../shared/feedback/feedback.component'; import { DashboardComponent } from './dashboard/dashboard.component'; import { HealthPieComponent } from './health-pie/health-pie.component'; -import { ToggletipModule } from 'carbon-components-angular'; +import { InputModule, ModalModule, SelectModule, ToggletipModule } from 'carbon-components-angular'; @NgModule({ imports: [ @@ -25,7 +25,10 @@ import { ToggletipModule } from 'carbon-components-angular'; ReactiveFormsModule, DashboardV3Module, BaseChartDirective, - ToggletipModule + ToggletipModule, + ModalModule, + InputModule, + SelectModule ], declarations: [DashboardComponent, HealthPieComponent, FeedbackComponent], providers: [provideCharts(withDefaultRegisterables())] 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 88ef32507a45..50a1804f35d3 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

+
-