diff --git a/lerna.json b/lerna.json index a687b57552..31a9b4f058 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.9.160-alpha.0", + "version": "0.9.160-alpha.3", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/auth/package.json b/packages/auth/package.json index 6469114278..fe4e4bf377 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/auth", - "version": "0.9.160-alpha.0", + "version": "0.9.160-alpha.3", "description": "Authentication middlewares for budibase builder and apps", "main": "src/index.js", "author": "Budibase", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 6c838587b0..3e8cebb07e 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": "0.9.160-alpha.0", + "version": "0.9.160-alpha.3", "license": "AGPL-3.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", diff --git a/packages/builder/cypress/integration/customThemingProperties.spec.js b/packages/builder/cypress/integration/customThemingProperties.spec.js index 47cb81a8a6..308a5c7966 100644 --- a/packages/builder/cypress/integration/customThemingProperties.spec.js +++ b/packages/builder/cypress/integration/customThemingProperties.spec.js @@ -7,8 +7,8 @@ context("Custom Theming Properties", () => { // Default Values // Button roundness = Large - // Primary colour = Blue 600 - // Primary colour (hover) = Blue 500 + // Accent colour = Blue 600 + // Accent colour (hover) = Blue 500 // Navigation bar background colour = Gray 100 // Navigation bar text colour = Gray 800 it("should reset the color property values", () => { @@ -26,10 +26,10 @@ context("Custom Theming Properties", () => { const changeThemeColors = () => { // Changes the theme colours - cy.get(".spectrum-FieldLabel").contains("Primary color") + cy.get(".spectrum-FieldLabel").contains("Accent color") .parent().find(".container.svelte-z3cm5a").click() .find('[title="Red 400"]').click() - cy.get(".spectrum-FieldLabel").contains("Primary color (hover)") + cy.get(".spectrum-FieldLabel").contains("Accent color (hover)") .parent().find(".container.svelte-z3cm5a").click() .find('[title="Orange 400"]').click() cy.get(".spectrum-FieldLabel").contains("Navigation bar background color") @@ -41,11 +41,11 @@ context("Custom Theming Properties", () => { } const checkThemeColorDefaults = () => { - cy.get(".spectrum-FieldLabel").contains("Primary color") + cy.get(".spectrum-FieldLabel").contains("Accent color") .parent().find(".container.svelte-z3cm5a").click() .get('[title="Blue 600"]').children().find('[aria-label="Checkmark"]') cy.get(".spectrum-Dialog-grid").click() - cy.get(".spectrum-FieldLabel").contains("Primary color (hover)") + cy.get(".spectrum-FieldLabel").contains("Accent color (hover)") .parent().find(".container.svelte-z3cm5a").click() .get('[title="Blue 500"]').children().find('[aria-label="Checkmark"]') cy.get(".spectrum-Dialog-grid").click() diff --git a/packages/builder/package.json b/packages/builder/package.json index 71e7e8c9a8..4929cf085e 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "0.9.160-alpha.0", + "version": "0.9.160-alpha.3", "license": "AGPL-3.0", "private": true, "scripts": { @@ -65,10 +65,10 @@ } }, "dependencies": { - "@budibase/bbui": "^0.9.160-alpha.0", - "@budibase/client": "^0.9.160-alpha.0", + "@budibase/bbui": "^0.9.160-alpha.3", + "@budibase/client": "^0.9.160-alpha.3", "@budibase/colorpicker": "1.1.2", - "@budibase/string-templates": "^0.9.160-alpha.0", + "@budibase/string-templates": "^0.9.160-alpha.3", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte index acb945a96a..b076a8da86 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte @@ -4,10 +4,11 @@ import { externalActions } from "./ExternalActions" export let blockIdx + export let blockComplete + let selectedAction let actionVal let actions = Object.entries($automationStore.blockDefinitions.ACTION) - export let blockComplete const external = actions.reduce((acc, elm) => { const [k, v] = elm @@ -36,10 +37,9 @@ actionVal.stepId, actionVal ) - automationStore.actions.addBlockToAutomation(newBlock) + automationStore.actions.addBlockToAutomation(newBlock, blockIdx + 1) await automationStore.actions.save( - $automationStore.selectedAutomation?.automation, - blockIdx + $automationStore.selectedAutomation?.automation ) } diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte index 0c0b79c3de..e69f5ec204 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte @@ -151,7 +151,7 @@ > {/if}