From 9bae4601cd9e100e9e512f76f2a768dd7a886cdc Mon Sep 17 00:00:00 2001 From: "SANDHYA.JS" Date: Tue, 5 Apr 2022 07:28:32 +0530 Subject: [PATCH] Fix Bug 1974: No.Of Hours Value for the running instances is hidden in Dashboard - No.Of Hours Value for the running instances will be visible in Dashboard Instance graph - Changed the metrics error message - Changed the font size of mandatory field message. Change-Id: If6b62d645ba10a38fb969ed189d7e7a5ce2d45a5 Signed-off-by: SANDHYA.JS --- src/app/dashboard/DashboardComponent.ts | 5 +++++ .../ns-instances-action/NSInstancesActionComponent.ts | 2 +- src/assets/scss/app.scss | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/app/dashboard/DashboardComponent.ts b/src/app/dashboard/DashboardComponent.ts index d6dc801..b7902a0 100644 --- a/src/app/dashboard/DashboardComponent.ts +++ b/src/app/dashboard/DashboardComponent.ts @@ -330,6 +330,11 @@ export class DashboardComponent implements OnInit { }] }, options: { + layout: { + padding: { + top: 20 + } + }, hover: { onHover(evt: Event, item: {}): void { const el: HTMLElement = document.getElementById('canvas'); diff --git a/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts b/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts index a66f78a..b5f7b01 100644 --- a/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts +++ b/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts @@ -184,7 +184,7 @@ export class NSInstancesActionComponent { window.open(location); } else { this.isLoadingNSInstanceAction = false; - this.notifierService.notify('error', this.translateService.instant('GRAFANA.METRICSERROR')); + this.notifierService.notify('error', this.translateService.instant('PAGE.NSMETRIC.METRICERROR')); } }); this.doChanges(); diff --git a/src/assets/scss/app.scss b/src/assets/scss/app.scss index 1f7ce6c..2e2eb92 100644 --- a/src/assets/scss/app.scss +++ b/src/assets/scss/app.scss @@ -150,7 +150,7 @@ body { padding-right: 0px; } .mandatory-label { - @include font(null, 10px, null); + @include font(null, 11px, null); } .dropzone { min-height: 50px; @@ -264,10 +264,10 @@ body { overflow-y: scroll; } } - .resources-chart-popover{ + .resources-chart-popover { max-width: 60% !important; @include font-family("Roboto"); - .popover-body{ + .popover-body { max-height: 60vh; overflow-y: scroll; } -- 2.25.1