From 82c285e34865f834936f23a01abebf25b962f460 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Mon, 24 Jun 2024 15:36:55 +0200 Subject: [PATCH] style: lint --- client/src/app/app.component.ts | 8 +- .../multi-dataset.component.html | 128 ++++++++++++------ .../multi-dataset/multi-dataset.component.ts | 28 ++-- client/src/app/shared/utils/hot.utils.ts | 8 +- 4 files changed, 117 insertions(+), 55 deletions(-) diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index a6737e8..335e187 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -23,7 +23,13 @@ import { trashIcon } from '@cds/core/icon' -ClarityIcons.addIcons(moonIcon, sunIcon, exclamationTriangleIcon, tableIcon, trashIcon) +ClarityIcons.addIcons( + moonIcon, + sunIcon, + exclamationTriangleIcon, + tableIcon, + trashIcon +) @Component({ selector: 'my-app', diff --git a/client/src/app/multi-dataset/multi-dataset.component.html b/client/src/app/multi-dataset/multi-dataset.component.html index 30946ba..f93e60b 100644 --- a/client/src/app/multi-dataset/multi-dataset.component.html +++ b/client/src/app/multi-dataset/multi-dataset.component.html @@ -44,7 +44,10 @@ status="danger" shape="exclamation-circle" > - + {{ dataset.libds }} @@ -111,17 +114,24 @@

Selected file: {{ selectedFile.name }} - - - Discard the file - + + Discard the file

Paste or type the list of datasets to upload:

- Each row is one dataset. We will automatically detect tables by the sheetname and populate if any. + Each row is one dataset. We will automatically detect tables by + the sheetname and populate if any. "{{ activeParsedDataset.parseResult.rangeSheetRes?.sheetName }}"!{{ - activeParsedDataset.parseResult.rangeSheetRes?.rangeAddress + activeParsedDataset.parseResult.rangeSheetRes + ?.rangeAddress }} @@ -187,8 +198,15 @@ Matched with dataset: - {{ activeParsedDataset.libds }} - + {{ activeParsedDataset.libds }} + Click to edit the table @@ -203,7 +221,12 @@ clrToggle [(ngModel)]="activeParsedDataset.includeInSubmission" name="options" - [disabled]="!(activeParsedDataset.datasource && activeParsedDataset.parseResult)" + [disabled]=" + !( + activeParsedDataset.datasource && + activeParsedDataset.parseResult + ) + " required value="option1" /> @@ -238,21 +261,25 @@ *ngIf="!activeSubmittedDataset" class="no-table-selected pointer-events-none" > - -

- Please select a dataset on the left to review the submit results -

- + +

+ Please select a dataset on the left to review the submit results +

+
-

+

Found in range: "{{ @@ -266,8 +293,15 @@ Matched with dataset: - {{ activeSubmittedDataset.libds }} - + {{ activeSubmittedDataset.libds }} + Click to edit the table @@ -275,26 +309,37 @@

Status: - SUCCESS - ERROR + SUCCESS + ERROR

-

+

Error details:

@@ -327,13 +372,18 @@

- Tables will be sent sequentially, logs will be available after all tables are submitted. + Tables will be sent sequentially, logs will be available after all tables + are submitted.