diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml
index 9d1131ed7f..14809c1118 100644
--- a/.github/workflows/budibase_ci.yml
+++ b/.github/workflows/budibase_ci.yml
@@ -20,6 +20,7 @@ env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
NX_BASE_BRANCH: origin/${{ github.base_ref }}
USE_NX_AFFECTED: ${{ github.event_name == 'pull_request' && github.base_ref != 'master'}}
+ NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
lint:
diff --git a/.github/workflows/deploy-featurebranch.yml b/.github/workflows/deploy-featurebranch.yml
index ddf185a1d9..2c6302b56a 100644
--- a/.github/workflows/deploy-featurebranch.yml
+++ b/.github/workflows/deploy-featurebranch.yml
@@ -4,6 +4,7 @@ on:
pull_request:
branches:
- develop
+ - master
jobs:
release:
diff --git a/lerna.json b/lerna.json
index 688e02532f..e5ad209fd4 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "2.11.5-alpha.4",
+ "version": "2.11.15-alpha.0",
"npmClient": "yarn",
"packages": [
"packages/*"
diff --git a/packages/bbui/src/OptionSelectDnD/OptionSelectDnD.svelte b/packages/bbui/src/OptionSelectDnD/OptionSelectDnD.svelte
index f64a51ade4..8b13135b33 100644
--- a/packages/bbui/src/OptionSelectDnD/OptionSelectDnD.svelte
+++ b/packages/bbui/src/OptionSelectDnD/OptionSelectDnD.svelte
@@ -21,14 +21,6 @@
"hsla(240, 90%, 75%, 0.3)",
"hsla(320, 90%, 75%, 0.3)",
]
- $: {
- if (constraints.inclusion.length) {
- options = constraints.inclusion.map(value => ({
- name: value,
- id: Math.random(),
- }))
- }
- }
const removeInput = idx => {
delete optionColors[options[idx].name]
constraints.inclusion = constraints.inclusion.filter((e, i) => i !== idx)
@@ -80,6 +72,11 @@
// Initialize anchor arrays on mount, assuming 'options' is already populated
colorPopovers = constraints.inclusion.map(() => undefined)
anchors = constraints.inclusion.map(() => undefined)
+
+ options = constraints.inclusion.map(value => ({
+ name: value,
+ id: Math.random(),
+ }))
})
diff --git a/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte b/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte
index c3097f3072..289f2e20be 100644
--- a/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte
+++ b/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte
@@ -110,20 +110,7 @@
{#each schemaFields as [field, schema]}
{#if !schema.autocolumn && schema.type !== "attachment"}
-
onChange(e, field)}
- {bindings}
- allowJS={true}
- updateOnChange={false}
- drawerLeft="260px"
- >
+ {#if isTestModal}
-
+ {:else}
+
onChange(e, field)}
+ {bindings}
+ allowJS={true}
+ updateOnChange={false}
+ drawerLeft="260px"
+ >
+
+
+ {/if}
{/if}
{#if isUpdateRow && schema.type === "link"}
diff --git a/packages/builder/src/components/backend/DataTable/buttons/TableFilterButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/TableFilterButton.svelte
index 23f6d1dea1..91456da655 100644
--- a/packages/builder/src/components/backend/DataTable/buttons/TableFilterButton.svelte
+++ b/packages/builder/src/components/backend/DataTable/buttons/TableFilterButton.svelte
@@ -13,7 +13,13 @@
let modal
$: tempValue = filters || []
- $: schemaFields = Object.values(schema || {})
+ $: schemaFields = Object.entries(schema || {}).map(
+ ([fieldName, fieldSchema]) => ({
+ name: fieldName, // Using the key as name if not defined in the schema, for example in some autogenerated columns
+ ...fieldSchema,
+ })
+ )
+
$: text = getText(filters)
$: selected = tempValue.filter(x => !x.onEmptyFilter)?.length > 0
diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
index c67ce67d57..8233278e58 100644
--- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
+++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
@@ -660,7 +660,8 @@
>Open schema editor
{:else if editableColumn.type === USER_REFRENCE_TYPE}
-
+
{/if}
{#if editableColumn.type === AUTO_TYPE || editableColumn.autocolumn}