diff --git a/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.module.css b/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.module.css index 43b4e87e..f5da34f8 100644 --- a/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.module.css +++ b/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.module.css @@ -57,3 +57,7 @@ .autoresolve-label { margin-bottom: 0 !important; } + +.web-title-message { + margin-top: 8px; +} diff --git a/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.tsx b/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.tsx index 91ef2921..e709bbc6 100644 --- a/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.tsx +++ b/grafana-plugin/src/components/AlertTemplates/AlertTemplatesForm.tsx @@ -240,6 +240,15 @@ const AlertTemplatesForm = (props: AlertTemplatesFormProps) => { Press Ctrl+Space to get suggestions + {activeGroup === 'web' && activeTemplate.name == 'web_title_template' && ( +
+ + Please note that after changing the web title template new alert groups will be searchable by + new title. Alert groups created before the template was changed will be still searchable by + old title only. + +
+ )} ))}