Commit Graph

28272 Commits

Author SHA1 Message Date
Adria Navarro 11e8d576e2 Extra tests 2024-09-04 11:11:10 +02:00
Adria Navarro 92a0740cef Proper guarding 2024-09-04 11:10:56 +02:00
Andrew Kingston db9822fa64
Lint 2024-09-04 09:51:26 +01:00
Andrew Kingston 409580c787
Fix issue preventing initial click of deleting relationship from working when relationship popover is open 2024-09-04 09:49:34 +01:00
Andrew Kingston 54e09267f1
Only show hover state in relationship badges when fields are available to show 2024-09-04 09:35:56 +01:00
Andrew Kingston 857122f99e
Remove unnecessary API calls when showing or hiding columns 2024-09-04 09:32:14 +01:00
Peter Clement d80123bbcb use utilities api 2024-09-04 09:31:18 +01:00
Andrew Kingston c8660da7d0
Update relationship column popover chevron to show active state when open 2024-09-04 09:22:06 +01:00
Andrew Kingston b067b8ad54
Update relationship popover styles and position 2024-09-04 09:19:51 +01:00
Adria Navarro 00119f9d73 Guard permission 2024-09-04 10:16:59 +02:00
Andrew Kingston ea7d9d722d
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-04 08:55:15 +01:00
Andrew Kingston 6ce481c08f
Fix issue triggering row actions from data UI 2024-09-04 08:40:37 +01:00
Peter Clement 0716702646 use opts param 2024-09-03 21:31:38 +01:00
Peter Clement 8c7aecfa22
Update packages/server/src/api/routes/utils/validators.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 21:14:28 +01:00
Peter Clement f6f6120e70
Update packages/server/src/api/routes/utils/validators.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 21:14:05 +01:00
Andrew Kingston 26b5784345
Fix navigation to new row actions not working 2024-09-03 20:10:46 +01:00
Andrew Kingston 7db263dd3b
Go to newly created row actions 2024-09-03 20:05:14 +01:00
Andrew Kingston e0c4273acf
Don't wait for things we don't care about 2024-09-03 19:56:32 +01:00
Andrew Kingston 872446e524
Replace other usages of manual row actions API calls with store usage 2024-09-03 19:47:12 +01:00
Andrew Kingston 53ff7e1167
Add new builder store for row action CRUD, ensuring consistent state everywhere 2024-09-03 18:58:22 +01:00
Adria Navarro 623b385d8a Promisify middleware 2024-09-03 17:53:25 +02:00
Peter Clement 93aba3ed22 Merge remote-tracking branch 'refs/remotes/origin/feat/branching-api-validation' into feat/branching-api-validation 2024-09-03 16:35:02 +01:00
Peter Clement 484b329bc8 ensure branch step is in output 2024-09-03 16:29:52 +01:00
Peter Clement 5c0fd002b4
Merge branch 'master' into feat/branching-api-validation 2024-09-03 16:23:17 +01:00
Adria Navarro aca310e721 Tidy code 2024-09-03 17:21:13 +02:00
Peter Clement 839292b84d add validators and tests for automation branching 2024-09-03 16:16:52 +01:00
Adria Navarro b74efe5340
Merge branch 'master' into BUDI-8609/run-row-action-as-sync 2024-09-03 16:59:56 +02:00
Adria Navarro c830e2a589 Fix tests 2024-09-03 16:52:27 +02:00
Adria Navarro 5ac5a63dc5 Run row action as sync 2024-09-03 16:51:56 +02:00
Adria Navarro ff126006ec
Merge pull request #14503 from Budibase/BUDI-8564/support-updating-names
Support updating names
2024-09-03 16:16:27 +02:00
Adria Navarro 52283e07aa Tidying 2024-09-03 16:15:33 +02:00
Andrew Kingston 0e6d903c74
Select row when opening row actions popover 2024-09-03 15:14:40 +01:00
Andrew Kingston 789df301cb
Enable renaming row actions and improve row actions in grids 2024-09-03 15:05:13 +01:00
Adria Navarro 2667238d93 Add undefined check 2024-09-03 14:47:49 +02:00
Adria Navarro 4efb3d6ed6 Unify tests 2024-09-03 14:44:55 +02:00
Adria Navarro 3a3151b59d Add extra test 2024-09-03 14:23:08 +02:00
Adria Navarro 773b4f1050
Merge pull request #14482 from Budibase/BUDI-8561/display-relationship-fields
Display relationship fields
2024-09-03 14:05:27 +02:00
Andrew Kingston 7d5e884a8f
Fix row action count for views 2024-09-03 11:50:20 +01:00
Peter Clement 56641e06c3 re-add branch step to outputs 2024-09-03 11:10:30 +01:00
Andrew Kingston 2a02298ac2
Auto select first available row action 2024-09-03 10:56:38 +01:00
Adria Navarro 662c6be435
Use optional chaining
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 11:39:01 +02:00
Adria Navarro 2e4ba9cb3c Remove break 2024-09-03 11:35:31 +02:00
Adria Navarro 14bc9a7390 Fix merge conflicts 2024-09-03 11:28:43 +02:00
Adria Navarro 3cee97aa02 Merge branch 'master' into feat/pick-relationship-fields 2024-09-03 11:19:18 +02:00
Adria Navarro 00f8f386d3 PR comments 2024-09-03 11:15:47 +02:00
Andrew Kingston 232a2829d2
Add UI for controlling row actions on views, and add support for view row actions in button actions 2024-09-03 10:09:07 +01:00
Adria Navarro e364bf5d65 Don't use `sdk.tables.getTables` (as it fails randomly) 2024-09-03 11:00:15 +02:00
Adria Navarro e61b619740 Clean code 2024-09-03 10:43:44 +02:00
Adria Navarro 6d24eba679 Move describes 2024-09-03 10:42:27 +02:00
Adria Navarro a9669c1c1d Extra tests 2024-09-03 10:40:29 +02:00
Andrew Kingston 65af0a7352
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-03 09:37:58 +01:00
Peter Clement 66fdf03398
Refactor automation orchestrator to support branching (#14461)
* refactor automation thread

* fix infinite loop in branching

* remove try catch

* remove spacing

* remove unecessary addition of branch outputs

* pr comments

* remove loopstep instance variable

* add test to cover failure scenario

* add tests for other automationf ailure conditions

* update test name

* use private keyword instead of underscore

* parse int / string safely

* fix refs

* add condition support for branching and tests

* create helper function for recursing all search filters

* move helper func

* fix import
2024-09-03 08:33:41 +00:00
Adria Navarro 74eb0357a4 Rename link relationship fields 2024-09-03 10:15:26 +02:00
Adria Navarro 1be8289677
Merge branch 'master' into feat/row-action-view-security 2024-09-03 10:13:22 +02:00
Andrew Kingston 4b367bf505
Add row action button actions 2024-09-03 09:06:12 +01:00
Andrew Kingston fcfcc503e0
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-03 08:50:04 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Adria Navarro ae0e3cdb59 Fix test for external 2024-09-02 18:36:44 +02:00
Adria Navarro 2365a6ecd5 Add renaming column tests 2024-09-02 17:32:21 +02:00
Andrew Kingston 3b827c35a2
Add collapsed button option to multistep form block 2024-09-02 16:30:14 +01:00
Sam Rose bb8ba16b30
Types for new view calculation feature. 2024-09-02 15:28:20 +01:00
Adria Navarro fc3684c73c
Merge branch 'master' into feat/pick-relationship-fields 2024-09-02 16:05:17 +02:00
Adria Navarro 156b70f9ef Use "filter: brightness" instead of "::before" 2024-09-02 16:02:14 +02:00
Adria Navarro d1c1e467a7 line-clamp 2024-09-02 15:55:58 +02:00
Adria Navarro 86ea50a8d6 Add minwidth 2024-09-02 15:49:27 +02:00
Adria Navarro 0da0145dba Formatting 2024-09-02 15:48:36 +02:00
Adria Navarro 42a2eec439 Display relationship fields on relationship focus only 2024-09-02 15:40:58 +02:00
mikesealey ee50012775 tweaks z-index to show preview above bindings drawer 2024-09-02 13:37:36 +01:00
Andrew Kingston 51cbced119
Add common collapsed button group and use it for row actions and client button groups. Add collapsed settings to grids and form blocks 2024-09-02 11:44:49 +01:00
Sam Rose 3a516e8356
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-09-02 11:13:11 +01:00
Andrew Kingston d8b6d10dce
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-02 10:17:56 +01:00
Adria Navarro 9dc9224b65 Add hover effect 2024-09-02 11:14:13 +02:00
Andrew Kingston e6f6760c2a
Add collapsable buttons to form block 2024-09-02 09:38:34 +01:00
Adria Navarro c70f2c2fe2 Use reactivity 2024-09-02 10:37:46 +02:00
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Martin McKeaveney f7b2c77be4
Merge branch 'master' into poc-authenticated-iframe 2024-09-02 09:08:20 +01:00
Martin McKeaveney 9924ad20e0 lint 2024-09-02 08:58:28 +01:00
Andrew Kingston 2d52eff96f
Update button column to account for ability to add rows 2024-09-02 08:47:15 +01:00
Andrew Kingston c5e27b860f
Add row actions to tables in data section 2024-09-02 08:45:49 +01:00
Adria Navarro 3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
melohagan fc367476c1
Make sure setEnrichedUsers is called when tenantOwnerLoaded (#14491) 2024-08-30 17:40:43 +00:00
Martin McKeaveney d5f58fc6c8 merge 2024-08-30 18:08:40 +01:00
Michael Drury 9b84d959dc
Merge branch 'master' into fix/sqs-default-dev-on 2024-08-30 18:07:51 +01:00
Martin McKeaveney 9b4c89746a update submodule references 2024-08-30 18:06:30 +01:00
mike12345567 d5bc5debac Another fix. 2024-08-30 17:57:02 +01:00
Sam Rose 955a3a6883
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-08-30 17:47:36 +01:00
mike12345567 70708dc36e Adding back missing tests. 2024-08-30 17:47:08 +01:00
mike12345567 7c1f2522e2 Another test. 2024-08-30 17:42:54 +01:00
mike12345567 6249f41bbb Make sure Lucene correctly sets environment variables in development tests. 2024-08-30 17:34:10 +01:00
melohagan 3f357561d0
The UI should indicate who the account holder is (#14470)
* Get tenantInfo in user fetch

* Add account holder label in users table

* Don't allow account holder to be selected in users table

* Sort account holder to top of list

* Only use account holder role in users table

* lint

* Remove joi validation from tenant-info endpoint

* Remove dayPasses

* Catch CouchDB 404 and return undefined

* Don't allow account holder role to be changed UI

* Don't offer delete option for tenant owner

* Backend validation to ensure account holder role cannot be updated

* Don't allow account holder role to be changed UI

* Get tenantOwner in separate call

* Pass data into SelectEditRenderer

* Rename var to __selectable

* setEnrichedUsers

* Update pro reference

* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
mike12345567 bdfd64c98c Fixing view test. 2024-08-30 17:19:04 +01:00
mike12345567 0311e8433b Fixing tests so they can work with SQS. 2024-08-30 17:06:30 +01:00
Sam Rose 7cbfd7be84
Disable creation of createdAt and createdBy auto columns when default values is enabled. 2024-08-30 15:58:11 +01:00
mike12345567 b622df2683 Defaulting SQS to on in development environments, this removes the need for setting it in the management scripts. 2024-08-30 15:10:55 +01:00
Adria Navarro e2e49d641b
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 15:32:45 +02:00
Michael Drury 2d030d442b
Merge branch 'master' into update-pro-3 2024-08-30 14:12:02 +01:00
Adria Navarro 64c2a18934
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 14:45:01 +02:00
Adria Navarro 2b49c3ffea
Merge branch 'master' into feat/row-action-view-security 2024-08-30 14:43:58 +02:00
Adria Navarro 31388aec91 Change paddings 2024-08-30 14:25:32 +02:00
Adria Navarro e9940ce43e Hide undefineds 2024-08-30 14:21:14 +02:00
Adria Navarro d8744e1b72 Change padding 2024-08-30 14:02:47 +02:00
Adria Navarro 9f414c5148 Honor relationship columns 2024-08-30 14:00:34 +02:00
Adria Navarro f1fdbe3908 Don't show popover when focused 2024-08-30 13:44:59 +02:00
Adria Navarro 3f9e6c548d Fix bug 2024-08-30 13:44:39 +02:00
Adria Navarro 00f6f84b35 Display popover 2024-08-30 13:38:36 +02:00
melohagan 4d9f87e4c4
Set password to 12 characters (#14478) 2024-08-30 09:16:16 +00:00
Adria Navarro a7a5041b91 Remove error message catching 2024-08-30 10:30:27 +02:00
Adria Navarro eb58c696dd Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 9f56b9916e Fix 2024-08-30 10:30:27 +02:00
Adria Navarro b54b2a7121 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 6a8d55a00c Add tests 2024-08-30 10:30:27 +02:00
Adria Navarro 5cd3b9dc88 Add tests 2024-08-30 10:30:27 +02:00
Adria Navarro 868d193015 Add triggerRowActionAuthorised 2024-08-30 10:30:27 +02:00
Adria Navarro f193df41f1 Expose get row action 2024-08-30 10:30:27 +02:00
Adria Navarro 6a43597dd3 Update paths 2024-08-30 10:30:27 +02:00
Adria Navarro dd14d0b646 Fix return types 2024-08-30 10:30:27 +02:00
Adria Navarro 5ed66e9d40 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 95d863b4a8 Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 6d1838d907 Create row action trigger test 2024-08-30 10:30:27 +02:00
Adria Navarro e93934111f Allow running api prod tests 2024-08-30 10:30:27 +02:00
Adria Navarro 610621823c Publish 2024-08-30 10:30:27 +02:00
Adria Navarro 568f5719c6 Test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 922b746029 Crud endpoints only for builder 2024-08-30 10:30:27 +02:00
Adria Navarro 98347b45ce Extra tests 2024-08-30 10:30:27 +02:00
Adria Navarro b461025639 Check views 2024-08-30 10:30:27 +02:00
Adria Navarro 0ece6a4d2d Fix unauthorised tests 2024-08-30 10:30:27 +02:00
Adria Navarro 3ac1343b08 set/unsetViewPermission tests 2024-08-30 10:30:27 +02:00
Adria Navarro d1c6edc437 Return types 2024-08-30 10:30:27 +02:00
Adria Navarro 42f849d9a1 View permissions on rowActionResponse 2024-08-30 10:30:27 +02:00
Adria Navarro ec2e5a0263 Add test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 6d3006e80e Dry code 2024-08-30 10:30:27 +02:00
Adria Navarro 2aa71ab419 Set/unset 2024-08-30 10:30:27 +02:00
Adria Navarro 5f3dcda73a Refactor 2024-08-30 10:30:27 +02:00
Adria Navarro de3eae2d47 Fix types 2024-08-30 10:30:27 +02:00
Adria Navarro 3cfe556b0f Add rowaction permission to document 2024-08-30 10:30:27 +02:00
Sam Rose 8618c7cc9b
Update pro reference. 2024-08-30 09:14:12 +01:00
Sam Rose 2a2dbfb745
Respond to last PR comment. 2024-08-29 17:59:17 +01:00
Sam Rose d134c21a45
Fix build. 2024-08-29 17:45:47 +01:00
Sam Rose 5a5c0d74dd
Update pro reference. 2024-08-29 16:44:15 +01:00
Sam Rose 82396c339d
Update account-portal submodule to latest master. 2024-08-29 16:30:38 +01:00
Sam Rose edfedec930
Fix lint. 2024-08-29 15:50:46 +01:00
Sam Rose bced81d241
Fix tests. 2024-08-29 15:45:19 +01:00
Sam Rose f9f528e880
Merge branch 'master' of github.com:budibase/budibase into feature-flag-sqs 2024-08-29 15:34:42 +01:00
Dean d2b6959b44 Reduced the z-index to just 1 above the binding drawer. The updated value caused index issues in other areas of budibase. 2024-08-29 12:58:12 +01:00
Adria Navarro 40021ff602 Fix view schemas 2024-08-29 13:56:42 +02:00
Adria Navarro 637464e8b0 Fix 2024-08-29 13:22:50 +02:00
Adria Navarro f2b8185905 Fix types 2024-08-29 13:20:35 +02:00
Adria Navarro 79ed5cd5a6 Fix 2024-08-29 13:16:27 +02:00
Adria Navarro fc1be3c9f8 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 033ac46259 Lint 2024-08-29 13:16:27 +02:00