Commit Graph

2216 Commits

Author SHA1 Message Date
Andrew Kingston b1a218beb0 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-28 15:08:12 +00:00
Andrew Kingston f2cf118eb1 Merge branch 'master' of github.com:Budibase/budibase into fix/relationship-picker-filtering 2023-11-28 09:42:07 +00:00
Andrew Kingston 69dd675414 Add comment to explain numeric prefix 2023-11-28 09:41:29 +00:00
Gerard Burns 0d0db98484
Grid columns UI (#12209)
* grid columns ui

* linting

* remove comment

* remove property thats not used

* remove cli pacakge change

* PR Feedback

* fixes

* fixes

* wip

* wip

* wip

* wip

* wip

* wip

* about to implement

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* tests

* linting

* remove drag handle file

* fix icons

* remove field config changes

* wip

* wip

* wip

* remove logs

* wip

* linting

* pr feedback

* linting
2023-11-24 11:02:57 +00:00
Dean c0012409f7 Added button group support to Formblock and Tableblock components 2023-11-23 10:45:13 +00:00
Andrew Kingston 3d39a2f77b Fix relationship filter setting being ignored, and debounce searches 2023-11-23 09:47:07 +00:00
Andrew Kingston a58af2b7e4
Merge branch 'master' into settings-enhancements 2023-11-22 12:26:19 +00:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Gerard Burns 7e037099b4
Field help text (#12383)
* wip

* client finished

* add to bbui input

* linting

* PR Feedback

* remove test code

* linting

* PR feedback

---------

Co-authored-by: Martin McKeaveney <martin@budibase.com>
2023-11-20 15:05:58 +00:00
Andrew Kingston 7806591b82 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-20 14:47:37 +00:00
Andrew Kingston f525aa77d3 Merge branch 'grid-buttons' of github.com:Budibase/budibase into settings-enhancements 2023-11-20 08:34:55 +00:00
Andrew Kingston 7926490391
Merge branch 'master' into grid-buttons 2023-11-20 08:31:50 +00:00
Andrew Kingston e04ea1a620 Add makePropSafe to client SDK 2023-11-20 08:30:42 +00:00
Adria Navarro 4b5fa1dfd9 Fix qa-core lint 2023-11-17 15:53:56 +01:00
Adria Navarro f70bb967e6 Fix references 2023-11-17 15:40:26 +01:00
Adria Navarro d0e40afbcb Fix lint issues 2023-11-17 14:42:37 +01:00
Andrew Kingston 103e933df8 Ensure button group component has default props 2023-11-09 12:38:40 +00:00
Andrew Kingston 1f3e56fdc1 Allow grids to provide a refresh datasource action 2023-11-09 11:10:52 +00:00
Andrew Kingston 223a82f717 Ensure metadata is not null before registering datasources for automatic hot reloading 2023-11-09 11:07:32 +00:00
Mel O'Hagan 63b3bee311 fix 2023-11-09 09:52:07 +00:00
Dean ce9de420e2 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2023-11-07 17:41:18 +00:00
Andrew Kingston a343572815 Add utils to client lib 2023-11-07 14:36:57 +00:00
Andrew Kingston 3d2cd9cc0b Use explicit svelte store 'get' when clicking buttons in grids 2023-11-07 14:22:09 +00:00
Andrew Kingston c25b8a1448 Expose schema context from grid and allow usage in buttons 2023-11-07 14:10:16 +00:00
Andrew Kingston 57e3b1ad08 Fix issue with buttons inside grids when no actions are defined 2023-11-07 13:01:50 +00:00
Andrew Kingston 20f9fd5d1b Merge branch 'master' of github.com:Budibase/budibase into grid-buttons 2023-11-07 11:28:42 +00:00
Mel O'Hagan c169a73764 readonly css 2023-11-07 09:19:29 +00:00
Mel O'Hagan fee9a9d65d Merge branch 'master' into budi-7105-builder-option-for-read-only-form-fields 2023-11-07 08:27:04 +00:00
Martin McKeaveney 411b8e8c5e
Merge branch 'master' into form-block-field-layout 2023-11-06 18:11:49 +00:00
Martin McKeaveney 8c72ad5db1
Merge branch 'master' into budi-7736-relationship-picker-required-validation-fires-immediately 2023-11-06 18:06:28 +00:00
Martin McKeaveney 511a37732e
Merge branch 'master' into master 2023-11-06 18:02:01 +00:00
Martin McKeaveney 2a3e31f259
Merge branch 'master' into budi-7105-builder-option-for-read-only-form-fields 2023-11-06 18:01:12 +00:00
Martin McKeaveney 2e521ae62c
Merge branch 'master' into form-block-field-layout 2023-11-06 17:59:35 +00:00
Mel O'Hagan 55cacc62dd Merge branch 'master' into budi-7736-relationship-picker-required-validation-fires-immediately 2023-11-06 14:03:45 +00:00
Mel O'Hagan 6ee7ae953d Don't trigger required validation early 2023-11-06 13:56:31 +00:00
Andrew Kingston fb1258072c
Merge branch 'master' into new-branding 2023-11-06 09:11:54 +00:00
Martin McKeaveney 0ef680e327
Merge branch 'master' into master 2023-11-02 14:16:11 +00:00
Andrew Kingston 4ab9af53a0 Add row to grid button click callback 2023-11-02 08:53:48 +00:00
Dean a916c2a3ed Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2023-11-01 17:36:39 +00:00
Andrew Kingston 2b8bbafcac Add support for buttons inside grids 2023-11-01 16:45:37 +00:00
Mel O'Hagan 5923ae2983 Make form block view readonly 2023-11-01 16:40:23 +00:00
Mel O'Hagan 33e37261b2 Use fieldState 2023-11-01 16:27:52 +00:00
Mel O'Hagan 56d5a0b8f6 Further read only settings 2023-11-01 16:01:45 +00:00
Mel O'Hagan 5c36d70a01 Pickers readonly prop 2023-11-01 14:56:28 +00:00
Mel O'Hagan 5c049e0465 LongFormField readonly prop 2023-11-01 13:54:18 +00:00
Mihail Hadzhiev 67167cf233
Merge branch 'master' into form-block-field-layout 2023-11-01 15:41:29 +02:00
Andrew Kingston 2711bc8794
Merge branch 'master' into fix/show-formblock-description-in-view-mode 2023-11-01 09:38:25 +00:00
Andrew Kingston c73117e336
Merge branch 'master' into new-branding 2023-10-31 13:56:44 +00:00
Andrew Kingston bec32399ef
Merge branch 'master' into form-block-field-layout 2023-10-31 11:32:11 +00:00
Andrew Kingston e8f5980905 Update images in emails, readme and a few other usages 2023-10-31 11:13:19 +00:00
Dean 15c030bcf6 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2023-10-31 09:04:24 +00:00
Duarte Velez Grilo 1651365f4a
Merge branch 'master' into master 2023-10-30 17:52:57 +00:00
Dean bcbed2400c Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2023-10-30 13:08:37 +00:00
Dean 79da5956b8 Patch from original environment 2023-10-30 12:46:44 +00:00
Andrew Kingston 4fd1c26bbd Clean up 2023-10-27 15:13:49 +01:00
Andrew Kingston 77fa373a90 Remove ability to select fields in preview because it is not compatible with field configuration changes 2023-10-27 15:09:17 +01:00
Andrew Kingston 1ad30d45ba Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-10-27 14:37:36 +01:00
Andrew Kingston 8612404f48 Merge branch 'master' of github.com:Budibase/budibase into form-block-field-layout 2023-10-27 11:49:39 +01:00
Dean d9f52295ee Moved the description block out of the header to ensure it's visible for the view mode 2023-10-27 11:36:45 +01:00
Duarte Velez Grilo fbbc5d0f64
Merge branch 'master' into master 2023-10-27 10:08:24 +01:00
Dean 58437cff06 Merge remote-tracking branch 'origin/master' into fix/row-id-delete-parsing 2023-10-27 09:14:07 +01:00
Andrew Kingston e2c2f5e2a6 Fix some issues with dropzone height and ensure field alignment settings are ignored unless used inside a form block 2023-10-27 08:50:26 +01:00
Andrew Kingston 77cd723315 Remove label alignment option from form block to support custom field layouts 2023-10-27 08:14:55 +01:00
Andrew Kingston acc1e6f14c Merge branch 'master' of github.com:Budibase/budibase into form-block-field-layout 2023-10-27 08:07:57 +01:00
Dean 5266d80afe Fix to ensure single integer ids are parsed correctly 2023-10-26 16:09:01 +01:00
Andrew Kingston 0535bae0f5 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-10-26 10:14:05 +01:00
Dean 8db0b300fd Merge remote-tracking branch 'origin/master' into feature/buttongroup-component 2023-10-25 14:26:58 +01:00
Andrew Kingston b88be9b1df
Merge branch 'master' into feature/form-block-description 2023-10-25 08:45:34 +01:00
Duarte Velez Grilo 18c7c96080
Merge branch 'master' into master 2023-10-24 17:12:27 +01:00
Adria Navarro 969ab79a61
Merge branch 'master' into feature/buttongroup-component 2023-10-24 14:30:09 +02:00
Andrew Kingston 654e6539bb
Merge branch 'master' into fix-table-metadata 2023-10-24 08:55:23 +01:00
Andrew Kingston 73f3b76c01 Update default column visibility check 2023-10-23 12:40:29 +01:00
Dean cf8a634a72 Merge remote-tracking branch 'origin/master' into feature/form-block-description 2023-10-23 12:34:31 +01:00
Andrew Kingston 0e1cffa656 Add span setting to relationship fielsd 2023-10-23 09:20:05 +01:00
Andrew Kingston 365f9dee62 Merge branch 'master' of github.com:Budibase/budibase into form-block-field-layout 2023-10-23 09:15:02 +01:00
Duarte Velez Grilo 34a752dd41
Update CodeScanner.svelte
Updated the code as suggested. Thanks!
2023-10-20 12:46:43 +01:00
Duarte Velez Grilo a58a97a3cb
Merge branch 'master' into master 2023-10-20 12:22:10 +01:00
Andrew Kingston fa90629139 Improve grid datasource backwards compatibility 2023-10-20 11:14:24 +01:00
Dean 276ec8c71b Merge remote-tracking branch 'origin/master' into feature/buttongroup-component 2023-10-20 10:10:57 +01:00
Andrew Kingston bffa8b1f0f Ensure only the selected block supports clicking on inner interactive components 2023-10-20 09:39:29 +01:00
Andrew Kingston 43663c6fbf Prevent dragging interactive block components 2023-10-20 09:39:15 +01:00
Andrew Kingston 291ecd45fe Allow form block fields to be clicked from within the preview 2023-10-20 09:38:55 +01:00
Andrew Kingston 02fb5f3865 Add prototype of form block field layout 2023-10-20 09:37:45 +01:00
Andrew Kingston 357f495c0d Respect grid visibility and ordering by default when rendering tables 2023-10-20 09:14:15 +01:00
Andrew Kingston 880c509f64 Always use custom table columns if provided to ensure we allow showing hidden columns if requested. Use grid visibility and order metadata by default in tables 2023-10-20 09:13:42 +01:00
Duarte Velez Grilo 92e091818b
Update CodeScanner.svelte
Removed quotes ("") from variable reference. I believe this is what is causing the test failure.
2023-10-19 11:11:10 +01:00
Duarte Velez Grilo ad3a80c629
Update CodeScanner.svelte
Added preferred camera setting.
2023-10-18 16:13:50 +01:00
Duarte Velez Grilo 5e4821e6a5
Update CodeScannerField.svelte
Added preferred camera setting.
2023-10-18 16:12:12 +01:00
Andrew Kingston 41e72a28c9
Merge branch 'master' into grid-all-datasources 2023-10-18 15:59:12 +01:00
Andrew Kingston fb69c3a0da Add new shared core util for determining whether columns can be sort columns or not 2023-10-18 15:38:37 +01:00
Andrew Kingston faa70b79b6 Fix on click actions not working when using non DS+ datasources and edit row setting is hidden but enabled 2023-10-18 14:21:09 +01:00
Dean 0ce44d8540 Merge remote-tracking branch 'origin/master' into feature/form-block-description 2023-10-18 11:37:51 +01:00
Dean a064512224 Added description field to the formblock 2023-10-18 11:14:16 +01:00
Adria Navarro 572cac2552 Remove SENTRY_DSN references 2023-10-18 10:51:09 +02:00
Michael Drury ee0da189d2
Merge branch 'master' into global-bindings 2023-10-17 14:13:04 +01:00
Michael Drury e1ba96c5d0
Merge branch 'master' into feature/buttongroup-component 2023-10-17 14:08:26 +01:00
Andrew Kingston e0b748a7bc Merge branch 'master' of github.com:Budibase/budibase into grid-all-datasources 2023-10-16 15:29:46 +01:00
Martin McKeaveney 2ef9871fda merge with master 2023-10-16 14:42:50 +01:00
Andrew Kingston ddda57fa2a Review comments and simplification 2023-10-16 12:01:07 +01:00
Dean e75624f519 Lint 2023-10-13 16:55:50 +01:00
Dean 166c517ff8 Fix Block import locations 2023-10-13 15:02:18 +01:00
Dean 336455d689 Merge remote-tracking branch 'origin/master' into feature/buttongroup-component 2023-10-13 14:59:40 +01:00
Dean b8c87224f7 Add/Remove button behaviour, binding label support and default text behaviour. Refactoring and renaming of EditComponentPopoever component 2023-10-13 14:53:39 +01:00
mike12345567 f64800f9f4 Final PR comment. 2023-10-13 13:05:07 +01:00
mike12345567 c5360e1dcb Don't need to put into options obj, reaction does work. 2023-10-13 12:53:18 +01:00
mike12345567 ccfc98120d Adding check to not re-fetch default value. 2023-10-13 11:44:15 +01:00
mike12345567 563baa53c3 Fix var usage. 2023-10-13 11:28:23 +01:00
mike12345567 d3366a535b PR comments. 2023-10-13 10:22:29 +01:00
mike12345567 2e8e21e5d2 Linting. 2023-10-12 19:20:03 +01:00
mike12345567 162f2cb938 Removing un-used function. 2023-10-12 19:07:22 +01:00
mike12345567 535a6e1a47 Minor cleanup. 2023-10-12 19:07:04 +01:00
mike12345567 16d551542e Frontend component of updating the API and accounting for default value not being in the paginated results of the relationship picker. 2023-10-12 19:00:53 +01:00
Andrew Kingston 4ed3767324 Merge branch 'develop' into grid-all-datasources 2023-10-12 08:31:09 +01:00
Conor Webb d6f8662e95 Adding onchange actions to code scanner. (#12029)
* Adding onchange actions to code scanner.
* Removed unused code, set updateOnChange to false.

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-10-12 08:29:40 +01:00
mike12345567 f1b73058c2 Merge branch 'fix/update-vm2' of github.com:Budibase/budibase into backmerge-20231011 2023-10-11 18:49:39 +01:00
Dean b4a8f22b2e Initial commit 2023-10-11 10:09:14 +01:00
mike12345567 27abfdccc2 Removing onChange handler. 2023-10-10 11:50:45 +01:00
mike12345567 95caee66a7 PR comments. 2023-10-10 11:22:59 +01:00
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
Andrew Kingston 7d06e59fb7 Make dndIsDragging available through SDK context 2022-11-22 16:43:48 +00:00
Andrew Kingston be3a004310 Fix side panel messing up builder preview scrolling and properly show/hide side panel when inside builder 2022-11-22 16:00:17 +00:00
Andrew Kingston c868cda7dd Remove automatic closing of side panel when screen changes as no longer needed 2022-11-22 15:51:57 +00:00
Andrew Kingston 43c5ddfe5f Fix side panel not scrolling properly 2022-11-22 15:49:11 +00:00
Mel O'Hagan f1c6d15999 Merge branch 'develop' into feature/dynamic-filter-custom-labels 2022-11-21 16:20:05 +00:00
deanhannigan 3dbea26407 Merge pull request #8714 from Budibase/feature/delete-and-duplicate-component-actions
Show settings bar for all components
2022-11-21 16:01:24 +00:00
mike12345567 cfbed0b236 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
Mel O'Hagan ba5116e6bc Handle original mappings 2022-11-21 15:02:44 +00:00
Andrew Kingston b71b5704da Use overlay side panel and update table block side panel heading 2022-11-21 11:05:06 +00:00
Mel O'Hagan 68d0a4c336 Allow custom labels for dynamic filter 2022-11-18 15:52:30 +00:00
Andrew Kingston 75ee5117ea Improve makeComponentUniqueUtil and improve ejected table block structure 2022-11-17 14:49:13 +00:00
Dean a69bccae24 Ensure the navigation does not show the settings bar 2022-11-17 14:40:16 +00:00
Andrew Kingston 539b6a8a96 Allow custom naming of components inside blocks for better ejection 2022-11-17 14:20:18 +00:00
Andrew Kingston 4e519d75b4 Ensure side panel ejection works properly and tidy up table block structure 2022-11-17 14:18:55 +00:00
Andrew Kingston 64828e3b06 Close side panel whenever screen changes 2022-11-17 14:18:17 +00:00
Dean c33e13fa4b Don't show delete or duplicate actions in the component settings bar 2022-11-17 14:10:55 +00:00
Dean dd065c0f55 Component settings bar now on by default. Manifest config cleared of showSettingsBar properties 2022-11-17 11:08:23 +00:00
Andrew Kingston e8b993b14c Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Andrew Kingston 1ab1329e49 Disregard block components from ejection which are unmounted during parent blocks lifecycles 2022-11-15 12:58:52 +00:00
Andrew Kingston 2b42b21b3a Add migration to automatically convert legacy table settings into new action setting 2022-11-15 11:54:45 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston 8b941df5ff Update tables to use button actions rather than link settings 2022-11-14 15:47:14 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Andrew Kingston 222f002039 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-14 13:24:47 +00:00
Gerard Burns e70710f7b9 Add Row Explorer Block (#8454)
* Add Row Explorer Block and Row Details Component

* PR Feedback

* adding showSaveButton prop to formblock in row explorer

* PR Feedback

* PR Feedback

* Change row explorer name in manifest

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-11-14 11:54:44 +00:00
Andrew Kingston 4c366114f0 Fix date time field inconsistency with showing time 2022-11-14 09:33:01 +00:00
Andrew Kingston 2eeac325f3 Adjust styles so placeholder component is left aligned 2022-11-14 09:25:45 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Andrew Kingston fb9dd20c11 Update side panel styles and ensure side panel properly reveals itself in the builder 2022-11-10 14:34:23 +00:00
Andrew Kingston ce4f8ef5f9 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-09 16:57:24 +00:00
Andrew Kingston 43b5c120b5 Refactor form block to use a different structure depending on type, and fix issue with bindings breaking and forms not appearing 2022-11-09 10:28:15 +00:00
Mel O'Hagan 32f7843e55 Check schema exists for default value 2022-11-04 18:50:47 +00:00
mike12345567 04f1f983e4 Fix to allow close screen modal without navigating to a new page. 2022-11-03 13:23:29 +00:00
mike12345567 d79fc356ea Fix for #8491 - auto generated screens use the form block now which had an issue with the close screen event not providing a URL. 2022-11-03 12:50:52 +00:00
Gerard Burns db26fce00b Fix Form Block Create Mode Bindings Causing Error When Ejected 2022-11-02 18:17:20 +00:00
Dean 85d562ca23 Moved array value parsing back into the inner form 2022-11-02 00:37:08 +00:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Andrew Kingston 058547fd67 Add initial version of side panel component 2022-10-27 08:08:35 +01:00
Dean 5e61575e30 Refactored approach to parsing multiselect values and ensuring any parsed values trigger a field update 2022-10-26 15:13:27 +01:00
Andrew Kingston db55041c44 Slightly reduce DND padding between nested layers 2022-10-25 16:18:33 +01:00
Andrew Kingston cf7a4a4e6d Merge pull request #8376 from Budibase/cheeks-lab-day-grid
Grid component + builder performance improvements
2022-10-25 08:20:37 +01:00
Dean 72028b57ec Don't attempt to render the internal chart until a type has been set 2022-10-24 16:31:58 +01:00
Dean f4d3d99b9e Removed unnecessary block configuration elements 2022-10-24 16:21:08 +01:00
Andrew Kingston 729c4d082e Remove unnecessary code 2022-10-24 13:33:33 +01:00
Andrew Kingston c888b703dd Improve comments and namimg conventions 2022-10-24 13:32:48 +01:00
Andrew Kingston 1a37e1fc95 Remove some unnecessary code 2022-10-24 13:28:22 +01:00
Andrew Kingston 6615027403 Fix selection indicator appearing while dragging 2022-10-24 13:24:19 +01:00
Andrew Kingston 21cc815976 Allow padding on grids when using DND 2022-10-24 13:14:46 +01:00
Andrew Kingston ba1fe6db8a Remove some debug logging 2022-10-24 13:09:29 +01:00
Andrew Kingston 421708463a Add some additional styles to grids to ensure components render properly 2022-10-24 13:08:53 +01:00
Dean 2834a02ef4 Ensure chart axis labelling fits the current theme 2022-10-24 12:20:43 +01:00
Andrew Kingston 3951550074 Make grid rows and columns configurable and simplify grid style application 2022-10-24 12:05:59 +01:00
Andrew Kingston fb0866f0d9 Tidy up 2022-10-24 09:43:45 +01:00
Andrew Kingston c111f02e70 Improve client grid DND event handling 2022-10-24 09:38:07 +01:00
Andrew Kingston a11854d957 Fix issue with getting environment details 2022-10-24 09:13:05 +01:00
Andrew Kingston 32bac91dc7 Remove spam of environment API calls 2022-10-24 09:03:50 +01:00
Andrew Kingston ce78c5ecb9 Refactor app preview event sending to support async callbacks in client library 2022-10-24 09:02:50 +01:00
Andrew Kingston b26ab6f8b3 Fix flashing settings bar in stale position 2022-10-21 17:51:35 +01:00
Andrew Kingston 24cc71267c Fix stale hover indiciator 2022-10-21 17:51:25 +01:00
Andrew Kingston 4dc6b869a8 Lint and improve comments 2022-10-21 16:59:26 +01:00
Andrew Kingston 794db1a7db Make DND feel much smoother by persisting the end position of drops, and more performance by properly memoizing some state values 2022-10-21 16:54:34 +01:00
Andrew Kingston 67b6821b37 Fix components being selected when starting dragging 2022-10-21 16:52:46 +01:00
Dean 952b6ddb30 Merge remote-tracking branch 'origin/develop' into feature/chart-block-component 2022-10-21 14:21:25 +01:00
Dean cdcfbc6dce Initial commit for chart block component 2022-10-21 14:20:40 +01:00
Andrew Kingston 358e5996f5 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-21 10:59:47 +01:00
Martin McKeaveney 69775a0324 Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
Martin McKeaveney 7d8d0f5026 Merge pull request #8307 from Budibase/fix/stop-screen-store-double-updating-on-page-change
Stop Screen Store Double Updating on Screen Change
2022-10-20 20:35:18 +01:00
Andrew Kingston 73a229b9ec Add proper validation for nesting illegal combinations of components 2022-10-20 16:03:53 +01:00
Andrew Kingston 2e09dcbe03 Ensure a fixed height is set on grid by default 2022-10-20 08:46:42 +01:00
Andrew Kingston 1dffcd8d6c Update how grid DND styles are applied to remove flashing 2022-10-20 08:43:33 +01:00
Andrew Kingston 9a94e9da7c Use a container as the DND placeholder and use approx size when dragging into grids 2022-10-19 14:39:28 +01:00
Andrew Kingston 645235be96 Fix resizing not working inside grids 2022-10-19 13:16:42 +01:00
Andrew Kingston a367863d43 Allow normal DND in and out of grid children 2022-10-18 18:49:24 +01:00
Andrew Kingston a870d2473d Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
Dean 7ccf29bff7 Pushed default parsing up into the InnerForm component to ensure that invalid default values are removed entirely. Fixes for custom validation for array types 2022-10-18 16:24:36 +01:00
Andrew Kingston 15bbc78847 Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Dean 36307ccff7 Refactor for multiselect value parsing and a fix to ensure default values are parsed before reaching the picker 2022-10-18 11:06:18 +01:00
Gerard Burns c6fd6699db Stop Screen Store Double Updating on Screen Change 2022-10-18 10:10:46 +01:00
Andrew Kingston 774566d03b Merge branch 'dnd-improvements' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-18 08:12:11 +01:00
Andrew Kingston b7bfb861db Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-17 16:31:39 +01:00
Andrew Kingston 682203fbda Only transition padding when expanding components during DND, but remove it immediately on drop to avoid layout thrashing 2022-10-17 09:00:55 +01:00
Andrew Kingston 8c1c84e9aa Use requestAnimationFrame for DND overlay placeholder updates to further improve performance 2022-10-17 08:48:32 +01:00
Andrew Kingston 0e83bcfe9e Update styles of padded DND components 2022-10-14 20:30:58 +01:00
Andrew Kingston 3f429ff3ce Lint and prevent scrolling to selected component when starting dragging 2022-10-14 19:45:47 +01:00
Andrew Kingston dabc93e1b6 Fix unused plugins not being able to be dragged into the preview 2022-10-14 19:39:38 +01:00
Andrew Kingston fecb8bb1a6 Fix DND not working in field groups and any other component where children are not rendered inside the first DOM node 2022-10-14 19:34:23 +01:00
Andrew Kingston 3fd7952a17 Use block name in placeholders inside blocks 2022-10-14 19:13:44 +01:00
Andrew Kingston ef28b10def Prevent showing placeholder dot when placeholder is invisible 2022-10-14 19:04:05 +01:00
Andrew Kingston 1b08e88c6f Fix double empty state around blocks 2022-10-14 18:59:32 +01:00
Andrew Kingston 1a210e3ee6 Fix issues dropping components from new component panel 2022-10-14 18:24:47 +01:00
Andrew Kingston 2ffb29dddf Invert some client store dependencies to improve performance and prevent dependency cycles 2022-10-14 18:16:19 +01:00
Andrew Kingston 4e94b6633f Don't reset component padded state for DND until dragging stops, to prevent jankiness due to losing space 2022-10-14 15:45:02 +01:00
Andrew Kingston a71a553ee6 Add ability to drag new components into the preview 2022-10-14 13:37:14 +01:00
Gerard Burns 0f642f37f4 Page load actions now fire on parameter change as well as on mount (#8240)
* Page load actions now fire on parameter change as well as on mount

* PR Feedback

Co-authored-by: ger <ger@gers-MacBook-Pro.local>
2022-10-14 10:10:06 +01:00
Andrew Kingston 29fdaab5fd Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Dean 3f434f7410 Removed commented out barcode scanner config 2022-10-13 17:06:04 +01:00
Dean 909a8b7074 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:54:55 +01:00
Dean cb071096e1 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:49:10 +01:00
Dean 7125e3f6e3 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Dean 2bff6254de Initial commit, refactoring of autoscreens to incorporate blocks 2022-10-11 17:05:19 +01:00
Andrew Kingston f7d6e8db60 Improve DND experience, use correct size of drop placeholder and don't drop if the position is unchanged 2022-10-11 16:02:09 +01:00
Andrew Kingston efe9425d3d Improve column/row detection by appending an ephemeral child component and tune timings 2022-10-11 08:52:45 +01:00
Dean 299122324e Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Andrew Kingston e90a79257f Remove dragged component from consideration of drop target 2022-10-10 14:00:37 +01:00
Mel O'Hagan 5b9befcefe Allow deleteComponent from settings bar 2022-10-10 13:36:32 +01:00
Dean 43befea5e9 Code review updates 2022-10-10 10:39:34 +01:00
Andrew Kingston 73a206e2f1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston b2be069ef1 Make DND work again by converting new parent+index params into old target+mode 2022-10-10 09:36:17 +01:00
Andrew Kingston 7d72cee304 Tune DND throttle rate 2022-10-10 09:22:47 +01:00
Dean 07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston 608e41277a Reduce padding when dragging over a component tree and remove unused component class names 2022-10-08 15:32:36 +01:00
Andrew Kingston 0d35e03bdf Rename DND state variables for clarity 2022-10-08 15:28:22 +01:00
Andrew Kingston 234d8953f2 Fix row/column detection, add comments and remove old code 2022-10-08 15:18:05 +01:00
Andrew Kingston c2b32f8c5e Throttle updates to prevent all jank and revert to component center breakboints for DND candidates 2022-10-08 15:04:18 +01:00
Andrew Kingston 09f2cc1f72 Reduce jank by computing symmetrical component breakpoint whens considering DND candidate positions and ignoring the hidden selected component 2022-10-07 20:00:25 +01:00
Andrew Kingston eb1dbc7302 Hide the selected component when dragging 2022-10-07 14:34:47 +01:00
Andrew Kingston a0ab832995 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-07 14:16:24 +01:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston 5beb6819ec Fix issue with layout determination 2022-10-07 12:45:22 +01:00
Andrew Kingston bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Andrew Kingston d4a767f93e Improve row vs column detection to fix any edge cases 2022-10-07 08:46:38 +01:00
Andrew Kingston c4bb3ac014 Only explode components when dragging over them 2022-10-07 08:20:51 +01:00
Andrew Kingston bb8388133a Rewrite drag and drop from scratch using mouse position heuristics 2022-10-07 08:05:44 +01:00
mike12345567 2421f16a8c Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-10-06 16:58:33 +01:00
Dean e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 617d443890 UX/UI updates and rollup config changes to exclude common warnings 2022-10-06 09:54:43 +01:00
Andrew Kingston 9c82a9d073 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00