From 9bcc486c1ce0bebff77f5c570cbf34126cb587de Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Mon, 29 Apr 2024 11:45:33 +0300 Subject: [PATCH 1/2] dmp progrss bar styling changes --- .../dmp-form-progress-indication.component.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/form-progress-indication/dmp-form-progress-indication.component.scss b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/form-progress-indication/dmp-form-progress-indication.component.scss index b3aa2b404..fafe43a95 100644 --- a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/form-progress-indication/dmp-form-progress-indication.component.scss +++ b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/form-progress-indication/dmp-form-progress-indication.component.scss @@ -31,9 +31,8 @@ // Buffer bar ::ng-deep .mdc-linear-progress__buffer { --mdc-linear-progress-track-height: 11px !important; - --mdc-linear-progress-active-indicator-color: var(--secondary-color) !important; } ::ng-deep .mdc-linear-progress__buffer-bar { - --mdc-linear-progress-track-color: var(--secondary-color) !important; + --mdc-linear-progress-track-color: #e0e2ec !important; } From e9e06fa51f54187f1f016ca3db2cbcba3f871f3a Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Mon, 29 Apr 2024 11:46:16 +0300 Subject: [PATCH 2/2] description editor change > do not validate form on save --- .../app/ui/description/editor/description-editor.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts b/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts index 8c45dc0f2..0dc486ee2 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts +++ b/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts @@ -666,8 +666,6 @@ export class DescriptionEditorComponent extends BaseEditor void): void { this.formService.removeAllBackEndErrors(this.formGroup); - this.formService.touchAllFormFields(this.formGroup); - this.tocValidationService.validateForm(); if (this.formGroup.get('label').valid && this.formGroup.get('dmpId').valid && this.formGroup.get('dmpDescriptionTemplateId').valid && this.formGroup.get('descriptionTemplateId').valid && this.formGroup.get('status').valid) { this.persistEntity(onSuccess);