Skip to content

Commit

Permalink
chore(slack): updated placeholders and labels in ui-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Oct 16, 2024
1 parent 3011f87 commit 29d648c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/configurations/destinations/slack/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"footerNote": "If legacy is choosed then channel mapping will be done based on channel name else it will be done based on channel webhook"
},
{
"label": "Event Channel Settings",
"type": "dynamicCustomForm",
"value": "eventChannelSettings",
"customFields": [
Expand Down Expand Up @@ -85,6 +86,7 @@
"title": "Event Template",
"fields": [
{
"label": "Event Template Settings",
"type": "dynamicCustomForm",
"value": "eventTemplateSettings",
"customFields": [
Expand All @@ -95,7 +97,7 @@
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid Event Name",
"required": false,
"placeholder": "e.g: ABCDEFG"
"placeholder": "e.g: ^slack\\.events\\.[a-zA-Z_]+$\n"
},
{
"type": "textInput",
Expand All @@ -104,7 +106,7 @@
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,1000})$",
"regexErrorMessage": "Invalid Event Template",
"required": false,
"placeholder": "e.g: ABCDEFG"
"placeholder": "e.g: {{name}} did {{event}}"
},
{
"type": "checkbox",
Expand Down

0 comments on commit 29d648c

Please sign in to comment.