From 98f8064fffc6e2a7578348c8708bf5f423d2297a Mon Sep 17 00:00:00 2001 From: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Date: Mon, 29 Mar 2021 23:23:00 -0700 Subject: [PATCH] Edit alert UI text (#32456) * Update AlertingQueryEditor.tsx * Update NotificationSettings.tsx * ui changes * Update AlertDefinitionOptions.tsx * Update AlertRuleList.tsx * Update AlertTab.tsx --- public/app/features/alerting/AlertRuleList.tsx | 2 +- public/app/features/alerting/AlertTab.tsx | 2 +- .../alerting/components/AlertDefinitionOptions.tsx | 2 +- .../alerting/components/AlertingQueryEditor.tsx | 2 +- .../alerting/components/NotificationSettings.tsx | 4 ++-- .../features/alerting/partials/alert_howto.html | 4 ++-- .../app/features/alerting/partials/alert_tab.html | 14 +++++++------- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/public/app/features/alerting/AlertRuleList.tsx b/public/app/features/alerting/AlertRuleList.tsx index 6eb073e8450..2b35109e90b 100644 --- a/public/app/features/alerting/AlertRuleList.tsx +++ b/public/app/features/alerting/AlertRuleList.tsx @@ -45,7 +45,7 @@ export class AlertRuleListUnconnected extends PureComponent { { label: 'OK', value: 'ok' }, { label: 'Not OK', value: 'not_ok' }, { label: 'Alerting', value: 'alerting' }, - { label: 'No Data', value: 'no_data' }, + { label: 'No data', value: 'no_data' }, { label: 'Paused', value: 'paused' }, { label: 'Pending', value: 'pending' }, ]; diff --git a/public/app/features/alerting/AlertTab.tsx b/public/app/features/alerting/AlertTab.tsx index 7fc7e3e2fd9..d596cc47053 100644 --- a/public/app/features/alerting/AlertTab.tsx +++ b/public/app/features/alerting/AlertTab.tsx @@ -148,7 +148,7 @@ class UnConnectedAlertTab extends PureComponent { You need to save dashboard for the delete to take effect. } - confirmText="Delete Alert" + confirmText="Delete alert" onDismiss={onDismiss} onConfirm={() => { delete panel.alert; diff --git a/public/app/features/alerting/components/AlertDefinitionOptions.tsx b/public/app/features/alerting/components/AlertDefinitionOptions.tsx index 05a47d86c5f..58a6dbe9f71 100644 --- a/public/app/features/alerting/components/AlertDefinitionOptions.tsx +++ b/public/app/features/alerting/components/AlertDefinitionOptions.tsx @@ -39,7 +39,7 @@ export const AlertDefinitionOptions: FC = ({ - + - If you want to apply templating to the alert rule name, you must use the following syntax - ${Label} + If you want to apply templating to the alert rule name, use the following syntax - ${Label}