diff --git a/pkg/services/ngalert/notifier/channels_config/available_channels.go b/pkg/services/ngalert/notifier/channels_config/available_channels.go index dac5e7e9f4f..95352dd6f49 100644 --- a/pkg/services/ngalert/notifier/channels_config/available_channels.go +++ b/pkg/services/ngalert/notifier/channels_config/available_channels.go @@ -230,7 +230,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { Label: "Description", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated description of the Kafka message", PropertyName: "description", @@ -273,7 +273,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.0. Label: "Subject", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Optional subject. You can use templates to customize this field", PropertyName: "subject", @@ -329,7 +329,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { // New in 8.0. Label: "Summary", Description: "You can use templates for summary", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Placeholder: alertingTemplates.DefaultMessageTitleEmbed, PropertyName: "summary", @@ -405,7 +405,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3. Label: "Title", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated title to display", PropertyName: "title", @@ -413,7 +413,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3. Label: "Description", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated description of the message", PropertyName: "description", @@ -488,7 +488,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { // New in 9.3. Label: "Title", Description: "Templated title of the message.", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, PropertyName: "title", Placeholder: alertingTemplates.DefaultMessageTitleEmbed, @@ -575,7 +575,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3. Label: "Title", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Placeholder: alertingTemplates.DefaultMessageTitleEmbed, PropertyName: "title", @@ -782,7 +782,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { Label: "Title", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated title of the Teams message.", PropertyName: "title", @@ -952,7 +952,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { // New in 9.3. Label: "Title", Description: "Templated title of the message.", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, PropertyName: "title", Placeholder: alertingTemplates.DefaultMessageTitleEmbed, @@ -1081,7 +1081,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.1. Label: "Title", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated title of the message", PropertyName: "title", @@ -1134,7 +1134,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { Label: "Title", Description: "Templated title of the message", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Placeholder: alertingTemplates.DefaultMessageTitleEmbed, PropertyName: "title", @@ -1142,7 +1142,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { Label: "Message Content", Description: "Mention a group using @ or a user using <@ID> when notifying in a channel", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Placeholder: alertingTemplates.DefaultMessageEmbed, PropertyName: "message", @@ -1188,7 +1188,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { Label: "Title", Description: "Templated title of the message", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Placeholder: alertingTemplates.DefaultMessageTitleEmbed, PropertyName: "title", @@ -1218,7 +1218,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3 Label: "Title", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated title of the message", PropertyName: "title", @@ -1226,7 +1226,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3 Label: "Description", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated description of the message", PropertyName: "description", @@ -1273,7 +1273,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3 Label: "Title", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated title of the message.", PropertyName: "title", @@ -1281,7 +1281,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { // New in 9.3 Label: "Description", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Templated description of the message.", PropertyName: "description", @@ -1465,7 +1465,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { { Label: "Message", Description: "Alert text limited to 130 characters.", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Placeholder: alertingTemplates.DefaultMessageTitleEmbed, PropertyName: "message", @@ -1677,7 +1677,7 @@ func GetAvailableNotifiers() []*NotifierPlugin { }, { Label: "Subject", - Element: ElementTypeInput, + Element: ElementTypeTextArea, InputType: InputTypeText, Description: "Optional subject. You can use templates to customize this field", PropertyName: "subject",