Commit 43ebce85 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'highlight-slack-channel-examples' into 'master'

Slack integration: Highlight channel name examples as such

See merge request gitlab-org/gitlab!63046
parents 51040942 581a71f5
......@@ -10,7 +10,7 @@ const typeWithPlaceholder = {
};
const placeholderForType = {
[typeWithPlaceholder.SLACK]: __('general, development'),
[typeWithPlaceholder.SLACK]: __('#general, #development'),
[typeWithPlaceholder.MATTERMOST]: __('my-channel'),
};
......
......@@ -25,7 +25,7 @@ module Integrations
end
def default_channel_placeholder
_('general, development')
_('#general, #development')
end
def webhook_placeholder
......
......@@ -89,6 +89,9 @@ msgstr ""
msgid "\"el\" parameter is required for createInstance()"
msgstr ""
msgid "#general, #development"
msgstr ""
msgid "%d Approval"
msgid_plural "%d Approvals"
msgstr[0] ""
......@@ -38678,9 +38681,6 @@ msgid_plural "from %d jobs"
msgstr[0] ""
msgstr[1] ""
msgid "general, development"
msgstr ""
msgid "group"
msgstr ""
......
......@@ -137,11 +137,11 @@ describe('TriggerFields', () => {
const expectedResults = [
{
name: 'service[push_channel]',
placeholder: 'general, development',
placeholder: '#general, #development',
},
{
name: 'service[merge_request_channel]',
placeholder: 'general, development',
placeholder: '#general, #development',
},
];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment