PLT-1750 Moved slash commands to backstage
* Added slash commands to InstalledIntegrations page * Reset installed integration type filter if there is no longer any integrations of the selected type * Added pages to backstage to add slash commands * Cleaned up internationalization for slash commands * Added ability to regen slash command tokens from backstage * Removed Integrations tab from UserSettings
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
c12d997f24
Коммит
b3edd32aee
@@ -42,6 +42,7 @@ import InstalledIntegrations from 'components/backstage/installed_integrations.j
|
||||
import AddIntegration from 'components/backstage/add_integration.jsx';
|
||||
import AddIncomingWebhook from 'components/backstage/add_incoming_webhook.jsx';
|
||||
import AddOutgoingWebhook from 'components/backstage/add_outgoing_webhook.jsx';
|
||||
import AddCommand from 'components/backstage/add_command.jsx';
|
||||
import ErrorPage from 'components/error_page.jsx';
|
||||
|
||||
import SignupTeamComplete from 'components/signup_team_complete/components/signup_team_complete.jsx';
|
||||
@@ -285,6 +286,14 @@ function renderRootComponent() {
|
||||
center: AddOutgoingWebhook
|
||||
}}
|
||||
/>
|
||||
<Route
|
||||
path='command'
|
||||
components={{
|
||||
navbar: BackstageNavbar,
|
||||
sidebar: BackstageSidebar,
|
||||
center: AddCommand
|
||||
}}
|
||||
/>
|
||||
</Route>
|
||||
<Redirect
|
||||
from='*'
|
||||
|
||||
Ссылка в новой задаче
Block a user