1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00
Commit graph

27945 commits

Author SHA1 Message Date
Adria Navarro
de61754312 Enrich relationship from backend 2024-08-27 15:07:04 +02:00
Adria Navarro
e8f33e5fd8 Reuse 2024-08-27 15:07:04 +02:00
Adria Navarro
3405484977 Fix required ts 2024-08-27 15:07:04 +02:00
Adria Navarro
64679565bc Lint 2024-08-27 15:07:04 +02:00
Adria Navarro
1504cead0c Persist view related schemas 2024-08-27 15:07:04 +02:00
Dean
3c2cb3dda1 Simplify the approach to leave change behaviour as it is and leave persistence to the close behaviour 2024-08-23 12:24:22 +01:00
Dean
b9c685b83b Changed the CodeEditorModal to trigger a change when closing. This will accommodate any state updates to the editor 2024-08-23 10:15:46 +01:00
Dean
f44d09b344 Switched the CodeEditor update event from change to blur. 2024-08-23 09:27:46 +01:00
Daniel Olabemiwo
da6ac6c1cb fix #14408 - Delete Screen modal shows behind builder 2024-08-23 02:38:16 +01:00
Andrew Kingston
1e4fb27d7c
Ensure autoscreens use a specific component order to look better on older client versions 2024-08-21 16:39:54 +01:00
Adria Navarro
2322925c62
Merge branch 'master' into fix/conditions-on-views 2024-08-21 14:38:24 +02:00
Adria Navarro
dc5a7dbc62 Fixes 2024-08-21 14:25:48 +02:00
Adria Navarro
bbe2763e54
Merge branch 'master' into fix/logical-operator-filter-cleanup 2024-08-21 13:45:50 +02:00
Adria Navarro
40e7ab1371 Fix build 2024-08-21 13:45:26 +02:00
Adria Navarro
7c06f1a407 Run tests for lucene as well 2024-08-21 13:40:17 +02:00
Adria Navarro
8c3f1c39c8 Fix test expect 2024-08-21 13:33:02 +02:00
Adria Navarro
9f05804c67 Add extra tests 2024-08-21 13:01:48 +02:00
Adria Navarro
e536ec5093 Fix conditions 2024-08-21 13:01:42 +02:00
Adria Navarro
ff9d934f87 Allow filtering via allOr 2024-08-21 13:01:35 +02:00
Adria Navarro
c5476ce3b3 Test both allOr and allAnd 2024-08-21 13:00:54 +02:00
mike12345567
e6c5a7ecd7 PR comments. 2024-08-21 11:05:48 +01:00
Andrew Kingston
4be3f0a320
Fix issue where we were saving the entire datasource definition into every datasource setting 2024-08-21 09:55:30 +01:00
Andrew Kingston
fa5a2ae198
Fix param 2024-08-20 15:29:39 +01:00
Andrew Kingston
aba38c02b9
Fix memos 2024-08-20 15:28:12 +01:00
Andrew Kingston
d96cd60618
Merge branch 'master' into grid-layout-expansion 2024-08-20 15:07:47 +01:00
Andrew Kingston
2d45f192f6
Lint 2024-08-20 15:07:23 +01:00
Andrew Kingston
7e5f43dd6d
Update table autoscreens to use grid layout 2024-08-20 14:58:07 +01:00
mike12345567
ff855a677a PR comments. 2024-08-20 13:27:20 +01:00
mike12345567
e941491d8c Don't check row value - always use the column or not. 2024-08-20 13:24:41 +01:00
mike12345567
8847a5b146 Disabling for old/in-memory search. 2024-08-20 13:19:58 +01:00
mike12345567
aab120b9ca Bringing back test cases. 2024-08-20 13:18:40 +01:00
mike12345567
f2beedbee6 Adding a test case for primary display columns, ignore when it has been set to a relationship, instead use another column which is valid in the table. 2024-08-20 13:14:24 +01:00
mike12345567
0d389bd8d7 Quick set of fixes, test cases assumed that multi-depth relationships were allowed, fixing this. 2024-08-20 12:31:46 +01:00
mike12345567
5435028e7d Fix for cyclic relationships, getQueryableFields allowed relationships from other tables, which can't work. 2024-08-20 12:13:37 +01:00
Andrew Kingston
9385bc878b
Bump submodules which are somehow out of date and failing CI 2024-08-20 10:34:29 +01:00
Andrew Kingston
346f55691b
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-20 10:26:39 +01:00
mike12345567
bbcb77c738 Fixing an issue where searching on a relationship column which is in a broken state would break in SQS (previously this was allowed and would return empty relationships). 2024-08-20 07:38:23 +01:00
mike12345567
90da9f89c6 Merge branch 'master' of github.com:Budibase/budibase into fix/logical-operator-filter-cleanup 2024-08-19 16:49:49 +01:00
mike12345567
a5533bb033 Fixing test cases. 2024-08-19 16:49:40 +01:00
mike12345567
f4d5eb31de Fixing test case. 2024-08-19 16:20:33 +01:00
Adria Navarro
07fe8c6c1f Many to many tests 2024-08-19 15:59:59 +02:00
Adria Navarro
27c618d263 Extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro
bbf7142bd7 Handle relationships properly 2024-08-19 15:59:59 +02:00
Adria Navarro
d8462ba961 Fix tests 2024-08-19 15:59:59 +02:00
Adria Navarro
b744ec3c35 Add extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro
f0a89764f2 Add basic test 2024-08-19 15:59:59 +02:00
Adria Navarro
eb2d71e980 Move getQueryableFields to utils 2024-08-19 15:59:59 +02:00
Adria Navarro
084a481821 Typo 2024-08-19 15:59:59 +02:00
Adria Navarro
09938ae442 Don't change key order on trimming 2024-08-19 15:59:59 +02:00
Adria Navarro
f53500450a Fix wrong test 2024-08-19 15:59:59 +02:00
Adria Navarro
da87c0233b Don't trim usertable 2024-08-19 15:59:59 +02:00
Adria Navarro
ce8730f176 Clean code 2024-08-19 15:59:59 +02:00
Adria Navarro
385c5f6e99 Trim unwanted columns in outputProcessing 2024-08-19 15:59:58 +02:00
Adria Navarro
1a88d9f89b Don't clean relationship query 2024-08-19 15:59:58 +02:00
Adria Navarro
08b0b6af19 Fix search relationships 2024-08-19 15:59:58 +02:00
Adria Navarro
59a164f4df Test relationships 2024-08-19 15:59:58 +02:00
Adria Navarro
ee5c4e8ed8 Don't trim prefixed keys 2024-08-19 15:59:58 +02:00
Adria Navarro
b1d78f129b Remove jest only 2024-08-19 15:59:58 +02:00
Adria Navarro
ac62fc0e29 Fix jest asserts 2024-08-19 15:59:58 +02:00
Adria Navarro
0bdb6396ed Remove unneeded test 2024-08-19 15:59:58 +02:00
Adria Navarro
48486cdaa4 Implement query 2024-08-19 15:59:58 +02:00
Adria Navarro
5b13e53a3b Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro
6fe628f804 Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro
42070dcd39 Add tests 2024-08-19 15:59:58 +02:00
Adria Navarro
728b4d363d Add removeInvalidFilters utils 2024-08-19 15:59:58 +02:00
Adria Navarro
0212f584d2 Add imports 2024-08-19 15:59:57 +02:00
Adria Navarro
331e8eb7be Add view tests 2024-08-19 15:59:18 +02:00
Adria Navarro
3acc9bde45 Extra tests 2024-08-19 15:59:18 +02:00
Adria Navarro
723dfee8c8 Add field mapping tests 2024-08-19 15:59:18 +02:00
Adria Navarro
120d5d953d Fetch only table fields and validate 2024-08-19 15:59:18 +02:00
Adria Navarro
3dcf17d438 Fix initial visibility 2024-08-19 13:00:23 +02:00
Adria Navarro
3685c6dbe5 Split columns setting button/content 2024-08-19 12:59:39 +02:00
Gerard Burns
205a50156b
[BUDI-8460] Add New Step to Table Screen Template (#14203)
* [BUDI-8460] Add New Step to Table Screen Template Flow

* fix tests

* PR Feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-08-19 10:44:09 +00:00
mike12345567
a1fae4d799 Making sure filters are always added to end, this is important for OR situations. 2024-08-15 18:52:17 +01:00
mike12345567
48672244f4 Fixing up column renaming everywhere that it is needed, making sure works for external as well. 2024-08-15 18:46:28 +01:00
mike12345567
aa1eaa1d3d A few fixes for logical operators, there was a lot of cleanup that was not occurring as it is supposed to be recursive, this wasn't happening. 2024-08-15 18:35:30 +01:00
Michael Drury
483bb585c3
Merge branch 'master' into fix/feature-flag-checks 2024-08-15 17:11:38 +01:00
mike12345567
4995056ba0 Updating tests. 2024-08-15 17:09:15 +01:00
Peter Clement
0e229c9b2e
Update automation test builder to support branching (#14387)
* add branch step definition

* update automation test builder to support branching

* rename Automation test builder

* example test

* pr comments
2024-08-15 16:07:42 +00:00
mike12345567
21cc83daf4 PR comment. 2024-08-15 16:58:17 +01:00
mike12345567
15fb54e841 Updating latest pro. 2024-08-15 16:53:00 +01:00
mike12345567
5c63439c8d Fixing an issue where old feature flags would cause issues, all feature flags are expected to be known, this allows unknown feature flags to just be ignored. 2024-08-15 16:51:29 +01:00
Michael Drury
57362ad5d0
Merge branch 'master' into fix/disallow-backend-core-barrel-file 2024-08-15 16:06:38 +01:00
Sam Rose
87ccfce7f1
Update submodules. 2024-08-15 15:53:18 +01:00
mike12345567
26871a7deb Disallowing access to the backend-core barrel file as it can cause problems, it should only ever be imported externally via @budibase/backend-core. 2024-08-15 15:48:39 +01:00
Sam Rose
f548fb1299
Update pro reference. 2024-08-15 15:06:13 +01:00
Sam Rose
e1268b7ec8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-cleanup 2024-08-15 14:57:04 +01:00
Sam Rose
c6e7674e2c
Update account-portal reference. 2024-08-15 14:39:16 +01:00
mike12345567
e32409da15 Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import. 2024-08-15 14:25:36 +01:00
Andrew Kingston
48775b8397
Replace erroneous falsey comparisons with nullish comparisons 2024-08-15 11:44:31 +01:00
Andrew Kingston
916a7983d8
Fix potential undefined reference 2024-08-15 11:38:11 +01:00
Andrew Kingston
0252b02406
Update containers to use grid layout by default and ensure autoscreens use new layout prop 2024-08-15 11:36:02 +01:00
Andrew Kingston
39f7c28308
Revert max width nav to have reasonable padding 2024-08-15 11:25:57 +01:00
Andrew Kingston
991aff132f
Don't strip grid CSS variables from styles, allowing block ejection to reference them 2024-08-15 11:21:09 +01:00
Sam Rose
d6308de1ab
Update account-portal reference. 2024-08-15 11:09:53 +01:00
mike12345567
bbc33d37e6 PR comments. 2024-08-15 11:04:57 +01:00
Sam Rose
d27ecb9572
Update pro reference. 2024-08-15 11:01:46 +01:00
Sam Rose
4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
mike12345567
3ed2fbbcb4 Merge branch 'master' of github.com:Budibase/budibase into fix/helper-overlap-formulas 2024-08-15 10:49:53 +01:00
Andrew Kingston
a022e02643
Update blank screens to use grid layout by default 2024-08-15 10:44:42 +01:00
Andrew Kingston
7ae21460f8
Update row explorer block to stretch by default, enabling a height setting of 100% to work 2024-08-15 10:40:54 +01:00
Andrew Kingston
b575109fdc
Fix possibility of updating wrong component styles when dragging in grids if you are too fast or have a slow server 2024-08-15 10:04:47 +01:00
Andrew Kingston
6783f9b4ee
Reset grid position metadata when copying and pasting between screens 2024-08-15 09:54:47 +01:00
Andrew Kingston
0fc602dfc2
Lint 2024-08-15 09:38:56 +01:00
Andrew Kingston
5f6ccd82dd
Merge branch 'grid-layout-expansion' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-15 09:36:08 +01:00
Andrew Kingston
fdefd6da07
Merge branch 'master' into grid-layout-expansion 2024-08-15 09:34:12 +01:00
Andrew Kingston
cab82d2a73
Update markdown viewer to vertically align to the top by default 2024-08-15 09:33:49 +01:00
Peter Clement
f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
mike12345567
87999db659 Adding test cases. 2024-08-14 18:12:33 +01:00
mike12345567
50d6e83eb0 Merge branch 'master' of github.com:Budibase/budibase into fix/helper-overlap-formulas 2024-08-14 17:43:06 +01:00
Michael Drury
165eff2e5a First pass - no tests yet, had to make some changes to how pre-processing works, as well as updating the string based on context, if there is any overlap between the helpers and context it will prefix the overlap with ./ - this means to look in context. 2024-08-14 17:21:40 +01:00
Andrew Kingston
86628903cc
Remove console log 2024-08-14 16:58:01 +01:00
Andrew Kingston
2afe040332
Update scrolling to selected component so that it works when adding components 2024-08-14 16:36:19 +01:00
Sam Rose
011859397d
Expose a nicer API for getting/setting feature flags on the current context. 2024-08-14 15:56:12 +01:00
Sam Rose
08a56ef480
Cache feature flags per-request, set default values flag to false by default. 2024-08-14 15:41:26 +01:00
Andrew Kingston
919c4d95c5
Fix issue with side panel position 2024-08-14 15:24:48 +01:00
Andrew Kingston
952b9b4af1
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-14 13:01:18 +01:00
Andrew Kingston
33b68d6d54
Lint 2024-08-14 13:01:04 +01:00
Andrew Kingston
fedb592b92
Fix issue where grid styles are not reapplied when component visibility changes 2024-08-14 12:56:45 +01:00
Andrew Kingston
84db937cba
Fix null refrence exception if definitions don't exist 2024-08-14 12:51:32 +01:00
Sam Rose
eeba71b69b
Setup DEFAULT_VALUES feature flag. 2024-08-14 12:26:17 +01:00
Andrew Kingston
fa12abf126
Merge branch 'master' into grid-layout-expansion 2024-08-14 11:29:11 +01:00
Andrew Kingston
a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston
b62371d1be
Allow moving grid components using the label 2024-08-14 10:59:06 +01:00
Andrew Kingston
f99ae6b96e
Ensure modals are rendered in the correct DOM position 2024-08-14 10:26:44 +01:00
Andrew Kingston
83e7b2d3e2
Move side panel into correct DOM position 2024-08-14 10:16:01 +01:00
Andrew Kingston
d36fef5c86
Fix indicators around modals and side panels when used inside grids 2024-08-14 10:09:59 +01:00
Andrew Kingston
6baf784f4a
Ensure images are contained when used inside grids 2024-08-14 09:59:02 +01:00
Andrew Kingston
7a9730b120
Fix ephemeral styles not clearing properly 2024-08-14 09:24:03 +01:00
Dean
e2c491ef96 Backed out reactivity for Binding panel per discussion. Pending some UX discussion 2024-08-13 16:40:48 +01:00
Andrew Kingston
b321eabb50
Merge branch 'master' into dean-fixes 2024-08-13 15:43:58 +01:00
Andrew Kingston
a1e14fab18
Merge branch 'master' into grid-layout-expansion 2024-08-13 14:36:15 +01:00
Andrew Kingston
5d6d75d672
Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2024-08-13 14:33:25 +01:00
Andrew Kingston
6db20a241b
PR feedback 2024-08-13 14:33:07 +01:00
Andrew Kingston
285f6bafe8
Merge branch 'master' into cheeks-fixes 2024-08-13 14:31:31 +01:00
Peter Clement
37f749019d
Add more automation tests (#14369)
* Add more automation tests

* remove comment

* update assertion

* unused type

* split out query creation

* remove map
2024-08-13 14:16:55 +01:00
deanhannigan
424124f5c8
Merge branch 'master' into cheeks-fixes 2024-08-13 12:35:28 +01:00
Dean
3d6acb5efd Removed erroneous param 2024-08-13 12:09:01 +01:00
Dean
8a31cc2ff7 Bug fixes for bindings panel and code editor 2024-08-13 11:07:00 +01:00
Andrew Kingston
0875d0c5e1
Only show empty rows in grid layouts when in the builder 2024-08-13 09:52:10 +01:00
Andrew Kingston
22f971cd3d
Merge branch 'grid-layout-expansion' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-13 09:19:36 +01:00
Andrew Kingston
78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston
17c8f8e5d9
Merge branch 'master' into grid-layout-expansion 2024-08-13 09:18:28 +01:00
Andrew Kingston
73cc871a5e
Avoid name clashing 2024-08-13 09:14:42 +01:00
Andrew Kingston
ead4be7b88
Add padding at bottom of grid for screen level grids 2024-08-13 09:09:53 +01:00
Dean
8e301902a3 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-13 09:06:02 +01:00
melohagan
151fff51c5
Make generated passwords longer (#14362)
* Make generated passwords longer

* Use crypto for generating passwords

* Remove comments

* Generate password with length 12
2024-08-12 20:37:59 +00:00
Andrew Kingston
96882e7eca
Improve performance of styleable util 2024-08-12 19:27:33 +01:00
Sam Rose
b5465f1b63
Disable PostHog feature flags in prod. 2024-08-12 16:32:25 +01:00
Andrew Kingston
d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00