diff --git a/lerna.json b/lerna.json index 8f68c88cd1..7c810aa3b6 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.0.167-alpha.8", + "version": "1.0.167-alpha.9", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 54c0b4af17..8235d73018 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "1.0.167-alpha.8", + "version": "1.0.167-alpha.9", "description": "Budibase backend core libraries used in server and worker", "main": "src/index.js", "author": "Budibase", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 86c1258e69..d49d94a4f7 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/bbui", "description": "A UI solution used in the different Budibase projects.", - "version": "1.0.167-alpha.8", + "version": "1.0.167-alpha.9", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "^1.2.1", - "@budibase/string-templates": "^1.0.167-alpha.8", + "@budibase/string-templates": "^1.0.167-alpha.9", "@spectrum-css/actionbutton": "^1.0.1", "@spectrum-css/actiongroup": "^1.0.1", "@spectrum-css/avatar": "^3.0.2", diff --git a/packages/builder/package.json b/packages/builder/package.json index 999de12d99..eec9c5c26f 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "1.0.167-alpha.8", + "version": "1.0.167-alpha.9", "license": "GPL-3.0", "private": true, "scripts": { @@ -69,10 +69,10 @@ } }, "dependencies": { - "@budibase/bbui": "^1.0.167-alpha.8", - "@budibase/client": "^1.0.167-alpha.8", - "@budibase/frontend-core": "^1.0.167-alpha.8", - "@budibase/string-templates": "^1.0.167-alpha.8", + "@budibase/bbui": "^1.0.167-alpha.9", + "@budibase/client": "^1.0.167-alpha.9", + "@budibase/frontend-core": "^1.0.167-alpha.9", + "@budibase/string-templates": "^1.0.167-alpha.9", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/builder/src/builderStore/store/automation/index.js b/packages/builder/src/builderStore/store/automation/index.js index 84e6033439..5252d4b06a 100644 --- a/packages/builder/src/builderStore/store/automation/index.js +++ b/packages/builder/src/builderStore/store/automation/index.js @@ -105,9 +105,7 @@ const automationActions = store => ({ }, select: automation => { store.update(state => { - let testResults = state.selectedAutomation?.testResults state.selectedAutomation = new Automation(cloneDeep(automation)) - state.selectedAutomation.testResults = testResults state.selectedBlock = null return state }) diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte index 505a0b9aca..3e58b25ff6 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte @@ -14,7 +14,6 @@ } from "@budibase/bbui" export let automation - let testDataModal let blocks let confirmDeleteDialog @@ -41,66 +40,70 @@
-
-
-
- {automation.name} -
-
-
- -
-
+
+ {automation.name} +
+
+
+
+
+ +
+ { + testDataModal.show() + }} + icon="MultipleCheck" + size="M">Run test +
{ - testDataModal.show() + $automationStore.selectedAutomation.automation.showTestPanel = true }} - icon="MultipleCheck" - size="M">Run testTest Details
- {#each blocks as block, idx (block.id)} -
- {#if block.stepId !== "LOOP"} - - {/if} -
- {/each}
- - Are you sure you wish to delete the automation - {automation.name}? - This action cannot be undone. - - - - -
+
+ {#each blocks as block, idx (block.id)} +
+ {#if block.stepId !== "LOOP"} + + {/if} +
+ {/each} +
+ + Are you sure you wish to delete the automation + {automation.name}? + This action cannot be undone. + + + + + diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte deleted file mode 100644 index 9662bc8ade..0000000000 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte +++ /dev/null @@ -1,133 +0,0 @@ - - - -
- Test Results -
- {#if isTrigger || testResult[0].outputs.success} -
- -
- {:else} -
- -
- {/if} -
-
- - {#if testResult[0].outputs.iterations} -
- -
- -
-
- {/if} -
-
{ - inputToggled = !inputToggled - }} - class="toggle splitHeader" - > -
-
- - Input - -
-
-
- {#if inputToggled} - - {:else} - - {/if} -
-
- {#if inputToggled} -
-