Permalink
Browse files

Revert "new folder layout"

This reverts commit 39485a0.
  • Loading branch information...
eanders-MS committed Feb 8, 2018
1 parent 8ca7fa2 commit 5d5e312313d76c25cd824255889a37279c224fca
Showing with 6,156 additions and 4,083 deletions.
  1. 0 {packages/app → }/.gitattributes
  2. 0 {packages/app → }/.gitignore
  3. +71 −0 .vscode/launch.json
  4. 0 {packages/app → }/.vscode/settings.json
  5. +22 −0 .vscode/tasks.json
  6. 0 {packages/app → }/CONTRIBUTING.md
  7. 0 {packages/app → }/LICENSE.txt
  8. 0 {packages/app → }/README.md
  9. 0 {packages/app → }/ThirdPartyLicenses.txt
  10. 0 {packages/app → }/client-v2/.gitignore
  11. +52 −0 client-v2/gulpfile.js
  12. 0 {packages/app → }/client-v2/package-lock.json
  13. +1 −1 {packages/app → }/client-v2/package.json
  14. BIN {packages/app → }/client-v2/packages/react-dev-utils-4.2.1@ed5c48c.tgz
  15. BIN {packages/app → }/client-v2/packages/react-scripts-ts-2.9.0@e404a66.tgz
  16. 0 {packages/app → }/client-v2/public/css/emulator.css
  17. +21 −23 {packages/app → }/client-v2/public/index.html
  18. +3 −3 {packages/app → }/client-v2/public/manifest.json
  19. +11 −5 {packages/app → }/client-v2/src/constants.js
  20. +11 −12 {packages/app → }/client-v2/src/data/action/assetExplorerActions.js
  21. +27 −27 {packages/app → }/client-v2/src/data/action/cardActions.js
  22. +6 −6 {packages/app → }/client-v2/src/data/action/conversationActions.js
  23. +112 −0 client-v2/src/data/action/editorActions.js
  24. +28 −24 packages/app/client-v2/src/data/reducer/bot.js → client-v2/src/data/action/emulatorActions.js
  25. +6 −7 {packages/app → }/client-v2/src/data/action/navBarActions.js
  26. +4 −4 {packages/app → }/client-v2/src/data/action/serverActions.js
  27. +29 −29 {packages/app → }/client-v2/src/data/debugWebSocketConnection.js
  28. +256 −0 client-v2/src/data/reducer/assetExplorer.js
  29. +265 −0 client-v2/src/data/reducer/card.js
  30. +15 −15 {packages/app → }/client-v2/src/data/reducer/conversation.js
  31. +312 −0 client-v2/src/data/reducer/editor.js
  32. +59 −0 client-v2/src/data/reducer/emulator.js
  33. +13 −13 {packages/app → }/client-v2/src/data/reducer/navBar.js
  34. +12 −12 {packages/app → }/client-v2/src/data/reducer/server.js
  35. +11 −11 {packages/app → }/client-v2/src/data/store.js
  36. +4 −4 {packages/app → }/client-v2/src/index.tsx
  37. +10 −10 {packages/app → }/client-v2/src/integration/fetchJSON.js
  38. +1 −1 {packages/app → }/client-v2/src/integration/urls.js
  39. +7 −7 {packages/app → }/client-v2/src/interceptError.ts
  40. +15 −15 {packages/app → }/client-v2/src/interceptHyperlink.ts
  41. +114 −0 client-v2/src/registerServiceWorker.ts
  42. +101 −0 client-v2/src/setupContextMenu.ts
  43. +207 −0 client-v2/src/ui/dialogs/tabManager/index.js
  44. +257 −0 client-v2/src/ui/editor/cardEditor/cardJsonEditor.js
  45. +18 −18 {packages/app → }/client-v2/src/ui/editor/cardEditor/cardOutputMessage.js
  46. +118 −0 client-v2/src/ui/editor/cardEditor/cardOutputWindow.js
  47. +166 −0 client-v2/src/ui/editor/cardEditor/cardPreviewWindow.js
  48. +9 −9 {packages/app → }/client-v2/src/ui/editor/cardEditor/cardTemplateRow.js
  49. +45 −45 {packages/app → }/client-v2/src/ui/editor/cardEditor/cardTemplatorWindow.js
  50. +113 −0 client-v2/src/ui/editor/cardEditor/index.js
  51. +16 −16 {packages/app → }/client-v2/src/ui/editor/conversationEditor/editorPanel.js
  52. +13 −12 {packages/app → }/client-v2/src/ui/editor/conversationEditor/index.js
  53. +17 −17 {packages/app → }/client-v2/src/ui/editor/conversationEditor/propertiesPanel.js
  54. +15 −18 {packages/app/client-v2/src/ui/editor/botChatEditor → client-v2/src/ui/editor/emulator}/chatPanel.js
  55. +15 −17 ...ages/app/client-v2/src/ui/editor/botChatEditor → client-v2/src/ui/editor/emulator}/detailPanel.js
  56. +18 −17 {packages/app/client-v2/src/ui/editor/botChatEditor → client-v2/src/ui/editor/emulator}/index.js
  57. +15 −21 {packages/app/client-v2/src/ui/editor/botChatEditor → client-v2/src/ui/editor/emulator}/logPanel.js
  58. +79 −0 client-v2/src/ui/editor/emulator/parts/chat.tsx
  59. +52 −0 client-v2/src/ui/editor/emulator/parts/detail.js
  60. +47 −49 packages/app/client-v2/src/ui/shell/navBar/index.js → client-v2/src/ui/editor/emulator/parts/log.js
  61. +27 −0 client-v2/src/ui/editor/emulator/state.ts
  62. +20 −20 {packages/app → }/client-v2/src/ui/editor/index.js
  63. +39 −41 {packages/app → }/client-v2/src/ui/editor/panel.js
  64. +95 −0 client-v2/src/ui/editor/testBedEditor.js
  65. +21 −21 {packages/app → }/client-v2/src/ui/experimental/actionDropdown.js
  66. +20 −20 {packages/app → }/client-v2/src/ui/experimental/actionTextBox.js
  67. +119 −0 client-v2/src/ui/layout/expandCollapse.js
  68. +7 −7 {packages/app → }/client-v2/src/ui/layout/labelling.js
  69. +13 −13 {packages/app → }/client-v2/src/ui/layout/sideBySide.js
  70. +392 −0 client-v2/src/ui/layout/splitter-v2/index.js
  71. +33 −33 {packages/app → }/client-v2/src/ui/layout/splitter-v2/pane.js
  72. +1 −0 client-v2/src/ui/media/ic_analytics.svg
  73. +1 −0 client-v2/src/ui/media/ic_assets.svg
  74. +1 −0 client-v2/src/ui/media/ic_bot_framework.svg
  75. +1 −0 client-v2/src/ui/media/ic_files.svg
  76. +1 −0 client-v2/src/ui/media/ic_notification.svg
  77. +1 −0 client-v2/src/ui/media/ic_services.svg
  78. +1 −0 client-v2/src/ui/media/ic_settings.svg
  79. +1 −0 client-v2/src/ui/media/ic_user.svg
  80. +18 −18 {packages/app → }/client-v2/src/ui/shell/explorer/assetExplorerSet.js
  81. +127 −0 client-v2/src/ui/shell/explorer/cardExplorer.js
  82. +16 −15 {packages/app → }/client-v2/src/ui/shell/explorer/cardExplorerFile.js
  83. +121 −0 client-v2/src/ui/shell/explorer/conversationExplorer.js
  84. +24 −24 ...lient-v2/src/ui/shell/multiTabs/tabBar.js → client-v2/src/ui/shell/explorer/explorerBarContent.js
  85. +73 −0 client-v2/src/ui/shell/explorer/explorerBarTitle.js
  86. +25 −25 {packages/app → }/client-v2/src/ui/shell/explorer/explorerItem.js
  87. +39 −44 {packages/app → }/client-v2/src/ui/shell/explorer/explorerSet.js
  88. +38 −47 {packages/app → }/client-v2/src/ui/shell/explorer/folderNotOpenExplorer.js
  89. +29 −29 {packages/app → }/client-v2/src/ui/shell/explorer/formExplorer.js
  90. +17 −13 {packages/app → }/client-v2/src/ui/shell/explorer/index.js
  91. +29 −29 {packages/app → }/client-v2/src/ui/shell/explorer/luisExplorer.js
  92. +29 −29 {packages/app → }/client-v2/src/ui/shell/explorer/qnaExplorer.js
  93. +142 −0 client-v2/src/ui/shell/main.js
  94. +63 −0 client-v2/src/ui/shell/mdi/cardTab.js
  95. +63 −0 client-v2/src/ui/shell/mdi/conversationTab.js
  96. +63 −0 client-v2/src/ui/shell/mdi/emulatorTab.js
  97. +116 −0 client-v2/src/ui/shell/mdi/genericTab.js
  98. +98 −0 client-v2/src/ui/shell/mdi/index.js
  99. +51 −0 client-v2/src/ui/shell/mdi/tabFactory.js
  100. +99 −0 client-v2/src/ui/shell/mdi/tabStyle.js
  101. +63 −0 client-v2/src/ui/shell/mdi/testBedTab.js
  102. +31 −31 {packages/app → }/client-v2/src/ui/shell/multiTabs/index.js
  103. +187 −0 client-v2/src/ui/shell/multiTabs/tabBar.js
  104. +19 −19 {packages/app → }/client-v2/src/ui/shell/multiTabs/tabBarTab.js
  105. +109 −0 client-v2/src/ui/shell/multiTabs/tabbedDocument/contentOverlay.js
  106. +90 −0 client-v2/src/ui/shell/multiTabs/tabbedDocument/contentWrapper.js
  107. +10 −8 ...c/ui/shell/multiTabs/tabbedDocument.js → client-v2/src/ui/shell/multiTabs/tabbedDocument/index.js
  108. +49 −45 ...t-v2/src/ui/shell/main.js → client-v2/src/ui/shell/multiTabs/tabbedDocument/leftContentOverlay.js
  109. +10 −17 ...rc/data/action/editorActions.js → client-v2/src/ui/shell/multiTabs/tabbedDocument/overlayStyle.js
  110. +99 −0 client-v2/src/ui/shell/multiTabs/tabbedDocument/rightContentOverlay.js
  111. +8 −10 {packages/app → }/client-v2/src/ui/shell/navBar/button.js
  112. +160 −0 client-v2/src/ui/shell/navBar/index.js
  113. +25 −2 {packages/app/client-v2/src/ui/colors → client-v2/src/ui/styles}/colors.js
  114. +2 −16 packages/app/client-v2/src/data/action/botActions.js → client-v2/src/ui/styles/fonts.js
  115. +13 −13 {packages/app → }/client-v2/src/ui/utils/expandFlatTree.js
  116. +20 −20 {packages/app → }/client-v2/src/ui/utils/expandFlatTree.spec.js
  117. +21 −21 {packages/app → }/client-v2/src/ui/utils/filterChildren.js
  118. +26 −26 {packages/app → }/client-v2/src/ui/utils/index.js
  119. +36 −36 {packages/app → }/client-v2/src/ui/widget/connectivityBadge.js
  120. +218 −0 client-v2/src/ui/widget/treeView.js
  121. +1 −1 {packages/app → }/client-v2/src/utils.js
  122. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBar.tsx
  123. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarBotCreds.tsx
  124. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarMenu.tsx
  125. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarOperators.ts
  126. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarRefresh.tsx
  127. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarSearch.tsx
  128. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarStatus.tsx
  129. 0 {packages/app → }/client-v2/src/v1/addressBar/addressBarTextBox.tsx
  130. 0 {packages/app → }/client-v2/src/v1/botEmulatorContext.ts
  131. 0 {packages/app → }/client-v2/src/v1/constants.ts
  132. 0 {packages/app → }/client-v2/src/v1/dialogs/appSettingsDialog.tsx
  133. 0 {packages/app → }/client-v2/src/v1/dialogs/commonDialog.tsx
  134. 0 {packages/app → }/client-v2/src/v1/emulator.ts
  135. 0 {packages/app → }/client-v2/src/v1/hyperlinkHandler.ts
  136. 0 {packages/app → }/client-v2/src/v1/inspectorView.tsx
  137. 0 {packages/app → }/client-v2/src/v1/log.ts
  138. 0 {packages/app → }/client-v2/src/v1/logView.tsx
  139. 0 {packages/app → }/client-v2/src/v1/mainView.tsx
  140. 0 {packages/app → }/client-v2/src/v1/payments/addCreditCardView.tsx
  141. 0 {packages/app → }/client-v2/src/v1/payments/addShippingAddressView.tsx
  142. 0 {packages/app → }/client-v2/src/v1/payments/button.tsx
  143. 0 {packages/app → }/client-v2/src/v1/payments/checkoutSettings.tsx
  144. 0 {packages/app → }/client-v2/src/v1/payments/checkoutTypes.tsx
  145. 0 {packages/app → }/client-v2/src/v1/payments/checkoutView.tsx
  146. 0 {packages/app → }/client-v2/src/v1/payments/index.html
  147. 0 {packages/app → }/client-v2/src/v1/payments/index.tsx
  148. 0 {packages/app → }/client-v2/src/v1/payments/paymentDetails.tsx
  149. 0 {packages/app → }/client-v2/src/v1/payments/selectCreditCard.tsx
  150. 0 {packages/app → }/client-v2/src/v1/payments/selectShippingAddress.tsx
  151. 0 {packages/app → }/client-v2/src/v1/payments/selectShippingMethod.tsx
  152. 0 {packages/app → }/client-v2/src/v1/payments/selectorComponent.tsx
  153. 0 {packages/app → }/client-v2/src/v1/reducers.ts
  154. 0 {packages/app → }/client-v2/src/v1/settings.ts
  155. 0 {packages/app → }/client-v2/src/v1/splash.html
  156. +1 −1 {packages/app → }/client-v2/tsconfig.json
  157. 0 {packages/app → }/client-v2/tsconfig.test.json
  158. 0 {packages/app → }/client-v2/tslint.json
  159. 0 {packages/app → }/getlicenses.cmd
  160. 0 {packages/app → }/gulpfile.js
  161. 0 {packages/app → }/package-lock.json
  162. +8 −18 {packages/app → }/package.json
  163. +0 −71 packages/app/.vscode/launch.json
  164. +0 −22 packages/app/.vscode/tasks.json
  165. +0 −44 packages/app/client-v2/gulpfile.js
  166. +0 −53 packages/app/client-v2/public/css/splitter.css
  167. +0 −256 packages/app/client-v2/src/data/reducer/assetExplorer.js
  168. +0 −166 packages/app/client-v2/src/data/reducer/card.js
  169. +0 −83 packages/app/client-v2/src/data/reducer/editor.js
  170. +0 −114 packages/app/client-v2/src/registerServiceWorker.ts
  171. +0 −101 packages/app/client-v2/src/setupContextMenu.ts
  172. +0 −257 packages/app/client-v2/src/ui/editor/cardEditor/cardJsonEditor.js
  173. +0 −118 packages/app/client-v2/src/ui/editor/cardEditor/cardOutputWindow.js
  174. +0 −166 packages/app/client-v2/src/ui/editor/cardEditor/cardPreviewWindow.js
  175. +0 −113 packages/app/client-v2/src/ui/editor/cardEditor/index.js
  176. +0 −95 packages/app/client-v2/src/ui/editor/testBedEditor.js
  177. +0 −112 packages/app/client-v2/src/ui/layout/expandCollapse.js
  178. +0 −308 packages/app/client-v2/src/ui/layout/splitter-v2/index.js
  179. +0 −109 packages/app/client-v2/src/ui/shell/explorer/botExplorer.js
  180. +0 −127 packages/app/client-v2/src/ui/shell/explorer/cardExplorer.js
  181. +0 −118 packages/app/client-v2/src/ui/shell/explorer/conversationExplorer.js
  182. +0 −41 packages/app/client-v2/src/ui/shell/explorer/emulatorExplorerSet.js
  183. +0 −35 packages/app/client-v2/src/ui/shell/mdi/botTab.js
  184. +0 −37 packages/app/client-v2/src/ui/shell/mdi/cardTab.js
  185. +0 −8 packages/app/client-v2/src/ui/shell/mdi/conversationTab.js
  186. +0 −50 packages/app/client-v2/src/ui/shell/mdi/index.js
  187. +0 −18 packages/app/client-v2/src/ui/shell/mdi/tabFactory.js
  188. +0 −6 packages/app/client-v2/src/ui/shell/mdi/testBedTab.js
  189. +0 −218 packages/app/client-v2/src/ui/widget/treeView.js
  190. 0 packages/chat-extension/README.md
  191. 0 packages/luis-extension/README.md
  192. 0 packages/qnamaker-extension/README.md
  193. 0 packages/sdk/README.md
  194. 0 packages/ui-react/README.md
  195. 0 {packages/app → }/src/server/OpenIdMetadata.ts
  196. 0 {packages/app → }/src/server/botFrameworkAuthentication.ts
  197. 0 {packages/app → }/src/server/botFrameworkService.ts
  198. 0 {packages/app → }/src/server/commandLine.ts
  199. 0 {packages/app → }/src/server/controllers/connector/attachmentsController.ts
  200. 0 {packages/app → }/src/server/controllers/connector/botStateController.ts
  201. 0 {packages/app → }/src/server/controllers/connector/conversationsController.ts
  202. 0 {packages/app → }/src/server/controllers/directLine/conversationsControllerV3.ts
  203. 0 {packages/app → }/src/server/controllers/directLine/tokensControllerV3.ts
  204. 0 {packages/app → }/src/server/controllers/emulator/emulatorController.ts
  205. 0 {packages/app → }/src/server/conversationManager.ts
  206. +6 −6 {packages/app → }/src/server/data-v2/action/assetExplorer.ts
  207. +20 −20 {packages/app → }/src/server/data-v2/createStore.ts
  208. 0 {packages/app → }/src/server/data-v2/reducer/index.ts
  209. +18 −18 {packages/app → }/src/server/data-v2/sagas/assetExplorer/promptOpenFolder.ts
  210. +2 −2 {packages/app → }/src/server/data-v2/sagas/index.ts
  211. +10 −10 {packages/app → }/src/server/data-v2/sagas/ping.ts
  212. 0 {packages/app → }/src/server/emulator.ts
  213. 0 {packages/app → }/src/server/jsonBodyParser.ts
  214. 0 {packages/app → }/src/server/log.ts
  215. +1 −1 {packages/app → }/src/server/main.ts
  216. 0 {packages/app → }/src/server/ngrok.ts
  217. 0 {packages/app → }/src/server/reducers/botReducer.ts
  218. 0 {packages/app → }/src/server/reducers/frameworkReducer.ts
  219. 0 {packages/app → }/src/server/reducers/usersReducer.ts
  220. 0 {packages/app → }/src/server/reducers/windowStateReducer.ts
  221. 0 {packages/app → }/src/server/restServer.ts
  222. 0 {packages/app → }/src/server/settings.ts
  223. 0 {packages/app → }/src/server/versionManager.ts
  224. 0 {packages/app → }/src/server/windowManager.ts
  225. 0 {packages/app → }/src/shared/activityVisitor.ts
  226. 0 {packages/app → }/src/shared/globals.ts
  227. 0 {packages/app → }/src/shared/paymentEncoder.ts
  228. 0 {packages/app → }/src/shared/utils.ts
  229. 0 {packages/app → }/src/types/accountTypes.ts
  230. 0 {packages/app → }/src/types/activityTypes.ts
  231. 0 {packages/app → }/src/types/attachmentTypes.ts
  232. 0 {packages/app → }/src/types/botTypes.ts
  233. 0 {packages/app → }/src/types/commandLineArgsTypes.ts
  234. 0 {packages/app → }/src/types/conversationTypes.ts
  235. 0 {packages/app → }/src/types/eTagTypes.ts
  236. 0 {packages/app → }/src/types/entityTypes.ts
  237. 0 {packages/app → }/src/types/paymentTypes.ts
  238. 0 {packages/app → }/src/types/responseTypes.ts
  239. 0 {packages/app → }/src/types/serverSettingsTypes.ts
  240. 0 {packages/app → }/src/types/speechTypes.ts
  241. 0 {packages/app → }/src/types/userTypes.ts
  242. 0 {packages/app → }/tests/integration/integration.ts
  243. 0 {packages/app → }/tests/package.json
  244. 0 {packages/app → }/tests/performance/performance.ts
  245. 0 {packages/app → }/tests/testBot/testBot.ts
  246. 0 {packages/app → }/tests/testHelpers.ts
  247. 0 {packages/app → }/tests/tsconfig.json
  248. 0 {packages/app → }/tests/unit/settings.ts
  249. 0 {packages/app → }/tests/unit/utils.ts
  250. 0 {packages/app → }/tsconfig.json
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,71 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach",
"port": 7777
},
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/app/server/main.js",
"stopOnEntry": false,
"args": [],
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
"--nolazy",
"--vscode-debugger"
],
"env": {
"NODE_ENV": "development"
},
"sourceMaps": true,
"protocol": "inspector"
},
{
"name": "Launch with localhost:3000",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/app/server/main.js",
"stopOnEntry": false,
"args": [],
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
".",
"--nolazy",
"--vscode-debugger"
],
"env": {
"ELECTRON_TARGET_URL": "http://localhost:3000/",
"NODE_ENV": "development"
},
"sourceMaps": true,
"protocol": "inspector"
},
{
"name": "Debug integration tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"runtimeExecutable": "node",
"stopOnEntry": false,
"args": ["-t", "20000", "--compilers", "ts:ts-node/register", "${workspaceRoot}/tests/integration/integration.ts"],
"env": { "NODE_ENV": "test"},
"cwd": "${workspaceRoot}",
"sourceMaps": false,
"protocol": "inspector"
}
]
}
File renamed without changes.
@@ -0,0 +1,22 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "gulp",
"isShellCommand": true,
"args": [
"--no-color"
],
"tasks": [
{
"taskName": "build",
"args": [],
"isBuildCommand": true,
"problemMatcher": [
"$lessCompile",
"$tsc",
"$jshint"
]
}
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,52 @@
var gulp = require('gulp');
gulp.task('copy', [
'copy:shared',
'copy:types',
'copy:media',
'copy:webchat:cognitiveservices',
'copy:webchat:css',
'copy:monaco'
]);
// TODO: We should either repackage CognitiveServices.js into a separate package, or expose it in Web Chat
gulp.task('copy:webchat:cognitiveservices', function () {
return gulp
.src('node_modules/botframework-webchat/CognitiveServices.js')
.pipe(gulp.dest('./src/external/botframework-webchat'));
});
// TODO: We should expose CSS programmatically in Web Chat
gulp.task('copy:webchat:css', function () {
return gulp
.src('node_modules/botframework-webchat/botchat.css')
.pipe(gulp.dest('./public/external/css'));
});
// Copy media files to external
gulp.task('copy:media', function () {
return gulp
.src('src/ui/media/**/*')
.pipe(gulp.dest('./public/external/media'));
});
// TODO: This task should be obsoleted when we package shared code into its own NPM package
gulp.task('copy:shared', function () {
return gulp
.src('../src/shared/**/*')
.pipe(gulp.dest('./src/external/shared'));
});
// TODO: This task should be obsoleted when we package shared code into its own NPM package
gulp.task('copy:types', function () {
return gulp
.src('../src/types/**/*')
.pipe(gulp.dest('./src/external/types'));
});
// Copy monaco to /public
gulp.task('copy:monaco', function () {
return gulp
.src('node_modules/monaco-editor/min/vs/**/*')
.pipe(gulp.dest('./public/external/vs'))
});
File renamed without changes.
@@ -40,4 +40,4 @@
"react-dev-utils": "file:packages/react-dev-utils-4.2.1@ed5c48c.tgz",
"react-scripts-ts": "file:packages/react-scripts-ts-2.9.0@e404a66.tgz"
}
}
}
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<!--
<!--
Copyright (c) Microsoft. All rights reserved.
Licensed under the MIT license.
@@ -33,16 +33,16 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
@@ -51,18 +51,17 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link href="css/splitter.css" rel="stylesheet" />
<link href="external/css/botchat.css" rel="stylesheet" />
<link href="css/emulator.css" rel="stylesheet" />
<title></title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
<link href="css/splitter.css" rel="stylesheet" />
<link href="external/css/botchat.css" rel="stylesheet" />
<link href="css/emulator.css" rel="stylesheet" />
<title></title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
@@ -72,6 +71,5 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
</body>
</html>
@@ -1,6 +1,6 @@
{
"short_name": "Bot Framework Emulator",
"name": "Bot Framework Emulator",
"short_name": "Bot Studio",
"name": "Bot Studio",
"icons": [
{
"src": "favicon.ico",
@@ -12,4 +12,4 @@
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
}
@@ -31,10 +31,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
export const ContentType_Card = 'application/vnd.microsoft.botstudio.document.card';
export const ContentType_Conversation = 'application/vnd.microsoft.botstudio.document.conversation';
export const ContentType_BotChat = 'application/vnd.microsoft.botstudio.document.botchat';
export const ContentType_TestBed = 'application/vnd.microsoft.botstudio.testbed';
export const ContentType_Card = 'application/vnd.microsoft.botbuilderstudio.document.card';
export const ContentType_Conversation = 'application/vnd.microsoft.botbuilderstudio.document.conversation';
export const ContentType_Emulator = 'application/vnd.microsoft.botbuilderstudio.document.emulator';
export const ContentType_TestBed = 'application/vnd.microsoft.botbuilderstudio.testbed';
export const NavBar_Bots = 'navbar.bots';
export const NavBar_App = 'navbar.app';
export const NavBar_Files = 'navbar.files';
export const NavBar_Assets = 'navbar.assets';
export const NavBar_Services = 'navbar.services';
export const NavBar_Analytics = 'navbar.analytics';
export const NavBar_Settings = 'navbar.settings';
export const NavBar_Notifications = 'navbar.notifications';
export const NavBar_User = 'navbar.user';
@@ -44,22 +44,21 @@
// * 20% of actions, their logic is the same
export const OPEN_FOLDER = 'ASSET_EXPLORER/OPEN_FOLDER';
export const PROMPT_OPEN_FOLDER = 'ASSET_EXPLORER/PROMPT_OPEN_FOLDER';
export function openFolder(folder) {
return {
type: OPEN_FOLDER,
meta: { send: true },
payload: {
folder
return {
type: OPEN_FOLDER,
meta: { send: true },
payload: {
folder
}
}
}
}
export const PROMPT_OPEN_FOLDER = 'ASSET_EXPLORER/PROMPT_OPEN_FOLDER';
export function promptOpenFolder() {
return {
type: PROMPT_OPEN_FOLDER,
meta: { send: true }
};
return {
type: PROMPT_OPEN_FOLDER,
meta: { send: true }
};
}
@@ -39,40 +39,40 @@ export const CLEAR_OUTPUT_WINDOW = 'CARD/CLEAR_OUTPUT_WINDOW';
export const CREATE_CARD = 'CARD/CREATE_CARD';
export function updateCardJson(id, json) {
return {
type: UPDATE_JSON,
payload: {
id,
json
}
};
return {
type: UPDATE_JSON,
payload: {
id,
json
}
};
}
export function addCardOutputMessage(id, msg) {
return {
type: ADD_OUTPUT_MSG,
payload: {
id,
msg
}
};
return {
type: ADD_OUTPUT_MSG,
payload: {
id,
msg
}
};
}
export function clearCardOutputWindow(id) {
return {
type: CLEAR_OUTPUT_WINDOW,
payload: {
id
}
};
return {
type: CLEAR_OUTPUT_WINDOW,
payload: {
id
}
};
}
export function createCard(card) {
return {
type: CREATE_CARD,
payload: {
id: uniqueId(),
card
}
};
return {
type: CREATE_CARD,
payload: {
id: uniqueId(),
card
}
};
}
@@ -36,10 +36,10 @@ import { uniqueId } from '../../utils';
export const CREATE = 'CONVERSATION/CREATE';
export function create() {
return {
type: CREATE,
payload: {
conversationId: uniqueId()
}
};
return {
type: CREATE,
payload: {
conversationId: uniqueId()
}
};
}
Oops, something went wrong.

0 comments on commit 5d5e312

Please sign in to comment.