Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import React, { useState, Fragment } from 'react';
import formatMessage from 'format-message';
import { DefaultButton } from 'office-ui-fabric-react/lib/Button';
import { Stack } from 'office-ui-fabric-react/lib/Stack';
import { Link } from 'office-ui-fabric-react/lib/Link';

import { DeployWizard } from './deployWizard.js';
import { styles } from './styles';
Expand All @@ -16,6 +17,7 @@ const instructions = {
),
button1: formatMessage('Create Azure Resources'),
button2: formatMessage('Deploy Bot to Azure'),
helpLink: 'https://aka.ms/bfc-publishing-your-bot',
};

export const Deployment = () => {
Expand Down Expand Up @@ -44,10 +46,13 @@ export const Deployment = () => {
<div style={styles.page}>
<div style={styles.header}>{instructions.title}</div>
<p>{instructions.description}</p>
<Stack horizontal gap="2rem">
<Stack horizontal gap="2rem" styles={{ root: { marginBottom: '1rem' } }}>
<DefaultButton onClick={openWizardCreate} text={instructions.button1} />
<DefaultButton onClick={openWizardDeploy} text={instructions.button2} />
</Stack>
<Link href={instructions.helpLink} rel="noopener noreferrer" target="_blank">
{formatMessage('Learn more')}
</Link>
<DeployWizard isOpen={wizardOpen} initialStep={step} closeModal={closeWizard} />
</div>
</Fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { jsx } from '@emotion/core';
import { useCallback, useContext } from 'react';
import formatMessage from 'format-message';
import { Toggle } from 'office-ui-fabric-react/lib/Toggle';
import { Link } from 'office-ui-fabric-react/lib/Link';

import { StoreContext } from '../../../store';

Expand Down Expand Up @@ -35,6 +36,9 @@ export const OnboardingSettings = () => {
onChange={onChange}
onText={formatMessage('Enabled')}
/>
<Link href="https://aka.ms/bfc-onboarding" target="_blank" rel="noopener noreferrer">
{formatMessage('Learn more')}
</Link>
</div>
);
};
5 changes: 3 additions & 2 deletions Composer/packages/server/schemas/editor.schema
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
},
"Microsoft.OAuthInput": {
"title": "OAuth Login",
"helpLink": "https://aka.ms/bfc-using-oauth"
"helpLink": "https://aka.ms/bfc-using-oauth",
"helpLinkText": "Learn more"
},
"Microsoft.OnActivity": {
"title": "Activities",
Expand Down Expand Up @@ -299,4 +300,4 @@
"helpLinkText": "Learn more"
}
}
}
}