diff --git a/server/Makefile b/server/Makefile index 79c722ffc1..7568c89eae 100644 --- a/server/Makefile +++ b/server/Makefile @@ -168,6 +168,7 @@ PLUGIN_PACKAGES += mattermost-plugin-jenkins-v1.1.0 PLUGIN_PACKAGES += mattermost-plugin-jira-v3.2.5 PLUGIN_PACKAGES += mattermost-plugin-jitsi-v2.0.1 PLUGIN_PACKAGES += mattermost-plugin-nps-v1.3.2 +PLUGIN_PACKAGES += mattermost-plugin-servicenow-v2.3.4 PLUGIN_PACKAGES += mattermost-plugin-todo-v0.6.1 PLUGIN_PACKAGES += mattermost-plugin-welcomebot-v1.3.0 PLUGIN_PACKAGES += mattermost-plugin-zoom-v1.6.0 diff --git a/webapp/channels/src/components/common/svg_images_components/servicenow_svg.tsx b/webapp/channels/src/components/common/svg_images_components/servicenow_svg.tsx new file mode 100644 index 0000000000..8ba0c03560 --- /dev/null +++ b/webapp/channels/src/components/common/svg_images_components/servicenow_svg.tsx @@ -0,0 +1,22 @@ +// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + +import React from 'react'; + +export default () => ( + + + + +); diff --git a/webapp/channels/src/components/common/svg_images_components/todo_svg.tsx b/webapp/channels/src/components/common/svg_images_components/todo_svg.tsx deleted file mode 100644 index 4e5dc631fe..0000000000 --- a/webapp/channels/src/components/common/svg_images_components/todo_svg.tsx +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See LICENSE.txt for license information. - -import React from 'react'; - -export default () => ( - - - - - - - - - -); diff --git a/webapp/channels/src/components/preparing_workspace/plugins.tsx b/webapp/channels/src/components/preparing_workspace/plugins.tsx index 7eeea617f5..466458ad0f 100644 --- a/webapp/channels/src/components/preparing_workspace/plugins.tsx +++ b/webapp/channels/src/components/preparing_workspace/plugins.tsx @@ -12,7 +12,7 @@ import GithubSVG from 'components/common/svg_images_components/github_svg'; import GitlabSVG from 'components/common/svg_images_components/gitlab_svg'; import JiraSVG from 'components/common/svg_images_components/jira_svg'; import ZoomSVG from 'components/common/svg_images_components/zoom_svg'; -import TodoSVG from 'components/common/svg_images_components/todo_svg'; +import ServiceNowSVG from 'components/common/svg_images_components/servicenow_svg'; import ExternalLink from 'components/external_link'; import {Animations, mapAnimationReasonToClass, Form, PreparingWorkspacePageProps} from './steps'; @@ -133,37 +133,39 @@ const Plugins = (props: Props) => { }), }, { - onClick: () => props.setOption('todo'), - icon: , - id: t('onboarding_wizard.plugins.todo'), - defaultMessage: 'To do', - checked: props.options.todo, + onClick: () => props.setOption('servicenow'), + icon: , + id: t('onboarding_wizard.plugins.servicenow'), + defaultMessage: 'ServiceNow', + checked: props.options.servicenow, tooltip: formatMessage({ - id: 'onboarding_wizard.plugins.todo.tooltip', - defaultMessage: 'To do tooltip', + id: 'onboarding_wizard.plugins.servicenow.tooltip', + defaultMessage: 'ServiceNow tooltip', }), }, ]} /> -
- ( - - - {chunks} - - - ), - }} - /> -
+ {props.isSelfHosted && ( +
+ ( + + + {chunks} + + + ), + }} + /> +
+ )}