-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Adding VA template custom creation UI (#4176)
* Adding va core template plug in with corresponding plugin build steps * Adding env variable feature flag around VA=Core template * removing unused code that was initially added for custom runtime which has been removed * Added creation UI workspace which is linked to and referenced from client package creation flow, Moved some UI assets to shared UI lib for cross workspace reuse, added creation UI experience for va-core template * Minor styling changes * Cleaning up code for review: Moved to standard styling practices, normalized file content structure, added formatMessage() to UI strings, misc clean up * Cleaning up unused changes * removing bot type tile * removing bot type tile * Making requested PR changes, general clean up, conversion of interfaces to types, adding error catching * Converting props types to intersaction with reach router, adding await back to createProject function * Fixing files to follow repoo linting rules * Changed post creation logic to execute on useEffect as opposed to reliance on await * resolve reentry bug * removing unused function * Fixing linting errors * resolve reentry bug * Fixing reference * Updating react version in creation extension * Updating react version in creation extension * Making PR changes * Fixed non static formatMessage calls * minor syntax refactoring * Refactoring state management for more modular state. Implemented local state relationship to prevent excessive rerenders * Making additional state management changes for better readability and performance. minor clean up of interface and file names * Fixing file naming * Formatting template strings for localization * changing ReachRouter version dpendency to match client reach/router version * update Azure Publish yarn.lock * Updating reach router version and tamplate name Co-authored-by: Patrick Volum <pavolum@microsoft.com>
- Loading branch information
1 parent
31ec081
commit 18d66bd
Showing
33 changed files
with
1,029 additions
and
52 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
14 changes: 14 additions & 0 deletions
14
Composer/packages/client/public/react-bundle.js.LICENSE.txt
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,14 @@ | ||
/* | ||
object-assign | ||
(c) Sindre Sorhus | ||
@license MIT | ||
*/ | ||
|
||
/** @license React v16.13.1 | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ |
23 changes: 23 additions & 0 deletions
23
Composer/packages/client/public/react-dom-bundle.js.LICENSE.txt
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,23 @@ | ||
/* | ||
object-assign | ||
(c) Sindre Sorhus | ||
@license MIT | ||
*/ | ||
|
||
/** @license React v0.19.1 | ||
* scheduler.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.13.1 | ||
* react-dom.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ |
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
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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
|
||
export * from './ListOverview'; | ||
export * from './PropertyAssignment'; | ||
export * from './DialogWrapper'; |
7 changes: 7 additions & 0 deletions
7
Composer/packages/ui-plugins/virtual-assistant-creation/.eslintrc.js
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,7 @@ | ||
module.exports = { | ||
extends: ['../../../.eslintrc.react.js'], | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}; |
2 changes: 2 additions & 0 deletions
2
Composer/packages/ui-plugins/virtual-assistant-creation/.gitignore
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,2 @@ | ||
lib | ||
.vscode |
45 changes: 45 additions & 0 deletions
45
Composer/packages/ui-plugins/virtual-assistant-creation/package.json
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,45 @@ | ||
{ | ||
"name": "@bfc/ui-plugin-va-creation", | ||
"version": "0.0.0", | ||
"private": true, | ||
"description": "Virtual assistant creation experience.", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"scripts": { | ||
"start": "tsc --watch --preserveWatchOutput", | ||
"build": "yarn clean && yarn build:ts", | ||
"build:ts": "tsc --build ./tsconfig.build.json", | ||
"clean": "rimraf lib demo/dist", | ||
"lint": "eslint --quiet src", | ||
"lint:fix": "yarn lint --fix", | ||
"prepare": "yarn build" | ||
}, | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@bfc/extension-client": "*", | ||
"@bfc/adaptive-form": "*", | ||
"@uifabric/fluent-theme": "^7.1.4", | ||
"@uifabric/icons": "^7.3.0", | ||
"@uifabric/styling": "^7.7.4", | ||
"format-message": "^6.2.3", | ||
"office-ui-fabric-react": "^7.71.0", | ||
"react": "16.13.1", | ||
"react-dom": "16.13.1" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "16.9.23", | ||
"format-message": "^6.2.3", | ||
"react": "16.13.1", | ||
"react-dom": "16.13.1" | ||
}, | ||
"dependencies": { | ||
"@bfc/ui-shared": "*", | ||
"@bfc/extension-client": "*", | ||
"@emotion/core": "^10.0.27", | ||
"@reach/router": "^1.3.4", | ||
"@types/reach__router": "^1.3.5", | ||
"axios": "^0.19.2" | ||
} | ||
} |
Oops, something went wrong.