Commit Graph

1846 Commits

Author SHA1 Message Date
mike12345567 c87a67a37a Converting user IDs where necessary to global user IDs in the frontend, correcting the null entry when using current user IDs, or other user IDs, as a default value for a user column form type. 2023-10-09 18:18:34 +01:00
Andrew Kingston 922a851710 Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-05 08:23:26 +01:00
Adria Navarro 39b5a2b539 Allow filtering 2023-10-04 17:55:23 +02:00
Andrew Kingston d03fdb6df9 Add initial support for query datasources in grids 2023-10-03 17:35:00 +01:00
Andrew Kingston 0506adee50 Update row click event name to match best practices 2023-10-02 09:18:25 +01:00
Andrew Kingston 3f267be628 Merge branch 'develop' of github.com:Budibase/budibase into grid-row-click-events 2023-10-02 09:08:20 +01:00
Andrew Kingston 6b904dd01a Remove log 2023-10-02 08:27:28 +01:00
Andrew Kingston bdd70d8bdb Fix regression when considering empty app navigation roles 2023-10-02 08:26:47 +01:00
Andrew Kingston 986069d7d7 Fix issue causing client apps to initialise 3 times 2023-10-02 08:19:59 +01:00
Andrew Kingston eb934adc33 Add row click events to grid 2023-09-29 16:47:53 +01:00
melohagan f22cce9553 Saving pre filled relation picker doesnt work (#11928)
* Make sure field state is valid

* Skip non-object relationship links

* Note

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2023-09-29 14:47:07 +01:00
melohagan 80d91cdd92 Make sure field state is valid (#11921) 2023-09-28 16:09:13 +01:00
Michael Drury a67f78fead Merge branch 'develop' into fix/BUDI-7236 2023-09-27 17:08:21 +01:00
Martin McKeaveney 65af2ed7c2 backmerge from master 2023-09-27 17:06:57 +01:00
mike12345567 e2c5b3ca9d Removing unused. 2023-09-27 16:56:23 +01:00
mike12345567 e3469ed38d Fixing dev-tools handling of custom roles and build issue - PR comments. 2023-09-27 16:52:20 +01:00
mike12345567 e916178046 Adding test case for new endpoint and covering public, builder and normal roles. 2023-09-27 15:46:04 +01:00
mike12345567 bb2892cbc2 Getting client library loading in Webstorm debug, as well as adding accessible roles endpoint. 2023-09-27 14:21:25 +01:00
Adria Navarro 9f391ed2d9 Fix initial load empty 2023-09-26 10:26:12 +02:00
Adria Navarro db2fcf3606 Fix display 2023-09-25 21:52:16 +02:00
Adria Navarro 2bc96addc2 Register BBReferenceField 2023-09-25 21:52:16 +02:00
Adria Navarro 69b6edb1e7 FieldTypes from @budibase/types 2023-09-25 21:52:16 +02:00
Adria Navarro e3c3edb8bd Fix reduces 2023-09-25 18:21:02 +02:00
Dean cb7c9e936c Merge remote-tracking branch 'origin/master' into fix/table-block-delete-button-default 2023-09-25 16:54:03 +01:00
Dean d6ae511eda Refactor of the delete label logic into a block 2023-09-25 12:43:43 +01:00
Adria Navarro a834402e16 Fix UX 2023-09-25 12:40:12 +02:00
Adria Navarro a175fb3293 Clean code 2023-09-25 12:33:21 +02:00
Adria Navarro 86feec66b1 Custom max height 2023-09-25 12:27:28 +02:00
Adria Navarro ab4f399033 Handle sorting 2023-09-25 12:23:17 +02:00
Dean fcb1575da5 Added default config values for buttons on auto screen creation. Added behaviour to accomodate screens created without defaults set. 2023-09-25 10:59:34 +01:00
Adria Navarro 10fdd696c6 Clean code 2023-09-25 10:17:26 +02:00
Adria Navarro 825f1c639e Improve readability 2023-09-25 10:16:01 +02:00
Adria Navarro 160b52c22b Remove useFetch 2023-09-22 15:50:29 +02:00
Adria Navarro c814e51e36 Display loader 2023-09-22 14:03:23 +02:00
Adria Navarro b391ca37ab Infinite scroll 2023-09-22 13:51:08 +02:00
Adria Navarro 1272414a57 Filter using picker 2023-09-22 13:04:44 +02:00
Adria Navarro 85854aa8be Keep options 2023-09-22 12:39:49 +02:00
Adria Navarro b56081405e Handle initial values 2023-09-22 12:16:54 +02:00
Adria Navarro 506176948b Fix 2023-09-22 11:00:56 +02:00
Adria Navarro 4ca9029dc9 Fix selected value 2023-09-22 10:15:43 +02:00
Adria Navarro 06d881aa7f Unify selectedValue func 2023-09-22 10:14:17 +02:00
Andrew Kingston 69c688a03e Update section component grid column styles to explicit widths to prevent issues with dynamic resizing and overflow 2023-09-22 08:48:34 +01:00
Adria Navarro 013f00e90d Clean 2023-09-21 13:24:29 +02:00
Adria Navarro d25542f2c3 Fix search 2023-09-21 13:22:48 +02:00
Adria Navarro 2ef014b070 Prevent extra fetches when not required 2023-09-21 13:15:42 +02:00
Adria Navarro 1191e71a15 Use fetch updates for the autocomplete 2023-09-21 12:29:39 +02:00
Adria Navarro 44bf32981a Undo changes 2023-09-21 11:39:02 +02:00
melohagan acb53c075a Scroll to first invalid field (#11824)
* Final actions

* Add vertical options to ScrollTo

* Remove nearest option

* Scroll to form field when invalid

* Backwards compatibility for ScrollTo action

* Revert "Final actions"

This reverts commit 910e9e6d396aa8531c9662181ebccc77b90ed0ae.

* Scroll to form field when invalid

* Remove createAutomations function

* Refactor

* Refactor

* lint

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-09-20 14:30:35 +01:00
Andrew Kingston 2ef9912f3f Merge branch 'develop' into global-bindings 2023-09-20 11:54:00 +01:00
Andrew Kingston 3ae5216fd5 Make update forms work with view V2s 2023-09-18 19:07:19 +01:00
Andrew Kingston 917e837ffc Make update type forms to work with global bindings 2023-09-18 18:27:58 +01:00
Andrew Kingston f78cc26a68 Integrate actions into new global context and greatly improve performance by only enriching when required 2023-09-15 11:52:35 +01:00
melohagan 7f43db09a6 Budi 7481 initial form step binding drawer can crash (#11751)
* Type safety

* Clear localFiles is fieldState is cleared
2023-09-15 10:45:15 +01:00
Andrew Kingston 2f786aa29a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-09-15 08:11:28 +01:00
Andrew Kingston 46a9f98fe5 Lint 2023-09-15 08:02:14 +01:00
Andrew Kingston 49948df9cd Support both global and local state simultaneously 2023-09-14 15:31:51 +01:00
Andrew Kingston 1995a2860f Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-09-12 11:35:54 +01:00
Mel O'Hagan fac2b845a0 Merge branch 'master' into budi-7468-save-row-action-will-attempt-to-save-the-image-data-of-the 2023-09-12 10:27:10 +01:00
Mel O'Hagan 139c642199 Don't send S3 image data url to rows endpoint 2023-09-08 23:53:15 +01:00
Andrew Kingston 32892b1ef9 Merge branch 'develop' into lab-theme-binding 2023-09-08 15:10:51 +01:00
Adria Navarro 2a3e83e53d Fix linting issues 2023-09-07 09:46:30 +01:00
Martin McKeaveney 4668315acd Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-09-06 18:30:16 +01:00
Martin McKeaveney f6b15b0632 Merge branch 'branding-self-host' of github.com:Budibase/budibase into develop 2023-09-06 18:30:01 +01:00
melohagan 3f1ec54fe9 Relationship picker searching enhancement (#11639)
* Search for initially set value and add to options

* Only append option if needed

* Handle change

* Open dropdown on search

* Avoid duplicates

* Add client side search

* lint

* Offset popover

* refactor

* Refactor

* refactor
2023-09-06 16:38:11 +01:00
Andrew Kingston 256ee25609 Merge branch 'develop' into cheeks-fixes 2023-09-06 11:34:41 +01:00
Dean 61cbd45806 Fix for default create row label in table block. Ensure its always visible 2023-09-05 13:32:54 +01:00
mike12345567 83875cd2d6 Merge branch 'develop' of github.com:Budibase/budibase into merge-master-develop 2023-09-05 12:29:27 +01:00
mike12345567 d096f359d7 Revert "Revert "Merge branch 'develop' into master""
This reverts commit 3265042025.
2023-09-05 12:28:56 +01:00
Dean c6bd81ba21 Fix for datasource reset on formblock. Added 'resetOn' to the manifest to trigger a clear when the configured field is cleared 2023-09-05 11:40:52 +01:00
Dean 4d2f76e5be Fix for view export filtering and view tableblock exception 2023-08-31 08:42:31 +01:00
Andrew Kingston 4bdc35eec2 Remove extraneous check if view ID exists 2023-08-30 15:46:48 +01:00
Dean eb6269a0bb Refactor theme binding into device databindings fn 2023-08-30 09:27:23 +01:00
Dean f7d0f98a45 Merge remote-tracking branch 'origin/develop' into lab-theme-binding 2023-08-30 09:06:01 +01:00
Andrew Kingston 37158ea387 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-30 08:06:19 +01:00
Dean 3bdb1ea877 PR Feedback updates 2023-08-29 17:11:25 +01:00
Martin McKeaveney 3265042025 Revert "Merge branch 'develop' into master"
This reverts commit 99adc2039b, reversing
changes made to fec20e526e.
2023-08-29 14:27:39 +01:00
Dean 5365de6a8d POC 2023-08-29 09:19:11 +01:00
Andrew Kingston aa3840833e Fix selection indicators inside side panels 2023-08-25 09:20:00 +01:00
Andrew Kingston f7805ef5f9 Fix table blocks not being able to create rows through V2 views 2023-08-24 16:29:21 +01:00
Andrew Kingston 8269ecf237 Update automatic dataprovider hot reloading to support views 2023-08-24 16:20:32 +01:00
Andrew Kingston 5763a9843c Update duplicate rows action to support views V2 2023-08-24 16:14:37 +01:00
Andrew Kingston c78fcb2ba6 Ensure 'table' type settings are migrated and handled properly. Allow deleting rows from views 2023-08-24 15:50:57 +01:00
Andrew Kingston b6e675e3ff Migrate DS+ settings without keys 2023-08-24 15:15:15 +01:00
Dean dc500ba290 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-24 14:43:50 +01:00
Dean 1ec2faf74d List refinement, Form Block UX updates for action type. Bug fixes for FormBlock bindings. TableBlock UX updates and Component Setting updates 2023-08-24 14:39:53 +01:00
Andrew Kingston a22fc8d208 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-24 12:07:23 +01:00
Andrew Kingston 0ef0e58e5e Fix click on navigation not selecting it 2023-08-23 15:37:13 +01:00
Andrew Kingston 4847cafd81 Fix navigating while moving between screens 2023-08-23 15:14:22 +01:00
Andrew Kingston 899a1dd754 Restore being able to select the screen and nav, now with unique IDs 2023-08-23 15:00:26 +01:00
Andrew Kingston a352f8ee0a Merge branch 'design-section-feature-branch' of github.com:Budibase/budibase into new-left-panel 2023-08-23 14:46:30 +01:00
Andrew Kingston 087812011f WIP for fixing collaboration in new left panel 2023-08-23 14:45:23 +01:00
Andrew Kingston a83e987dcd Stop preview jumping when scrolling to components, and improve scrolling behaviour 2023-08-22 18:55:36 +01:00
Andrew Kingston df676bbe9e Update table block to work with views 2023-08-22 13:39:58 +01:00
Andrew Kingston eb7c12ba09 Prevent editing columns in grids in client apps 2023-08-22 11:31:38 +01:00
Andrew Kingston 6d46fb2963 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 11:57:28 +01:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
Gerard Burns 6886a312c5 New Left Panel for Design 2023-08-18 12:46:41 +01:00
Martin McKeaveney fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
Dean 6edad5d375 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-16 17:18:14 +01:00
melohagan a8b3249a8f Add bindable setting for initial form step (#11530) 2023-08-16 15:59:02 +01:00
Dean 29c8dbd94a Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-11 14:20:25 +01:00
mike12345567 a24e1809b6 Merge branch 'views-v2-frontend' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:56 +01:00
mike12345567 b4b52d9266 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:29 +01:00
Martin McKeaveney 35d349de9e self host banner 2023-08-09 18:00:44 +01:00
Andrew Kingston 7a40ad66c6 Strip hidden fields from viewV2 schema in client lib 2023-08-09 16:30:27 +01:00
Andrew Kingston 08b348c1d4 Allow selecting viewV2s for grid blocks and form blocks 2023-08-09 16:22:12 +01:00
Andrew Kingston 06810d43d9 Add support for viewV2 datasources in client library 2023-08-09 15:09:53 +01:00
Mel O'Hagan 460789bef4 Parse specific step as int 2023-08-09 08:51:32 +01:00
Andrew Kingston 9ddb8f4c5f Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-08-07 13:04:34 +01:00
Andrew Kingston 7aa5211d87 Fix grid block 2023-08-04 15:40:46 +01:00
Dean 79c9535659 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-04 11:31:50 +01:00
Andrew Kingston c4bd025011 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-04 11:16:46 +01:00
Dean cb2a19620b Initial commit 2023-08-03 09:29:12 +01:00
Andrew Kingston 0d65d34456 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-01 09:10:31 +01:00
Andrew Kingston b74fc5292c Merge branch 'develop' into plugin-improvements 2023-08-01 08:57:00 +01:00
Andrew Kingston c0c5a57a99 Supress notification from form block delete row action if configured 2023-07-31 11:50:42 +01:00
Andrew Kingston bbe6741ffd Support plugins in block components 2023-07-30 13:07:14 +01:00
Andrew Kingston 0b2c6e531c Export Block and BlockComponent via SDK 2023-07-30 13:07:01 +01:00
Dean 08ba1c8ccd Added a simple histogram to the supported chart types 2023-07-27 13:04:09 +01:00
Andrew Kingston c4e4b5c979 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-07-26 16:28:21 +01:00
Dean a5b81558b9 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 15:42:01 +01:00
Andrew Kingston b82a34d7e1 Tidy up 2023-07-25 15:35:58 +01:00
Adria Navarro 4c3bfdd8b2 Map datasource 2023-07-25 15:54:10 +02:00
Adria Navarro e0b91d5941 Use defaults 2023-07-25 15:54:10 +02:00
Adria Navarro 95faeea286 datasourceType setup 2023-07-25 15:54:10 +02:00
Andrew Kingston b8bc25a39a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-07-25 09:43:58 +01:00
Andrew Kingston 69ab3dfe74 Merge pull request #11260 from Budibase/relationship-picker-filtering
Relationship picker filtering
2023-07-24 14:50:30 +01:00
Dean f0c498cedb Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-24 09:52:59 +01:00
Andrew Kingston 5bbf6dc1c8 Merge pull request #11309 from Budibase/cheeks-fixes
Misc fixes
2023-07-21 13:28:09 +01:00
Dean ca6737b77b Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-20 12:39:49 +01:00
Martin McKeaveney 979883257e backmerge master 2023-07-19 17:11:15 +01:00
Dean 052f60b94c Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-19 09:05:52 +01:00
Andrew Kingston bada641262 Fix bug in checkboxgroup due to reassignment of value prop 2023-07-18 16:47:43 +01:00
Andrew Kingston ae8ed1a1e5 Add filtering to relationship picker 2023-07-18 09:36:20 +01:00
Dean 7f3dfc8bba Linting 2023-07-14 11:42:22 +01:00
Dean a481eee39e Binding selection fixes, delete controller refactor and some fixes 2023-07-14 09:11:34 +01:00
Andrew Kingston 2dafdc1fd7 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-11 13:59:00 +01:00
Andrew Kingston 869e6688a0 Merge pull request #11140 from Budibase/allow-customizing-component-alerts
Allow suppressing block row creation alerts
2023-07-11 11:25:56 +01:00
Rory Powell 5bd756e65e Merge branch 'master' into merge-master 2023-07-10 16:13:21 +01:00
Andrew Kingston dbc8c742d0 Lint 2023-07-10 14:35:28 +01:00
Andrew Kingston d98c0bdcea Add option to open app preview in new tab 2023-07-10 13:53:37 +01:00
andz-bb 64e2ceb7c3 add scanner beep on successful qr/barcode scan 2023-07-07 18:06:55 +01:00
melohagan 7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
Gerard Burns 808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +01:00
Gerard Burns 8371c3f644 Allow suppressing block row creation alerts 2023-07-05 14:59:25 +01:00
melohagan 74b3b3dcc3 Add section setting to field group (#11110)
* Add section setting to field group

* Left aligned fix for oneColumn only

* Only use section for above label position
2023-07-04 10:46:53 +01:00
Andrew Kingston e0e0fcabad Fix grid block row height not working. Change initialRowHeight setting to fixedRowHeight 2023-07-04 09:41:10 +01:00
Andrew Kingston bac1a411e8 Ensure columns configured in the grid block are always visible, even if hidden in the parent table 2023-07-03 10:31:07 +01:00
Andrew Kingston c7122448e1 Fix notifications not working in grid blocks in client apps 2023-06-28 09:18:01 +01:00
Andrew Kingston 211a4cbb35 Merge pull request #11011 from Budibase/form-step-updates
Persist the current step when remounting a form
2023-06-27 15:11:13 +01:00
Dean b6caebe431 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-26 15:51:31 +01:00
mike12345567 2cafc9f80c Merge branch 'develop' of github.com:Budibase/budibase into form-step-updates 2023-06-26 12:45:34 +01:00
Andrew Kingston aebc3b2bb8 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-26 09:05:06 +01:00
melohagan 8325b5bb1e Add count to duplicate errors (#10920)
* Add count to duplicate errors

* Lint: Remove unused prop
2023-06-23 18:34:05 +01:00
Andrew Kingston a4ea6a3d34 Ensure initial value of current form step inside form state store is correct 2023-06-23 16:50:10 +01:00
Andrew Kingston b130de71dc Persist the current step when remounting a form 2023-06-23 16:45:22 +01:00
mike12345567 3d3efadb37 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-23 15:19:49 +01:00
Dean fd8400bee5 PR feedback and removed some comments 2023-06-23 11:56:59 +01:00
melohagan a97518ff39 Scroll to field button action (#10901)
* Scroll To Field WIP

* Scroll to the label
2023-06-23 11:51:49 +01:00
Andrew Kingston ca18ab02bd Merge pull request #10887 from Budibase/fix/on-change-actions
Fix field on change actions not properly checking for unchanged values
2023-06-22 11:49:56 +01:00
Andrew Kingston 9fd04cc2c7 Update multiple settings components to enable more generic usage of column selectors and remove some bespoke copy from generic components. Enable display names for grid columns 2023-06-19 18:49:57 +01:00
Andrew Kingston 757d2d11ef Add functionality to suppress errors to avoid spam in grids in client apps 2023-06-19 18:21:14 +01:00
Andrew Kingston 9d8b5e99af Add column setting to grid 2023-06-19 17:38:44 +01:00
Andrew Kingston d77b2c6ab1 Refactor how grid settings are used and add option for row height 2023-06-19 17:24:40 +01:00
Andrew Kingston 68f21274ed Add settings to grid block for filtering and sorting, and refactor grid logic to allow external control of these stores 2023-06-19 09:54:24 +01:00
Dean 2304032423 Added embed state, behaviours and event tracking to client app. UI/UX Refactoring 2023-06-16 12:30:08 +01:00
Andrew Kingston b05eb5ad01 Improve calculation of inversion indices, improve cell max sizes and grid padding for consitency 2023-06-16 12:09:44 +01:00
Rory Powell 5f716a62a4 Revert "Merge branch 'develop' into master"
This reverts commit 67fb9de7f4, reversing
changes made to ebec885b0a.
2023-06-16 10:13:43 +01:00
Andrew Kingston 70eda7ff81 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-16 10:02:42 +01:00
mike12345567 d84051ccfd Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-15 17:08:08 +01:00
mike12345567 67e2ce86ce Adding a license mechanism to the app package call so that public apps can still return what license the app utilises. This is retrieved based on the tenant of the app - we only attach the license type so as to not expose further information than is necessary. 2023-06-15 16:33:07 +01:00
Andrew Kingston 6a42d76c62 Add border radius to grid block 2023-06-15 11:19:46 +01:00
Adria Navarro f446bd96dd Merge branch 'master' into backmerge-master 2023-06-15 10:16:21 +01:00
Martin McKeaveney 307e6dde02 update bblogoimgur to bblogo 2023-06-14 15:21:46 +01:00
Martin McKeaveney cd1675098f removing need for external internet assets and self hosting our own fonts 2023-06-14 14:54:27 +01:00
Andrew Kingston ed9065aae3 Hide add row FAB when selecting rows 2023-06-14 09:10:09 +01:00
Andrew Kingston 0ab1346577 Add settings to grid block for controlling CRUD 2023-06-13 17:17:29 +01:00
Andrew Kingston 0dbd709438 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-13 15:15:41 +01:00
Andrew Kingston 669a05b640 Fix field on change actions not properly checking for unchanged values 2023-06-13 15:07:38 +01:00
Andrew Kingston 881e3503e5 Lint 2023-06-09 13:08:26 +01:00
Andrew Kingston 26d3c93b30 Update devtools header text 2023-06-09 11:48:19 +01:00
Andrew Kingston 3439ac6aaf Improve background colour usage with preview modal 2023-06-09 11:03:49 +01:00
Andrew Kingston b3e23562f0 Update in builder preview to be a full screen overlay rather than opening in a new tab 2023-06-08 15:12:50 +01:00
Andrew Kingston 5820996e4d Update grid flags to allow readonly modifications of schema 2023-06-08 08:35:36 +01:00
Andrew Kingston 752dd93d84 Add initial grid block, and update grid to keep indentation consistent when row expansion is disabled 2023-06-07 15:50:38 +01:00
Andrew Kingston d8d3d71523 Update websocket logic to ignore events trigger by API requests originating from the same session 2023-06-01 17:14:32 +01:00
Andrew Kingston 8d83a94d61 Disable heartbead on client app socket 2023-05-31 15:13:52 +01:00
Andrew Kingston cc53719c52 Refactor client lib websocket usage to match other usages 2023-05-30 11:21:37 +01:00
Peter Clement 4d5a922684 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-24 15:05:58 +01:00
Adria Navarro cff9c26ef2 Lint 2023-05-19 17:46:34 +02:00
Peter Clement 59e1150eee improve notification message for sync automation run 2023-05-16 09:59:37 +01:00
Peter Clement dcfb65b92d sync / async automations go through one endpoint 2023-05-12 15:56:24 +01:00
Peter Clement 1626571081 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-11 11:53:12 +01:00
Peter Clement 1539bf234b add ability to trigger synchronous automation from button action 2023-05-09 12:10:20 +01:00
mike12345567 c880282be3 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-05-05 15:44:32 +01:00
Martin McKeaveney 67813a86a9 Merge pull request #10437 from Budibase/budi-6955-typo-in-default-prompt-user-action
fix typo in prompt user modal default text
2023-05-05 12:02:29 +01:00
Andrew Kingston d03f96ceb8 Make all blindings global and improve client component performance 2023-04-28 09:03:09 +01:00
andz-bb af48549e09 fix typo in prompt user modal default text 2023-04-27 16:06:57 +01:00
Gerard Burns e74d4b4ddb PR Feedback 2023-04-27 14:17:09 +01:00
Gerard Burns 50336c80e3 Stop Multiple onClick Events from Firing 2023-04-27 12:01:36 +01:00
Gerard Burns 0c38124f6a Form Block Improvements (#10404)
* Form Block Improvements

* PR Fixes

* PR feedback
2023-04-25 09:57:21 +01:00
Andrew Kingston 7afd716e91 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-20 15:24:25 +01:00
melohagan 3073fcfc63 Add empty text property to all blocks (#10332)
* Add noRowsMessage for Table

* CardsBlock noRowsMessage setting

* RowExplorer noRowsMessage setting

* Add noRowsMessage setting for FormBlock

* Fix default noRowsMessage
2023-04-20 10:36:43 +01:00
Andrew Kingston 9025e18f15 Misc fixes (#10345)
* Fix some issues with component and screen settings layout

* Fix issue with component setting labels when multi-line

* Remove early termination of form validation when encountering an errored field

* Update free logo badge to be a sticky footer

* Close side panels when clicking on links
2023-04-19 14:21:11 +01:00
Andrew Kingston d7820b05d8 Fix HMR for custom plugins which was broken due to signed minio links 2023-04-19 10:41:23 +01:00
Andrew Kingston 208e481bbc Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-17 17:00:56 +01:00
melohagan 6ca999722c Add file/upload size validation option (#10262)
* Add file/upload size validation option

* Max upload size handler

* Update max total upload label
2023-04-12 11:51:18 +01:00
Andrew Kingston 31f6f9db7b Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-29 12:09:57 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Martin McKeaveney bcbed08a40 Merge pull request #9951 from Budibase/settings-panel-update
Settings panel layout update
2023-03-28 18:36:58 +01:00
Andrew Kingston e0e5ca7a3c Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-28 15:47:53 +01:00
Dean c914ded42c Feedback updates 2023-03-28 11:18:49 +01:00
Dean 1d97e2a908 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 15:21:35 +01:00
Andrew Kingston 1b2b4dba88 Revert skeleton loaders and restore required setting functionality (#9979) 2023-03-27 14:43:29 +01:00
Dean bfd7e49c72 Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url. 2023-03-21 09:20:43 +00:00
melohagan 956d8f1ae3 Background image component can have children (#9981) 2023-03-13 11:44:15 +00:00
Andrew Kingston 809c56de9f Merge with new shared-core and moved lucene utils 2023-03-09 18:16:56 +00:00
Andrew Kingston c4e3667b6c Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-09 17:54:58 +00:00
Andrew Kingston 56477ab569 Update client lib mobile breakpoint 2023-03-09 09:11:18 +00:00
melohagan 09cf4f8bbc Dynamic filter: Enrich columns (#9877)
* WIP

* Allow related fields in Dynamic Filter

* REST URL check https first

* Only allow related fields in dynamic filter column editor
2023-03-07 10:32:52 +00:00
deanhannigan 82397dc516 Merge pull request #9876 from Budibase/fix/embedded-map-init-error-handling
Added error handling for leaflet initialisation errors
2023-03-07 09:35:06 +00:00
Dean 7988f8c2d9 Added error handling for leaflet initialisation errors 2023-03-03 14:51:54 +00:00
melohagan 6a6bbb38c4 Support navigate to link in new tab (#9800)
* Support navigate to link in new tab

* Add dropdown for Navigate To type

* lint

* Remove labels
2023-03-01 17:41:50 +00:00
Andrew Kingston fae24276f9 Migrate sheet to data section, improve reordering and reszing 2023-02-26 21:29:46 +00:00
Andrew Kingston e9b801e205 Fix columnn reordering 2023-02-25 17:09:08 +00:00
Andrew Kingston 0eadca9acb Optimise scrolling and virtual rendering performance 2023-02-25 16:33:20 +00:00
Andrew Kingston 4d3f669ae7 Optimise virtual rendering for both columns and rows to handle infinitely large datasets 2023-02-24 13:53:23 +00:00
Andrew Kingston 3ab0e95032 Test absolute positioning 2023-02-24 09:46:44 +00:00
Andrew Kingston b8e7e0b701 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-23 16:41:08 +00:00
Andrew Kingston ddb70ba3f6 Split into more modular components and try virtual rendering 2023-02-23 16:40:48 +00:00
Andrew Kingston 0060025cca Break out spreadsheet body into its own component 2023-02-23 08:43:37 +00:00
Andrew Kingston c834a236b7 Break out other components from spreadsheet for cleaner code 2023-02-23 07:44:59 +00:00
Andrew Kingston fc06811b2c Rename reordering to reorder 2023-02-22 15:48:17 +00:00
Andrew Kingston ca7aed617f Break out reordering logic into new stores 2023-02-22 15:42:20 +00:00
Andrew Kingston 35dcd51322 Add drag and drop column reordering 2023-02-22 14:05:20 +00:00
Andrew Kingston fee091b081 Allow updating nested settings via conditional UI (#9748)
* Allow updating nested settings via conditional UI

* Tidy up comments

* Improve safety when generating conditions

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-22 13:22:59 +00:00
Andrew Kingston 8da1e507b1 Use more CSS variables and add utils to spreadsheets 2023-02-21 12:05:16 +00:00
Andrew Kingston 3abc2ddbd1 Support empty dates and use CSS variables for easier styling 2023-02-21 11:51:52 +00:00
Andrew Kingston 57cfc9d84c Improve display of relationship cell and options cell 2023-02-21 11:46:20 +00:00
Andrew Kingston 8f5c5cc758 Make sticky column the primary display and fix opening options cells 2023-02-21 11:10:26 +00:00
Andrew Kingston 8c81d5916b Disable editing autocolumns 2023-02-21 10:46:38 +00:00
Andrew Kingston dbf8494c4b Add functional date cell 2023-02-21 10:23:55 +00:00
Andrew Kingston 8316692ecf Add number cell 2023-02-21 10:00:18 +00:00
Andrew Kingston e26163e274 Add support for multiselect type 2023-02-20 19:04:22 +00:00
Andrew Kingston c627cb60c3 Allow multiselect component and field to support text values 2023-02-20 18:45:35 +00:00
Andrew Kingston 08463c1cd0 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-20 15:55:25 +00:00
Gerard Burns 8289da3f19 Add Fetch Row Button Action (#9653)
* Add Fetch Row Button Action

* PR feedback
2023-02-17 14:49:35 +00:00
Rory Powell bb1faac62a Merge master into develop 2023-02-15 15:10:02 +00:00
Mel O'Hagan 53de83986e Null safety 2023-02-15 08:45:48 +00:00
melohagan ee054adf39 Longform fields support for JSON string (#9666) 2023-02-13 11:06:33 +00:00
Andrew Kingston 23450d245c Add resizable columns and add support for all themes 2023-02-10 08:17:18 +00:00
Andrew Kingston 1cbd427d70 Fix padding around sheet not working when scrolling 2023-02-09 08:50:22 +00:00
Andrew Kingston 5eeea14de0 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-08 15:10:48 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
Andrew Kingston 2a2466fbda More fixes (#9387)
* Mark filters as nested settings to support persisting bindings post block ejection

* Add support for searching on linked fields in blocks

* Fix multi-select pickers closing on every click

* Target spectrum root element by default when rendering popovers, and allow customisation via context for client library

* Don't send up invalid HBS expressions when filtering on dates in blocks with empty date value

* Move profile above theme in user dropdown
2023-01-19 16:09:40 +00:00
Andrew Kingston a3e555c85e Misc fixes (#9383)
* Shrink cloud upgrade button to proper size

* Add brackets to fix operator precedence when ejecting blocks to prevent undefined custom CSS

* Prevent relationship fields in forms from being used as datasources

* Remove extraneous navigation when adding a component which caused next navigation to fail

* Improve form logic concerning when to fully remount itself to fix issues with stale schema being passed in
2023-01-19 09:47:10 +00:00
Andrew Kingston b06c6852a3 Optimise client library performance with skeleton loaders (#9256)
* Treat empty string default values as nullish when considering whether field default values should be applied to the real field value

* Add flag to allow not loading data immediately upon creation of a data fetch object

* Use loading context inside forms to avoid wasted renders while form schema are loading

* Wait for parent data providers to finish loading before loading their own data

* Optimise data provider to reduce updates as much as possible

* Allow forms to render content immediately again, but use the loading context to inform data providers to wait for them

* Remove fetchOnCreation flag for data fetches as now redundant

* Fix issue with deleting the selected button action when the next action has no parameters

* Lint
2023-01-11 08:01:41 +00:00
mike12345567 3cd097a7f1 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Dean bc933638ef Added sorting to the options field 2023-01-04 13:08:28 +00:00
Martin McKeaveney 562768d61e Updating the client overlay to use the right method when event type is unknown (#9192) 2023-01-03 13:40:37 +00:00
FlaminWrap a1ee10c1c6 Button action for user prompt (#8676)
* Commit for enhancement #7762

Added Question option for buttons which acts as a dialog prompting the user to confirm or cancel before continuing.

* Fixes

* Made changes to allow custom modal title

Changed Question to User Prompt
Allows custom title

* Revert "Made changes to allow custom modal title"

This reverts commit 42a43bef4914cd52b07a2b6964bf78aa50eb2707.

* Revert "Fixes"

This reverts commit 915a8718e5ac6dd32a6c3d377d5edb02fc8a3138.

* Adds custom title

Adds custom title

* Wrong version of buttonActions was commited

* Delete index.js

* refactor

* lint

Co-authored-by: Mel O'Hagan <mel@budibase.com>
2022-12-15 16:21:24 +00:00
melohagan f5c902fb57 Add compact setting to AttachmentField (#9052) 2022-12-15 13:59:03 +00:00
Andrew Kingston 090ae5df49 Master => Develop (#9049)
* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Rory Powell 786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
Andrew Kingston c3b6afbb6f Fix SQL table `_id` filtering (#9030)
* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules
2022-12-15 09:22:28 +00:00
Andrew Kingston b37d51c8d9 Fix side nav styles 2022-12-12 12:42:11 +00:00
Andrew Kingston a846192494 Fix side panel ejection 2022-12-07 09:51:47 +00:00
Andrew Kingston 74a8eba2fa Fix side panel issue where content from multiple side panels would be shown 2022-12-06 15:21:17 +00:00
Andrew Kingston e612545072 Merge pull request #8944 from Budibase/side-panel-tweaks
Side panel tweaks
2022-12-06 12:23:46 +00:00
Andrew Kingston aacfe297bc Debounce hiding side panel to avoid toggling visibility when cycling through records 2022-12-06 09:55:42 +00:00
Andrew Kingston 44e8676aab Hide content when side panel is hidden to avoid stale data being shown when re-revealing side panel 2022-12-06 09:55:25 +00:00
Gerard Burns 0506c66266 pr feedback 2022-12-05 14:38:43 +00:00
Gerard Burns 8eccee030a Fix Skeleton Loader Jumping 2022-12-05 14:24:53 +00:00
Andrew Kingston d0ed60ee3a Revert removing loading blockers in forms to fix multiple issues 2022-12-05 12:10:24 +00:00
Andrew Kingston 783e95b688 Merge pull request #8667 from FlaminWrap/Flaminwrap-Enhancement-7604
Allow user to disable hard coded notifications for button actions #7604
2022-12-05 09:36:31 +00:00
Andrew Kingston 07377ba54e Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-12-02 10:21:00 +00:00
Andrew Kingston 05526a86cf Fix incorrect prop used in table block for title button click actions 2022-12-02 10:20:49 +00:00
Gerard Burns ffa3eede49 Public App Missing Nav Menu (#8870)
* Public App Missing Nav Menu

* PR Feedback
2022-12-02 09:24:20 +00:00
Gerard Burns 6e4f560948 Skeleton Fixes (#8845) 2022-12-02 09:24:05 +00:00
Andrew Kingston 3c0d58bb91 Clear a create form block when submitted 2022-11-25 13:34:25 +00:00
Andrew Kingston 44b812b6b6 Hide horizontal overflow in side panels 2022-11-25 12:14:25 +00:00
Andrew Kingston abedb5d9eb Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-25 11:24:57 +00:00
Andrew Kingston e40e82fd5f Tweak options cell to be pixel perfect 2022-11-25 10:17:03 +00:00
Gerard Burns a2889ec1a3 Skeleton Loading States (#8719)
* Loading Skeletons

* PR Feedback
2022-11-25 10:02:43 +00:00
Andrew Kingston 4e3400eb7f Add gap between items in an options cell 2022-11-25 08:48:18 +00:00
Andrew Kingston db13f7a2c3 Remove deletion notification and fix selection 2022-11-25 08:43:44 +00:00
Andrew Kingston adb03cefb2 Fix z-index issue with option cells 2022-11-25 08:35:08 +00:00
Andrew Kingston 152d157aaa Add ability to add new rows 2022-11-25 08:34:44 +00:00
Andrew Kingston fafb8ec938 Add row deletion and fix sizing 2022-11-24 20:06:31 +00:00
Andrew Kingston 6471464971 Add inline editing of options fields 2022-11-24 19:28:55 +00:00
Andrew Kingston b19a2a3d3a Refactor to use IDs and support changing text values inline 2022-11-24 16:41:53 +00:00
Andrew Kingston 1c3b6e0cec Add footer and improve styles 2022-11-24 15:59:24 +00:00
Andrew Kingston ae15690741 Add WIP spreadsheet 2022-11-24 14:12:40 +00:00
Andrew Kingston 343aff9f88 Update side panel transition to be much smoother 2022-11-23 16:14:58 +00:00
Andrew Kingston b879a49f4f Fix issues with not resetting side panel content 2022-11-23 15:05:04 +00:00
Andrew Kingston a04f58dd23 Fix crash when deleting a selected side panel component 2022-11-23 12:33:31 +00:00
Andrew Kingston 9ec58ca401 Use the new DOM ID method of determining the correct DOM node for a component 2022-11-23 12:32:40 +00:00
Andrew Kingston c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
Andrew Kingston 170b8c4d61 Fix multiple issues with showing/hiding side panels inside the builder preview and dragging components inside side panel 2022-11-22 16:45:15 +00:00
Andrew Kingston c72b7807ca Prevent automatically closing side panels via an outside click when inside the builder 2022-11-22 16:44:35 +00:00