|
@@ -336,15 +336,15 @@ const WithProxyAccordions = (props) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const CustomBotIntegrationProcedure = {
|
|
const CustomBotIntegrationProcedure = {
|
|
|
- '①': {
|
|
|
|
|
|
|
+ '1': {
|
|
|
title: 'create_bot',
|
|
title: 'create_bot',
|
|
|
content: <BotCreateProcess />,
|
|
content: <BotCreateProcess />,
|
|
|
},
|
|
},
|
|
|
- '②': {
|
|
|
|
|
|
|
+ '2': {
|
|
|
title: 'install_bot_to_slack',
|
|
title: 'install_bot_to_slack',
|
|
|
content: <BotInstallProcessForCustomBotWithProxy />,
|
|
content: <BotInstallProcessForCustomBotWithProxy />,
|
|
|
},
|
|
},
|
|
|
- '③': {
|
|
|
|
|
|
|
+ '3': {
|
|
|
title: 'register_for_growi_custom_bot_proxy',
|
|
title: 'register_for_growi_custom_bot_proxy',
|
|
|
content: <GeneratingTokensAndRegisteringProxyServiceProcess
|
|
content: <GeneratingTokensAndRegisteringProxyServiceProcess
|
|
|
growiUrl={siteUrl}
|
|
growiUrl={siteUrl}
|
|
@@ -354,11 +354,11 @@ const WithProxyAccordions = (props) => {
|
|
|
onUpdateTokens={props.onUpdateTokens}
|
|
onUpdateTokens={props.onUpdateTokens}
|
|
|
/>,
|
|
/>,
|
|
|
},
|
|
},
|
|
|
- '④': {
|
|
|
|
|
|
|
+ '4': {
|
|
|
title: 'set_proxy_url_on_growi',
|
|
title: 'set_proxy_url_on_growi',
|
|
|
content: <RegisteringProxyUrlProcess />,
|
|
content: <RegisteringProxyUrlProcess />,
|
|
|
},
|
|
},
|
|
|
- '⑤': {
|
|
|
|
|
|
|
+ '5': {
|
|
|
title: 'manage_permission',
|
|
title: 'manage_permission',
|
|
|
content: <ManageCommandsProcess
|
|
content: <ManageCommandsProcess
|
|
|
slackAppIntegrationId={props.slackAppIntegrationId}
|
|
slackAppIntegrationId={props.slackAppIntegrationId}
|
|
@@ -367,7 +367,7 @@ const WithProxyAccordions = (props) => {
|
|
|
permissionsForSlackEventActions={props.permissionsForSlackEventActions}
|
|
permissionsForSlackEventActions={props.permissionsForSlackEventActions}
|
|
|
/>,
|
|
/>,
|
|
|
},
|
|
},
|
|
|
- '⑥': {
|
|
|
|
|
|
|
+ '6': {
|
|
|
title: 'test_connection',
|
|
title: 'test_connection',
|
|
|
content: <TestProcess
|
|
content: <TestProcess
|
|
|
slackAppIntegrationId={props.slackAppIntegrationId}
|
|
slackAppIntegrationId={props.slackAppIntegrationId}
|
|
@@ -389,7 +389,7 @@ const WithProxyAccordions = (props) => {
|
|
|
<Accordion
|
|
<Accordion
|
|
|
title={(
|
|
title={(
|
|
|
<>
|
|
<>
|
|
|
- <span className="me-2">{key}</span>
|
|
|
|
|
|
|
+ <span className="me-3">{key}</span>
|
|
|
{t(`admin:slack_integration.accordion.${value.title}`)}
|
|
{t(`admin:slack_integration.accordion.${value.title}`)}
|
|
|
{value.title === 'test_connection' && isLatestConnectionSuccess && <i className="ms-3 text-success fa fa-check"></i>}
|
|
{value.title === 'test_connection' && isLatestConnectionSuccess && <i className="ms-3 text-success fa fa-check"></i>}
|
|
|
</>
|
|
</>
|