diff --git a/CHANGELOG.md b/CHANGELOG.md index db6ab3629..89857f9b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moved the chart of the holdings tab on the home page from experimental to general availability - Extended the assistant by a holding selector - Separated the _FIRE_ / _X-ray_ page +- Improved the usability to customize the rule thresholds in the _X-ray_ page by introducing range sliders (experimental) - Improved the language localization for Italian (`it`) - Upgraded `ngx-skeleton-loader` from version `7.0.0` to `9.0.0` - Upgraded `uuid` from version `9.0.1` to `11.0.2` diff --git a/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.html b/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.html index 8806dae6a..97854ad7d 100644 --- a/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.html +++ b/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.html @@ -1,76 +1,128 @@
{{ data.rule.name }}
-
-
- Threshold Min: - @if (data.rule.configuration.threshold.unit === '%') { - {{ data.settings.thresholdMin | percent: '1.2-2' }} - } @else { - {{ data.settings.thresholdMin }} - } -
- @if (data.rule.configuration.threshold.unit === '%') { - - } @else { - - } - +
+ Threshold range: + @if (data.rule.configuration.threshold.unit === '%') { + {{ data.settings.thresholdMin | percent: '1.2-2' }} + } @else { + {{ data.settings.thresholdMin }} + } + - + @if (data.rule.configuration.threshold.unit === '%') { + {{ data.settings.thresholdMax | percent: '1.2-2' }} + } @else { + {{ data.settings.thresholdMax }} + } +
+
+ @if (data.rule.configuration.threshold.unit === '%') { + + } @else { + + } + + + + + @if (data.rule.configuration.threshold.unit === '%') { + + } @else { + + } +
+
+ } @else { +
- - - @if (data.rule.configuration.threshold.unit === '%') { - - } @else { - - } -
-
-
- Threshold Max: - @if (data.rule.configuration.threshold.unit === '%') { - {{ data.settings.thresholdMax | percent: '1.2-2' }} - } @else { - {{ data.settings.thresholdMax }} - } -
- @if (data.rule.configuration.threshold.unit === '%') { - - } @else { - - } - + Threshold Min: + @if (data.rule.configuration.threshold.unit === '%') { + {{ data.settings.thresholdMin | percent: '1.2-2' }} + } @else { + {{ data.settings.thresholdMin }} + } + +
+ @if (data.rule.configuration.threshold.unit === '%') { + + } @else { + + } + + + + @if (data.rule.configuration.threshold.unit === '%') { + + } @else { + + } +
+
+
- - - @if (data.rule.configuration.threshold.unit === '%') { - - } @else { - - } -
+
+ Threshold Max: + @if (data.rule.configuration.threshold.unit === '%') { + {{ data.settings.thresholdMax | percent: '1.2-2' }} + } @else { + {{ data.settings.thresholdMax }} + } +
+
+ @if (data.rule.configuration.threshold.unit === '%') { + + } @else { + + } + + + + @if (data.rule.configuration.threshold.unit === '%') { + + } @else { + + } +
+
+ }
diff --git a/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.scss b/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.scss index dc9093b45..0f6fce3d2 100644 --- a/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.scss +++ b/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.scss @@ -1,2 +1,5 @@ :host { + label { + margin-bottom: 0; + } }