From d6d5771aff7d720db791053c1b6dd6c6908c2633 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Mon, 28 Apr 2025 10:42:37 +0200 Subject: [PATCH] alerting: update UI text to clarify recovery threshold for pending state (#102788) * alerting: update UI text to clarify recovery threshold for pending state * Update recent translation --- .../unified/GrafanaRuleQueryViewer.tsx | 4 ++- .../expressions/components/Threshold.tsx | 35 +++++++++++++------ public/locales/en-US/grafana.json | 18 +++++----- 3 files changed, 37 insertions(+), 20 deletions(-) diff --git a/public/app/features/alerting/unified/GrafanaRuleQueryViewer.tsx b/public/app/features/alerting/unified/GrafanaRuleQueryViewer.tsx index 781726d1413..71dd85a6799 100644 --- a/public/app/features/alerting/unified/GrafanaRuleQueryViewer.tsx +++ b/public/app/features/alerting/unified/GrafanaRuleQueryViewer.tsx @@ -503,7 +503,9 @@ function ThresholdExpressionViewer({ model }: { model: ExpressionQuery }) { {unloadEvaluator && ( <>
- Stop alerting when + + Stop alerting (or pending state) when{' '} +
{expression}
diff --git a/public/app/features/expressions/components/Threshold.tsx b/public/app/features/expressions/components/Threshold.tsx index e3fa883d918..ebb9ae393aa 100644 --- a/public/app/features/expressions/components/Threshold.tsx +++ b/public/app/features/expressions/components/Threshold.tsx @@ -219,7 +219,7 @@ function RecoveryThresholdRow({ isRange, condition, onError, dispatch, allowOnbl @@ -256,7 +256,7 @@ function RecoveryThresholdRow({ isRange, condition, onError, dispatch, allowOnbl @@ -293,7 +293,7 @@ function RecoveryThresholdRow({ isRange, condition, onError, dispatch, allowOnbl @@ -329,7 +329,7 @@ function RecoveryThresholdRow({ isRange, condition, onError, dispatch, allowOnbl @@ -370,7 +370,10 @@ function RecoveryThresholdRow({ isRange, condition, onError, dispatch, allowOnbl return (