Commit Graph

211 Commits

Author SHA1 Message Date
melohagan f28eb054f3
Set the relationship type (#12275)
* Set the relationship type

* Add users type

* Set user relationship type saveColumn

* Set relationshipType for users type on save

* Add relatioshipType to schema

* Refactor

* Check isUsersColumn

* Make relationshipType optional

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-11-07 11:59:51 +00:00
Michael Drury 2bfdd9769e
Merge pull request #12177 from Budibase/feature/make-table-source-id-required
Make sourceId property of table required (for all table types)
2023-10-27 13:35:47 +01:00
mike12345567 ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
Andrew Kingston dadb368279 Lint and add hover styles for deleting prompts 2023-10-18 08:31:29 +01:00
Andrew Kingston 5e8e4add4a Make it less painful to delete columns 2023-10-18 08:16:59 +01:00
mike12345567 7dcd6767f9 Fixes for adding autocolumns, it was not possible to select auto column type and fixing icon, as well as display of column when editing it - this corrects a few issues in this area as auto columns did not have a correct fieldId and also did not have a valid field definition. 2023-10-16 18:37:56 +01:00
Adria Navarro 0d21d13e4b Extract functions 2023-10-06 13:53:34 +02:00
Adria Navarro 58a22ccde8 Fix initialisation of simple types 2023-10-05 11:16:52 +02:00
Adria Navarro ee11ebf8e4 Do not allow multiple users for google sheets 2023-10-04 17:55:23 +02:00
Adria Navarro 46b85ac12c Multiple users column 2023-10-04 17:55:23 +02:00
Adria Navarro 9b45c1fe92 Fix wrong constraints 2023-10-04 17:55:23 +02:00
Adria Navarro 17df64c588 Allow selecting multiple users 2023-10-04 17:55:23 +02:00
Adria Navarro 23702391ff Use field ids instead of playing with the type/subtype 2023-10-04 17:55:23 +02:00
Adria Navarro e01600d1bb Remove composite key 2023-10-04 17:55:23 +02:00
Adria Navarro e77cc3dac8 Specify column types instead of using spread 2023-10-04 17:55:23 +02:00
Adria Navarro deeb8ee254 Remove relationshiptype from user type 2023-10-04 17:55:23 +02:00
Adria Navarro bf632ae9a8 Fix 2023-10-04 17:55:23 +02:00
Adria Navarro d22fac9bf9 Replace relationshipType for subtype 2023-10-04 17:55:23 +02:00
Adria Navarro 8ebf473ab2 Disable multiple users for now 2023-10-03 16:58:49 +02:00
Adria Navarro 15bec7aae8 Refresh relationships on column link add/edit/delete 2023-10-02 14:51:48 +02:00
Peter Clement ebe8a562f6 fix relationship direction issue 2023-09-29 11:56:50 +01:00
Peter Clement 7e6faaf587 Merge remote-tracking branch 'origin/develop' into feat/relationship-configuration 2023-09-28 15:28:21 +01:00
Adria Navarro ab97093a06 Remove user logic from CreateEditColumn 2023-09-28 10:00:25 +02:00
Peter Clement 4b0501d186 fix bad merge 2023-09-27 15:47:19 +01:00
Peter Clement b32f1b5510 Merge remote-tracking branch 'origin/develop' into feat/relationship-configuration 2023-09-27 15:25:39 +01:00
Peter Clement 420972ca6b fixing edge cases and improving reusability 2023-09-27 15:15:02 +01:00
Peter Clement 7d4613c3f6 extract logic from component and disable one to one 2023-09-26 15:12:01 +01:00
Adria Navarro da313e72c9 Lint 2023-09-26 12:02:24 +02:00
Adria Navarro 0b0ffff6dd Enable field outside dev 2023-09-26 12:00:55 +02:00
Adria Navarro f4542283f5 Merge branch 'develop' into feature/user-column-type 2023-09-26 11:51:20 +02:00
Michael Drury 18fd154ab5 Merge branch 'develop' into feat/relationship-configuration 2023-09-26 09:44:00 +01:00
Peter Clement 8af8c33bbe pr comments 2023-09-26 09:33:44 +01:00
Andrew Kingston 6b152349bd Expose date-only setting on date fields 2023-09-25 19:30:34 +01:00
Peter Clement db9c5db6e3 bug fixes 2023-09-25 15:36:08 +01:00
Peter Clement 85f4141e46 code clean up 2023-09-25 14:38:36 +01:00
Peter Clement 678afc134e Create new component for selecting relationships 2023-09-25 13:25:23 +01:00
Adria Navarro 6879c65a5b Merge branch 'develop' into feature/user-column-type 2023-09-19 14:21:40 +02:00
Andrew Kingston 84a89ddc92 Support up to 3 lines of text in tooltips and fix icon for date fields 2023-09-19 11:07:31 +01:00
Adria Navarro 847e17e04a Change column config layout 2023-09-19 09:50:29 +02:00
Adria Navarro 108728ee15 Lint 2023-09-18 12:22:49 +02:00
Adria Navarro d0197730d5 Fix initial references 2023-09-18 12:22:49 +02:00
Adria Navarro c00443d0ad Handle single/multiple users on creation and display 2023-09-18 12:22:48 +02:00
Adria Navarro 8564509ca9 Allow bb_refs to externals 2023-09-14 17:51:09 +02:00
Adria Navarro 2c715f5144 Renamings 2023-09-14 17:49:48 +02:00
Adria Navarro 6f78825592 Clean 2023-09-14 16:51:15 +02:00
Adria Navarro 78c5216ee8 Merge dev fields to fields 2023-09-14 16:49:41 +02:00
Adria Navarro 3c4e550c7d Clean 2023-09-14 16:43:34 +02:00
Adria Navarro 1b1819b4a5 Clean 2023-09-14 16:16:47 +02:00
Adria Navarro 29b2e3b8f1 Handle internal types frontend 2023-09-14 16:06:02 +02:00
Adria Navarro 85a9b9ab21 Typings 2023-09-14 15:18:54 +02:00