From e74509e7087650cf5fae1a710a745edad05fd1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 8 Feb 2021 16:46:54 +0100 Subject: [PATCH 01/24] initial setup for one to many --- .../backend/DataTable/modals/CreateEditColumn.svelte | 4 ++++ packages/builder/src/constants/backend/index.js | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte index ee72b36053..084e28ed3f 100644 --- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte @@ -149,6 +149,10 @@ label="Max Value" bind:value={field.constraints.numericality.lessThanOrEqualTo} /> {:else if field.type === 'link'} + From 9d584613283c4db3dee4e1751309f86451219007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 9 Feb 2021 14:28:57 +0100 Subject: [PATCH 04/24] disables one to many toggle when column is edited --- .../backend/DataTable/modals/CreateEditColumn.svelte | 1 + packages/builder/yarn.lock | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte index ce5abeddce..cca1cdf550 100644 --- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte @@ -152,6 +152,7 @@ bind:value={field.constraints.numericality.lessThanOrEqualTo} /> {:else if field.type === 'link'} diff --git a/packages/builder/yarn.lock b/packages/builder/yarn.lock index fa94386f00..93044268ba 100644 --- a/packages/builder/yarn.lock +++ b/packages/builder/yarn.lock @@ -842,17 +842,10 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -<<<<<<< HEAD "@budibase/bbui@^1.58.4": version "1.58.4" resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-1.58.4.tgz#a74d66b3dd715b0a9861a0f86bc0b863fd8f1d44" integrity sha512-1oEVt7zMREM594CAUIXqOtiuP4Sx4FbfgPBHTZ+t4RhFfbFqvU7yyakqPZM2LhTAmO5Rfa+c+dfFLh+y1++KaA== -======= -"@budibase/bbui@^1.58.3": - version "1.58.3" - resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-1.58.3.tgz#86ad6aa68eec7426e1ccdf1f7e7fc957cb57d3a3" - integrity sha512-PpbxfBhVpmP0EO1nPBhrz486EHCIgtJlXELC/ElzjG+FCQZSCvDSM7mq/97FOW35iYdTiQTlwFgOtvOgT1P8IQ== ->>>>>>> 10f6d871354dace180c86aefb389a97f7925b902 dependencies: markdown-it "^12.0.2" quill "^1.3.7" From 3e5c803598d9fdfc124f626e07b17a90ecaaac15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 9 Feb 2021 14:32:36 +0100 Subject: [PATCH 05/24] fixes some warnings on DropdownItem component --- .../src/components/common/Dropdowns/DropdownItem.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte b/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte index 2f179858a3..64b7743645 100644 --- a/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte +++ b/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte @@ -1,8 +1,8 @@ @@ -232,6 +234,10 @@ title="Confirm Deletion" />