Repository navigation
tentacle: mgr/dashboard: introduce details card component - #67633
Conversation
2cd3999 to
9c9940c
Compare
|
This PR has been identified as desirable for v20.2.2. Please make sure this PR:
When you believe it's ready for consideration, please add the https://github.com/ceph/ceph/labels/pdonnell-tentacle-RFA label to this PR. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
This is a supporting PR for CertMgr changes. Hence added DNM tag. |
This is anyways a shared component, so its okay if we can backport this. |
9c9940c to
43957a3
Compare
|
jenkins test make check |
|
Tests (1 failure / +1) Known failure being fixed |
|
This is not cherry-picked 43957a3 Also @abhidesai6 rebase your PR with latest tentacle in order to fix failing make check |
43957a3 to
f6d4987
Compare
|
I had rebased the PR. test are running since long. |
as per https://pages.github.ibm.com/ibmcloud/pal/storybook/?path=/story/components-card--details-with-stacked-rows added a details component which can be used as ``` <cd-details-card title="card title"> <ng-container class="details-body-content"> <div cdsCol [columnNumbers]="{lg: 4}"> <span class="cds--label"> label </span> <span>value</span> </div </ng-container> </cd-details-card> ``` Fixes: https://tracker.ceph.com/issues/72246 Signed-off-by: Nizamudeen A <[email protected]> (cherry picked from commit 7cf2b5f) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts - conflict on module imports, included all the necessary modules needed.
fixed test case Fixes: https://tracker.ceph.com/issues/72246 Signed-off-by: Naman Munet <[email protected]> (cherry picked from commit 6ad4bd1)
fixes: https://tracker.ceph.com/issues/72651 Signed-off-by: Naman Munet <[email protected]> (cherry picked from commit 9773be1)
f6d4987 to
fa36845
Compare
|
This PR has been added to wip-yuri10-testing-20260622.213727-tentacle. |
|
RADOS approved in QA RUN: |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #67633 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 34e1ac7 mgr/dashboard: introduce details card component | PR #64631 | 7cf2b5f mgr/dashboard: introduce details card component |
| 7c9e4cd mgr/dashboard: introduce details card component | 6ad4bd1 mgr/dashboard: introduce details card component | |
| fa36845 mgr/dashboard: style fixes for shared components | PR #65140 | 9773be1 mgr/dashboard: style fixes for shared components |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 34e1ac7 (cherry-pick of 7cf2b5f)
Affected File(s)
src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
Range Diff
Click to expand
--- Original (7cf2b5fd)
+++ Backport (34e1ac73)
@@ -19,3 +19,8 @@
Fixes: https://tracker.ceph.com/issues/72246
Signed-off-by: Nizamudeen A <[email protected]>
+(cherry picked from commit 7cf2b5fd22de142d8175c4cc4399ab080bf03722)
+
+ Conflicts:
+ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
+ - conflict on module imports, included all the necessary modules needed.
================================================================================
RANGE DIFF
================================================================================
1: 7cf2b5fd22d ! 1: 34e1ac73149 mgr/dashboard: introduce details card component
@@ Commit message
Fixes: https://tracker.ceph.com/issues/72246
Signed-off-by: Nizamudeen A <[email protected]>
+ (cherry picked from commit 7cf2b5fd22de142d8175c4cc4399ab080bf03722)
+
+ Conflicts:
+ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
+ - conflict on module imports, included all the necessary modules needed.
## src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts ##
@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import {
- ComboBoxModule,
- ProgressIndicatorModule,
- PanelModule,
-- LayoutModule
+ TagModule,
+ LinkModule,
+ LayerModule,
+ LayoutModule,
-+ TilesModule
+ TilesModule,
+ ThemeModule
} from 'carbon-components-angular';
- import EditIcon from '@carbon/icons/es/edit/20';
- import CodeIcon from '@carbon/icons/es/code/16';
-@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import { SidePanelComponent } from './side-panel/side-panel.component';
- import { ChartsModule } from '@carbon/charts-angular';
- import { InlineMessageComponent } from './inline-message/inline-message.component';
- import { IconComponent } from './icon/icon.component';
+@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import { UpgradableComponent } from './upgradable/upgradable.component';
+ import { ProgressComponent } from './progress/progress.component';
+ import { TearsheetComponent } from './tearsheet/tearsheet.component';
+ import { TearsheetStepComponent } from './tearsheet-step/tearsheet-step.component';
+import { DetailsCardComponent } from './details-card/details-card.component';
+ import { SidePanelComponent } from './side-panel/side-panel.component';
// Icons
- import InfoIcon from '@carbon/icons/es/information/16';
-@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import CloseIcon from '@carbon/icons/es/close/16';
- BaseChartDirective,
- PanelModule,
- ChartsModule,
-- LayoutModule
+@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import { SidebarLayoutComponent } from './sidebar-layout/sidebar-layout.componen
+ TagModule,
+ LinkModule,
+ LayerModule,
+ LayoutModule,
-+ TilesModule
+ TilesModule,
+ ThemeModule
],
- declarations: [
- SparklineComponent,
-@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import CloseIcon from '@carbon/icons/es/close/16';
- ProgressComponent,
- SidePanelComponent,
+@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import { SidebarLayoutComponent } from './sidebar-layout/sidebar-layout.componen
IconComponent,
-- InlineMessageComponent
-+ InlineMessageComponent,
-+ DetailsCardComponent
- ],
- providers: [provideCharts(withDefaultRegisterables())],
- exports: [
-@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import CloseIcon from '@carbon/icons/es/close/16';
- ProgressComponent,
+ TearsheetComponent,
+ TearsheetStepComponent,
++ DetailsCardComponent,
SidePanelComponent,
+ SidebarLayoutComponent
+ ],
+@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts: import { SidebarLayoutComponent } from './sidebar-layout/sidebar-layout.componen
IconComponent,
-- InlineMessageComponent
-+ InlineMessageComponent,
-+ DetailsCardComponent
+ TearsheetComponent,
+ TearsheetStepComponent,
++ DetailsCardComponent,
+ SidePanelComponent,
+ SidebarLayoutComponent
]
- })
- export class ComponentsModule {
## src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html (new) ##
@@Deviation in Backport fa36845 (cherry-pick of 9773be1)
Affected File(s)
src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss
Range Diff
Click to expand
--- Original (9773be1e)
+++ Backport (fa368457)
@@ -1,5 +1,5 @@
mgr/dashboard: style fixes for shared components
fixes: https://tracker.ceph.com/issues/72651
-
Signed-off-by: Naman Munet <[email protected]>
+(cherry picked from commit 9773be1)
================================================================================
RANGE DIFF
================================================================================
1: 9773be1ea4f ! 1: fa36845764d mgr/dashboard: style fixes for shared components
@@ Commit message
mgr/dashboard: style fixes for shared components
fixes: https://tracker.ceph.com/issues/72651
-
Signed-off-by: Naman Munet <[email protected]>
+ (cherry picked from commit 9773be1)
## src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html ##
@@
@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details
<div cdsRow>
## src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss ##
-@@ src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss: Carbon Popover
-
+@@ src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss: Tooltip
+ Carbon Popover
+ ******************************************/
.cds--popover-content {
- background-color: theme.$background;
+- background-color: theme.$layer-02;
++ background-color: theme.$background;
+ padding: layout.$spacing-05;
++}
++
++// inner container class for overflow
++.cds--popover-scroll-container {
+ max-height: layout.$spacing-13;
+ overflow: auto;
}
-
- // inner container class for overflowHow to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
backport tracker: https://tracker.ceph.com/issues/75293
backport of #64631
parent tracker: https://tracker.ceph.com/issues/72246
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh