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 13 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
8 changes: 4 additions & 4 deletions Composer/cypress/integration/DesignPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ context('breadcrumb', () => {
cy.findByTestId('DialogHeader-TestBot_TestSample').within(() => {
cy.findByTestId('dialogMoreButton').click({ force: true });
});
cy.findAllByText('Add a trigger').click({ force: true });
cy.findAllByText('Add new trigger').click({ force: true });
cy.findByTestId('triggerTypeDropDown').click();
cy.get('[title="Intent recognized"]').click();
cy.findByTestId('TriggerName').type('myTrigger1');
Expand All @@ -92,7 +92,7 @@ context('breadcrumb', () => {
cy.findByTestId('DialogHeader-TestBot_TestSample').within(() => {
cy.findByTestId('dialogMoreButton').click({ force: true });
});
cy.findAllByText('Add a trigger').click({ force: true });
cy.findAllByText('Add new trigger').click({ force: true });
cy.findByTestId('triggerTypeDropDown').click();
cy.get('[title="Dialog events"]').click();
cy.findByText('Select an event type').click();
Expand All @@ -104,7 +104,7 @@ context('breadcrumb', () => {
cy.findByTestId('DialogHeader-TestBot_TestSample').within(() => {
cy.findByTestId('dialogMoreButton').click({ force: true });
});
cy.findAllByText('Add a trigger').click({ force: true });
cy.findAllByText('Add new trigger').click({ force: true });
cy.findByTestId('triggerTypeDropDown').click();
cy.get('[title="Custom events"]').click();
cy.findByTestId('CustomEventName').type('myCustomEvent');
Expand All @@ -115,7 +115,7 @@ context('breadcrumb', () => {
cy.findByTestId('DialogHeader-TestBot_TestSample').within(() => {
cy.findByTestId('dialogMoreButton').click({ force: true });
});
cy.findAllByText('Add a trigger').click({ force: true });
cy.findAllByText('Add new trigger').click({ force: true });
cy.findByTestId('triggerTypeDropDown').click();
cy.get('[title="Activities"]').click();
cy.findByText('Select an activity type').click();
Expand Down
2 changes: 1 addition & 1 deletion Composer/cypress/integration/LuisDeploy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ context('Luis Deploy', () => {

it('can deploy luis success', () => {
cy.visitPage('Project settings');
cy.findByText('Development Resources').click();
cy.findByText('Development resources').click();
cy.findAllByTestId('rootLUISAuthoringKey').type('12345678', { delay: 200 });
cy.findAllByTestId('rootLUISRegion').click();
cy.findByText('West US').click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export const GetStarted: React.FC<GetStartedProps> = (props) => {
return (
<Stack grow styles={{ root: { alignSelf: 'flex-start', padding: '0 20px' } }}>
<Pivot styles={{ link: { fontSize: '20px' }, linkIsSelected: { fontSize: '20px' } }}>
<PivotItem headerText={formatMessage('Next steps')}>
<PivotItem headerText={formatMessage('Get started')}>
<GetStartedNextSteps {...props} />
</PivotItem>
<PivotItem headerText={formatMessage('Learning')}>
<PivotItem headerText={formatMessage('Learn more')}>
<GetStartedLearn projectId={projectId} onDismiss={onDismiss} />
</PivotItem>
</Pivot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
if (props.requiresLUIS) {
newNextSteps.push({
key: 'luis',
label: formatMessage('Add a LUIS key'),
description: formatMessage('Setup Language Understanding so that you can start and test your bot.'),
label: formatMessage('Set up Language Understanding'),
description: formatMessage(
'Use machine learning to understand natural language input and direct the conversation flow.'
),
learnMore: 'https://aka.ms/composer-luis-learnmore',
required: true,
checked: hasLUIS,
Expand All @@ -153,8 +155,10 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
if (props.requiresQNA) {
newNextSteps.push({
key: 'qna',
label: formatMessage('Add a QnA Maker key'),
description: formatMessage('Your template requires QnA Maker to access content for your bot.'),
label: formatMessage('Set up QnA Maker'),
description: formatMessage(
'Use Azure QnA Maker to create a simple question-and-answer bot from a website FAQ.'
),
learnMore: 'https://aka.ms/composer-addqnamaker-learnmore',
required: true,
checked: hasQNA,
Expand Down Expand Up @@ -196,7 +200,9 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
newRecomendedSteps.push({
key: 'publishing',
label: formatMessage('Create a publishing profile'),
description: formatMessage('Set up hosting and other Azure resources to enable publishing'),
description: formatMessage(
'A publishing profile provides the secure connectivity required to publish your bot.'
),
checked: hasPublishingProfile,
learnMore: 'https://aka.ms/composer-getstarted-publishingprofile',
onClick: () => {
Expand Down Expand Up @@ -225,8 +231,10 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {

newRecomendedSteps.push({
key: 'editlg',
label: formatMessage('Edit what your bot says'),
description: formatMessage('Customize your bot by editing and adding bot responses.'),
label: formatMessage('Edit bot responses'),
description: formatMessage(
"Define your bot's responses, add phrase variations, execute simple expressions based on context, or refer to conversational memory."
),
learnMore: 'https://aka.ms/composer-getstarted-editbotsays',
checked: false,
onClick: () => {
Expand All @@ -237,8 +245,8 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
});
newRecomendedSteps.push({
key: 'editlu',
label: formatMessage('Train your language model'),
description: formatMessage('Ensure your bot can understand your users by frequently training your LUIS model.'),
label: formatMessage('Edit user input and triggers'),
description: formatMessage('Define user input and trigger phrases to direct the conversation flow.'),
learnMore: 'https://aka.ms/composer-luis-learnmore',
checked: false,
onClick: () => {
Expand All @@ -254,7 +262,7 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
{
key: 'packages',
label: formatMessage('Add packages'),
description: formatMessage('Visit the Package manager to browse packages to add to your bot.'),
description: formatMessage('Extend your bot with reusable dialogs, bot response templates and custom actions.'),
learnMore: 'https://aka.ms/composer-getstarted-addpackages',
checked: false,
onClick: () => {
Expand All @@ -265,10 +273,8 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
},
{
key: 'insights',
label: formatMessage('Enable Insights'),
description: formatMessage(
'Collect service-level and conversation-level data to help gauge the performance and efficacy of your bot.'
),
label: formatMessage('Enable App Insights'),
description: formatMessage('Collect information about the use and performance of your bot.'),
learnMore: 'https://aka.ms/composer-getstarted-enableinsights',
checked: false,
onClick: () => {
Expand All @@ -279,8 +285,10 @@ export const GetStartedNextSteps: React.FC<GetStartedProps> = (props) => {
},
{
key: 'devops',
label: formatMessage('Publish to Dev Ops'),
description: formatMessage('Learn how to publish to a Dev Ops pipeline using CI / CD.'),
label: formatMessage('Set up continuous deployment (DevOps)'),
description: formatMessage(
'Build a continuous integration and deployment (CI/CD) pipeline with Azure Resource Manager templates.'
),
learnMore: 'https://aka.ms/bfcomposercicd',
checked: false,
onClick: () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@ export const ManageLuis = (props: ManageLuisProps) => {
<ManageService
createService={createService}
handoffInstructions={formatMessage(
'1. Using the Azure portal, please create a Language Understanding resource on my behalf.\n2. Once provisioned, securely share the resulting credentials with me as described in the link below.\n\nDetailed instructions:\nhttps://aka.ms/bfcomposerhandoffluis'
'1. Using the Azure portal, please create a Language Understanding resource.\n2. Once created, securely share the resulting credentials with me as described in the link below.\n\nDetailed instructions:\nhttps://aka.ms/bfcomposerhandoffluis'
Comment thread
benbrown marked this conversation as resolved.
)}
hidden={props.hidden}
introText={formatMessage(
'To understand natural language input and direct the conversation flow, your bot needs a language understanding service. '
)}
learnMore={'https://aka.ms/composer-luis-learnmore'}
regions={LUIS_REGIONS}
serviceKeyType={'LUIS.Authoring'}
serviceName={'LUIS'}
serviceName={'Language Understanding'}
onDismiss={props.onDismiss}
onGetKey={props.onGetKey}
onNext={props.onNext}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const ManageQNA = (props: ManageQNAProps) => {
'1. Using the Azure portal, please create a QnAMaker resource on my behalf.\n2. Once provisioned, securely share the resulting credentials with me as described in the link below.\n\nDetailed instructions:\nhttps://aka.ms/bfcomposerhandoffqnamaker'
)}
hidden={props.hidden}
introText={formatMessage('Use Azure QnA Maker to create a simple question-and-answer bot from a website FAQ. ')}
learnMore={'https://aka.ms/composer-addqnamaker-learnmore'}
regions={QNA_REGIONS}
serviceKeyType={'QnAMaker'}
Expand Down
Loading