-
-
-
{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 @@
-
-
-
-
-
- {#if testResult[0].outputs.iterations}
-
-
-
-
-
-
- {/if}
-
- {
- inputToggled = !inputToggled
- }}
- class="toggle splitHeader"
- >
-
-
- {#if inputToggled}
-
- {:else}
-
- {/if}
-
-
- {#if inputToggled}
-
-
-
- {/if}
-
- {
- outputToggled = !outputToggled
- }}
- class="toggle splitHeader"
- >
-
-
- {#if outputToggled}
-
- {:else}
-
- {/if}
-
-
- {#if outputToggled}
-
-
-
- {/if}
-
-
-
diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte
index ffd59b4e6a..fecd0fcc7e 100644
--- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte
+++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte
@@ -51,6 +51,7 @@
$automationStore.selectedAutomation?.automation,
testData
)
+ $automationStore.selectedAutomation.automation.showTestPanel = true
} catch (error) {
notifications.error("Error testing notification")
}
diff --git a/packages/builder/src/components/automation/AutomationBuilder/TestPanel.svelte b/packages/builder/src/components/automation/AutomationBuilder/TestPanel.svelte
new file mode 100644
index 0000000000..8c38d8a689
--- /dev/null
+++ b/packages/builder/src/components/automation/AutomationBuilder/TestPanel.svelte
@@ -0,0 +1,146 @@
+
+
+
+
+
+ {
+ $automationStore.selectedAutomation.automation.showTestPanel = false
+ }}
+ hoverable
+ name="Close"
+ />
+
+
+
+
+
+
+ {#each blocks as block, idx}
+
+ {#if block.stepId !== "LOOP"}
+
+ {#if showParameters && showParameters[block.id]}
+
+ {#if testResults?.[idx]?.outputs.iterations}
+
+
+
+
+
+
+ {/if}
+
+
+ {/if}
+ {/if}
+
+ {#if blocks.length - 1 !== idx}
+
+ {/if}
+ {/each}
+
+
+
diff --git a/packages/builder/src/pages/builder/app/[application]/automate/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/automate/_layout.svelte
index 841acb22c0..a713067bbe 100644
--- a/packages/builder/src/pages/builder/app/[application]/automate/_layout.svelte
+++ b/packages/builder/src/pages/builder/app/[application]/automate/_layout.svelte
@@ -4,7 +4,12 @@
import AutomationPanel from "components/automation/AutomationPanel/AutomationPanel.svelte"
import CreateAutomationModal from "components/automation/AutomationPanel/CreateAutomationModal.svelte"
import CreateWebhookModal from "components/automation/Shared/CreateWebhookModal.svelte"
- $: automation = $automationStore.automations[0]
+ import TestPanel from "components/automation/AutomationBuilder/TestPanel.svelte"
+
+ $: automation =
+ $automationStore.selectedAutomation?.automation ||
+ $automationStore.automations[0]
+
let modal
let webhookModal
@@ -39,6 +44,12 @@
{/if}
+
+ {#if automation?.showTestPanel}
+
+
+
+ {/if}
@@ -52,7 +63,9 @@
flex: 1 1 auto;
height: 0;
display: grid;
- grid-template-columns: 260px minmax(510px, 1fr);
+ grid-auto-flow: column dense;
+ grid-template-columns: 260px minmax(510px, 1fr) fit-content(500px);
+ overflow: hidden;
}
.nav {
@@ -64,17 +77,18 @@
border-right: var(--border-light);
background-color: var(--background);
padding-bottom: 60px;
+ overflow: hidden;
}
.content {
position: relative;
- padding: var(--spacing-l) 40px;
+ padding-top: var(--spacing-l);
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
gap: var(--spacing-l);
- overflow: hidden;
+ overflow: auto;
}
.centered {
top: 0;
@@ -92,4 +106,17 @@
.main {
width: 300px;
}
+
+ .setup {
+ padding-top: var(--spectrum-global-dimension-size-200);
+ border-left: var(--border-light);
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: stretch;
+ gap: var(--spacing-l);
+ background-color: var(--background);
+ grid-column: 3;
+ overflow: auto;
+ }
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 0fbc5422a2..57d0988ca3 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/cli",
- "version": "1.0.167-alpha.8",
+ "version": "1.0.167-alpha.9",
"description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js",
"bin": {
diff --git a/packages/client/package.json b/packages/client/package.json
index 794fef2c15..0c94267ffa 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/client",
- "version": "1.0.167-alpha.8",
+ "version": "1.0.167-alpha.9",
"license": "MPL-2.0",
"module": "dist/budibase-client.js",
"main": "dist/budibase-client.js",
@@ -19,9 +19,9 @@
"dev:builder": "rollup -cw"
},
"dependencies": {
- "@budibase/bbui": "^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/frontend-core": "^1.0.167-alpha.9",
+ "@budibase/string-templates": "^1.0.167-alpha.9",
"@spectrum-css/button": "^3.0.3",
"@spectrum-css/card": "^3.0.3",
"@spectrum-css/divider": "^1.0.3",
diff --git a/packages/frontend-core/package.json b/packages/frontend-core/package.json
index 56cb0ed958..9d9c095785 100644
--- a/packages/frontend-core/package.json
+++ b/packages/frontend-core/package.json
@@ -1,12 +1,12 @@
{
"name": "@budibase/frontend-core",
- "version": "1.0.167-alpha.8",
+ "version": "1.0.167-alpha.9",
"description": "Budibase frontend core libraries used in builder and client",
"author": "Budibase",
"license": "MPL-2.0",
"svelte": "src/index.js",
"dependencies": {
- "@budibase/bbui": "^1.0.167-alpha.8",
+ "@budibase/bbui": "^1.0.167-alpha.9",
"lodash": "^4.17.21",
"svelte": "^3.46.2"
}
diff --git a/packages/server/package.json b/packages/server/package.json
index 6216ee48d3..0f4cea2464 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
- "version": "1.0.167-alpha.8",
+ "version": "1.0.167-alpha.9",
"description": "Budibase Web Server",
"main": "src/index.ts",
"repository": {
@@ -69,10 +69,10 @@
"license": "GPL-3.0",
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.3",
- "@budibase/backend-core": "^1.0.167-alpha.8",
- "@budibase/client": "^1.0.167-alpha.8",
- "@budibase/pro": "1.0.167-alpha.8",
- "@budibase/string-templates": "^1.0.167-alpha.8",
+ "@budibase/backend-core": "^1.0.167-alpha.9",
+ "@budibase/client": "^1.0.167-alpha.9",
+ "@budibase/pro": "1.0.167-alpha.9",
+ "@budibase/string-templates": "^1.0.167-alpha.9",
"@bull-board/api": "^3.7.0",
"@bull-board/koa": "^3.7.0",
"@elastic/elasticsearch": "7.10.0",
diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json
index f94cf031a4..241b139370 100644
--- a/packages/string-templates/package.json
+++ b/packages/string-templates/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/string-templates",
- "version": "1.0.167-alpha.8",
+ "version": "1.0.167-alpha.9",
"description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs",
"module": "dist/bundle.mjs",
diff --git a/packages/worker/package.json b/packages/worker/package.json
index ee391811f9..7dae5d87c8 100644
--- a/packages/worker/package.json
+++ b/packages/worker/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/worker",
"email": "hi@budibase.com",
- "version": "1.0.167-alpha.8",
+ "version": "1.0.167-alpha.9",
"description": "Budibase background service",
"main": "src/index.ts",
"repository": {
@@ -31,9 +31,9 @@
"author": "Budibase",
"license": "GPL-3.0",
"dependencies": {
- "@budibase/backend-core": "^1.0.167-alpha.8",
- "@budibase/pro": "1.0.167-alpha.8",
- "@budibase/string-templates": "^1.0.167-alpha.8",
+ "@budibase/backend-core": "^1.0.167-alpha.9",
+ "@budibase/pro": "1.0.167-alpha.9",
+ "@budibase/string-templates": "^1.0.167-alpha.9",
"@koa/router": "^8.0.0",
"@sentry/node": "6.17.7",
"@techpass/passport-openidconnect": "^0.3.0",