-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: fix: make composer support https proxy (#6766) Force refresh of fluent List via slice (#6810) fix: Telemetry for Orchestrator R13 (#6689) fix: Fixed broken tenant ID on save (#6809) feat: Add devops and app insights to get started (#6790) fix: check for node on app start on users machine and notify if not installed (#6578) feat: Expose default search query, pre-release flag and type for each feed. (#6781) fix: do not provision an endpoint key (#6791) remove folder if project fails to create (#6793) Removed preview from publish type names (#6795) fix: Fixing deep link for QNA and Luis (#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (#6788) Added workerRuntime value (#6784) fix: apply publishing profile to new runtime during publish (#6719) fix: during publish, do not copy project into a build folder (#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (#6697)
- Loading branch information
Showing
51 changed files
with
893 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
Composer/packages/client/src/components/CreationFlow/v2/NodeModal.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* eslint-disable react/no-danger */ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
/** @jsx jsx */ | ||
import { DialogTypes, DialogWrapper } from '@bfc/ui-shared/lib/components/DialogWrapper'; | ||
import { jsx } from '@emotion/core'; | ||
import formatMessage from 'format-message'; | ||
import { DefaultButton, PrimaryButton } from 'office-ui-fabric-react/lib/components/Button'; | ||
import { DialogFooter } from 'office-ui-fabric-react/lib/components/Dialog'; | ||
import React from 'react'; | ||
import { Text } from 'office-ui-fabric-react/lib/Text'; | ||
import { mergeStyles } from 'office-ui-fabric-react/lib/Styling'; | ||
|
||
const dialogFooterClass = mergeStyles({ | ||
marginTop: '25px', | ||
}); | ||
|
||
type NodeModalProps = { | ||
setIsOpen: Function; | ||
isOpen: boolean; | ||
}; | ||
|
||
export const NodeModal: React.FC<NodeModalProps> = (props) => { | ||
return ( | ||
<DialogWrapper | ||
dialogType={DialogTypes.DesignFlow} | ||
isOpen={props.isOpen} | ||
title="Node.js required" | ||
onDismiss={() => { | ||
props.setIsOpen(false); | ||
}} | ||
> | ||
<Text> | ||
{formatMessage( | ||
'Bot Framework Composer requires Node.js in order to create and run a new bot. Click “Install Node.js” to install the latest version' | ||
)} | ||
</Text> | ||
<DialogFooter className={dialogFooterClass}> | ||
<PrimaryButton | ||
data-testid="InstallNode" | ||
href="https://nodejs.org/en/download/" | ||
target="_blank" | ||
text={formatMessage('Install Node.js')} | ||
/> | ||
<DefaultButton | ||
text={formatMessage('Cancel')} | ||
onClick={() => { | ||
props.setIsOpen(false); | ||
}} | ||
/> | ||
</DialogFooter> | ||
</DialogWrapper> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.