From 7e8ea0775ea8d520ab1db3db527cdf6563e9f9ef Mon Sep 17 00:00:00 2001 From: Chantsova Ekaterina Date: Mon, 28 Oct 2024 17:43:35 +0200 Subject: [PATCH] Timewindow: display full interval options list for customization --- .../aggregation-type-select.component.html | 2 +- ...terval-options-config-panel.component.html | 18 +++++-- ...terval-options-config-panel.component.scss | 1 - ...interval-options-config-panel.component.ts | 50 +++++++++++++++++-- .../timewindow-config-dialog.component.ts | 45 +++++++++++++---- .../src/app/shared/models/time/time.models.ts | 8 +++ .../assets/locale/locale.constant-en_US.json | 3 +- 7 files changed, 105 insertions(+), 22 deletions(-) diff --git a/ui-ngx/src/app/shared/components/aggregation/aggregation-type-select.component.html b/ui-ngx/src/app/shared/components/aggregation/aggregation-type-select.component.html index 5e80fc3237..205e25cdf5 100644 --- a/ui-ngx/src/app/shared/components/aggregation/aggregation-type-select.component.html +++ b/ui-ngx/src/app/shared/components/aggregation/aggregation-type-select.component.html @@ -17,7 +17,7 @@ --> + class="flex flex-1"> {{ label }} diff --git a/ui-ngx/src/app/shared/components/time/interval-options-config-panel.component.html b/ui-ngx/src/app/shared/components/time/interval-options-config-panel.component.html index ce8abdd7e5..afeaf2b2a2 100644 --- a/ui-ngx/src/app/shared/components/time/interval-options-config-panel.component.html +++ b/ui-ngx/src/app/shared/components/time/interval-options-config-panel.component.html @@ -15,22 +15,32 @@ limitations under the License. --> -
+
{{ 'timewindow.edit-intervals-list' | translate }}
-
{{ 'timewindow.edit-intervals-list-hint' | translate }}
+
+ {{ 'timewindow.edit-intervals-list-hint' | translate }} {{ aggregation ? ('timewindow.edit-grouping-intervals-list-hint' | translate) : '' }} +
{{"timewindow.interval" | translate }}
- + {{ interval.name | translate:interval.translateParams }}
-
+
+ +