Commit Graph

1081 Commits

Author SHA1 Message Date
Dean 308897d972 Allow view deselect when clicking on empty area. Screen is no longer highlighted 2024-03-19 14:11:55 +00:00
Dean a5da7946db Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-03-19 10:23:54 +00:00
Dean ea25800663 Debugging 2024-03-15 15:13:16 +00:00
Adria Navarro bb4b24219b
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-15 12:53:11 +01:00
Adria Navarro fdf83fd65d Limit attachment on forms 2024-03-14 13:50:01 +01:00
Adria Navarro 6ca25d400a DRY 2024-03-14 13:32:54 +01:00
Andrew Kingston ce0ad154da Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 09:33:46 +00:00
Conor Webb aa0389e8bd
Added text colour option to tag component via manifest (#13215)
* Added new colour select textColor to tag component manifest

* Intergrated textColor into tag component

* Reverted default text colour to white, avoids issues with the internal use

* Updated conditional colour set
2024-03-08 08:58:03 +00:00
Conor Webb 1b387d359c
Added icon to button component, reworked icon display code. (#12624)
* Added icons to buttons, removed svg code added icon component code.

* Added icon functionality to button group component.

* Added gap to button manifest

* Added gap to button setitngs.

* Added gap setting to ButtonGroup component

* Added the ability to clear the selected icon.

* Added enter search to icon select

* Removed use:styleable as its for the button

* Moved non internal props up

* Fixed broken DynamicFilter component icon

* Updated DynamicFilter icon to a better suited one

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
2024-03-06 16:32:00 +00:00
Andrew Kingston fa685962a8 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-05 11:46:48 +00:00
melohagan 8694b8d772
Relationship picker incorrectly renders selections (#13175)
* Ensure _id is decoded for external search

* Fetch initial value for 'Update' type forms

* test didn't run locally - might run on github workflow

* Tested and appears to be as before

* Null-pointer fix

* undo type change

* update modules

* add test

* update modules
2024-03-05 09:03:19 +00:00
Andrew Kingston d056b51c72 Lint 2024-03-04 09:58:40 +00:00
Andrew Kingston 3a002b3c3d Rename autorefresh setting and ensure functional in all blocks + DP 2024-03-04 09:46:10 +00:00
Andrew Kingston 051f997047 Add auto-refresh setting to data providers and all blocks 2024-03-04 09:34:58 +00:00
Andrew Kingston 87e8b89075 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-29 19:12:52 +00:00
Andrew Kingston 32b0aa34b8 Fix crash with dynamic filter when using custom data source 2024-02-27 13:51:36 +00:00
Gerard Burns de0414afbe
Update Svelte Major Version to 4 (#13036)
* update svelte versions

* temporarilly disable svelte warnings

* change bbap version pointed to

* remove sub module specifying svelte version

* point at updated account-portal

* add type declaration for svelte in the server

* add svelte transformer for server jest tests

* remove svelte from bbui package.json

* get builder tests working

* linting fixes

* prettier fixes

* fix server test

* fix another server test

* fix server serverlog test

* account-portal-version

* pin master version of pro

* revert hbs doc file in server to use triple braces, ensures nothing gets escaped
2024-02-22 13:19:29 +00:00
Joe f417c2d8a4
Joe's lab day minor updates (#12944)
* Change default button type to CTA

- change default button type to CTA
- change ordering of types/variants

* Fix layout shift within portal

Within the portal, when navigating from screen to screen, there's a slight layout shift caused by the scrollbar. This is a small fix.

* row/column icons change

The current row/column icons for positioning components are confusing. I believe these icons are easier to understand.

* Fix for horizontal scrollbar showing

When adding/removing actions within automations, the horizontal scrollbar flashes. Fix.

* Title change for Upload data

Upload data is not wrong, but it's best to be explicit.

* Increase size of upgrade button

* small fix for the styling inconsistency

* Dianostics padding fix

* lint fix

* update account-portal

* update icons

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Mel O'Hagan <mel@budibase.com>
2024-02-21 13:28:35 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
Andrew Kingston 53bb890d3d Provide additional context from row explorer block 2024-02-16 14:36:28 +00:00
Andrew Kingston 840f499b47 Provide additional data context from form blocks 2024-02-16 14:33:40 +00:00
Andrew Kingston 5c4e797251 Provide additional context from repeater blocks 2024-02-16 14:23:17 +00:00
Andrew Kingston dc077da5ae Improve how component context is retrieved for live eval and provide extra context from grid and card blocks 2024-02-16 14:21:03 +00:00
Andrew Kingston 5f6b846937 Add ability for components to provide example data context that they provide so that more bindings work with live eval 2024-02-16 13:25:41 +00:00
Dean ed30788fac Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-14 10:14:58 +00:00
melohagan faa8fad0b5
Add Clear Row Selection action (#13002)
* Add Clear Row Selection action

* update account-portal

* Refactor to use contextActionHandler

* Remove unused code
2024-02-14 10:05:14 +00:00
melohagan f8073c3f5a
FIX: Error when deleting selected rows that have attachment (#13006)
* Deprecate selectedRowIds

* Delete selected rows table

* Add selectedRows to table block context

* update account-portal

* update account-portal

* Lowercase deprecated
2024-02-13 16:44:21 +00:00
melohagan e171873b10
Only add repeater id to Card block URL if needed (#13023)
* Only add repeater id to URL if needed

* update account portal

* update account portal
2024-02-13 16:38:36 +00:00
Dean a5dfbe3c89 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-07 14:45:06 +00:00
melohagan e27772d93f
Allow logo in top navigation to be a link (#12868)
* Add support for logo link

* Add link to logo

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-02-06 13:08:37 +00:00
Andrew Kingston 88c0df9f37 Fix table slots providing global context rather than local context 2024-02-06 09:18:55 +00:00
Andrew Kingston d6bf33bce7 Update data binding generation to match how context is provided by components, respecting branching due to local context 2024-02-02 14:59:45 +00:00
Martin McKeaveney 475070a495 client and frontend core 2024-01-31 10:53:53 -03:00
Dean 1bd08b6879 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-30 11:49:32 +00:00
deanhannigan 68d2634888
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 12:39:28 +00:00
melohagan 8ec299e924
Cannot select relationship field value in design section (#12876)
* Revert "Quick fix, if compare isn't set then don't try to use it at all."

This reverts commit b8c7da02e2.

* Revert "Quick fix for all usages of compare function in select."

This reverts commit b4be6daea6.

* Don't force fetch rows on fieldApi change

* Revert "Revert "Quick fix for all usages of compare function in select.""

This reverts commit 8cb5e2b569.

* Revert "Revert "Quick fix, if compare isn't set then don't try to use it at all.""

This reverts commit 0c09d5878b.

* update account portal
2024-01-26 10:21:45 +00:00
deanhannigan 0ced1d29c5
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 14:20:44 +00:00
melohagan 830563fead
Feature/auto confirm barcode scanner (#12859)
* Add autoConfirm scan

* Don't auto confirm if validation fails

* Set status light to red if invalid
2024-01-25 12:08:00 +00:00
deanhannigan 4b63a06162
Merge branch 'master' into budi-7786-options-picker-dropdown-opens-above-even-though-it-is-at-the 2024-01-25 11:52:07 +00:00
deanhannigan d1038df35f
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 11:33:31 +00:00
Dean 361fea2a6b Broke out the hover tracking into its own store. Value check on the button group to mitigate excessive rendering. Fix for relationship field 2024-01-24 12:06:38 +00:00
Mihail Hadzhiev 890dad2a62
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-23 09:09:16 +02:00
Mel O'Hagan a11a99cd09 Remove unused customPopoverMaxHeight prop 2024-01-22 12:45:31 +00:00
melohagan 165eb206d9
If the filter has changed, re-fetch (#12625)
* If the filter has changed, re-fetch

* lint

* Clear value when filter changes
2024-01-22 11:29:34 +00:00
deanhannigan d246adca9c
Revert "Revert "Global bindings"" 2024-01-22 11:10:03 +00:00
deanhannigan b2c790650b
Revert "Global bindings" 2024-01-22 11:03:05 +00:00
Dean 64951d6f29 PR feedback 2024-01-22 09:44:57 +00:00
Dean f0feed9cd9 Merge remote-tracking branch 'origin/global-bindings' into fixes/global-bindings 2024-01-22 09:24:26 +00:00
deanhannigan 0be0ace9fe
Merge branch 'master' into global-bindings 2024-01-22 09:14:34 +00:00
Dean 45fa40496f Added default sizing for buttons in button group, swapped Multistep block component style props for consistency 2024-01-19 14:53:39 +00:00
melohagan af51a167a3
Support custom validation rules for ejected block fields (#12799) 2024-01-19 11:32:13 +00:00
Dean 4945a6ee99 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-18 10:40:21 +00:00
Dean 30db237071 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-17 17:17:01 +00:00
Dean f03d49f3d3 Fix for Data provider pageNumber binding. Global repeater context flag. Add provider context to table block. Expose rows in form blocks 2024-01-17 10:04:40 +00:00
deanhannigan 50abdf2e63
Merge branch 'master' into global-bindings 2024-01-15 15:28:00 +00:00
Dean 39438c997a PR update 2024-01-15 10:37:34 +00:00
Dean 2a6af35e6a UX feedback. Added styling and button positioning 2024-01-11 15:21:36 +00:00
Dean 327d9ecb86 Fixes for rendering issues for Multistep in client and builder 2024-01-10 09:40:09 +00:00
Dean eedefbb69d Remove debugging statement 2024-01-09 10:57:39 +00:00
Dean c039b0421d Trigger a redraw of the form step contents when the step index change 2024-01-09 10:08:58 +00:00
Dean 4ffd0a549e Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-08 16:23:55 +00:00
Dean ccc91dcca5 Enable layouts in multistep form blocks 2024-01-05 17:22:37 +00:00
Dean 5d6862b399 Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-05 12:10:12 +00:00
Dean e94f70a940 Added key for fields to ensure they are re-rendering correctly when updating the field config 2024-01-04 12:12:51 +00:00
Dean 42171bd41d Merge remote-tracking branch 'origin/master' into feature/multistep-form-block 2024-01-03 09:49:38 +00:00
melohagan 3f11597251
Support both presence constraint variants (#12617) 2023-12-19 11:02:39 +00:00
Andrew Kingston a244b34e53 Fix multi step settings rendering and improve multi step form block client rendering when inside builder 2023-12-14 14:33:43 +00:00
Andrew Kingston 08cd5bbb91 Refactor form block layout and add functional update and view multi step forms 2023-12-13 13:09:57 +00:00
Andrew Kingston 235cfa3660 Mutate state when working with form steps to prevent latency issues 2023-12-13 10:24:26 +00:00
Andrew Kingston 1579fe36c7 Fix multiple issues with resetting state in both builder and client lib when updating multi step form config 2023-12-12 21:00:45 +00:00
Andrew Kingston 69ea28ad46 Clean up and improve multi step form block 2023-12-12 20:22:48 +00:00
Andrew Kingston ee452f75fe Fix error when trying to scroll to an invalid field 2023-12-08 16:52:34 +00:00
Andrew Kingston 9da641f848 Standardise field help text and error icon size and colors 2023-12-08 16:42:30 +00:00
Andrew Kingston 173a76dc52 Improve setting rendering and add dynamic section title 2023-12-08 16:10:56 +00:00
Andrew Kingston 223a315801 Update multi step form block to use core button config generation 2023-12-08 14:39:47 +00:00
Andrew Kingston 5a8c12c91b Move multi step button config into frontend core and fix button config setting layout 2023-12-08 14:15:23 +00:00
Andrew Kingston 2637a95b3d Remove unused icon 2023-12-07 13:29:10 +00:00
Andrew Kingston 0220a16bc3 Remove placeholders prompting users to add components inside other components 2023-12-07 13:27:09 +00:00
Michael Drury bc5563d776
Revert "Revert "Add Buttongroup configuration support to Formblock/Tableblock"" 2023-12-07 10:24:46 +00:00
Michael Drury a6fc56c764
Revert "Add Buttongroup configuration support to Formblock/Tableblock" 2023-12-07 10:17:36 +00:00
Dean 1a03d9d729 Initial pass at the multistep form block 2023-12-06 20:39:35 +00:00
Dean a84b4e65ed Merge remote-tracking branch 'origin/master' into feature/add-buttongroup-to-formblock 2023-11-30 10:42:38 +00:00
Dean 848fea0621 PR feedback and refactoring 2023-11-30 10:42:21 +00:00
Andrew Kingston 79eb0d6cc5 Standardise field help text and error icon size and colors 2023-11-29 09:27:15 +00:00
Andrew Kingston 3f40efea53 Merge with master, fix repeater block scope, fix grid block global actions 2023-11-28 16:14:21 +00:00
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
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
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 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 e8f5980905 Update images in emails, readme and a few other usages 2023-10-31 11:13:19 +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 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
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
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
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 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 a064512224 Added description field to the formblock 2023-10-18 11:14:16 +01: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 bdd70d8bdb Fix regression when considering empty app navigation roles 2023-10-02 08:26:47 +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 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
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 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
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 49948df9cd Support both global and local state simultaneously 2023-09-14 15:31:51 +01:00
Mel O'Hagan 139c642199 Don't send S3 image data url to rows endpoint 2023-09-08 23:53:15 +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 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
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 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
Andrew Kingston 08b348c1d4 Allow selecting viewV2s for grid blocks and form blocks 2023-08-09 16:22:12 +01:00
Mel O'Hagan 460789bef4 Parse specific step as int 2023-08-09 08:51:32 +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
Dean cb2a19620b Initial commit 2023-08-03 09:29:12 +01:00
Andrew Kingston c0c5a57a99 Supress notification from form block delete row action if configured 2023-07-31 11:50:42 +01:00
Dean 08ba1c8ccd Added a simple histogram to the supported chart types 2023-07-27 13:04:09 +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 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
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 a481eee39e Binding selection fixes, delete controller refactor and some fixes 2023-07-14 09:11:34 +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
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
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
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 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
Andrew Kingston 70eda7ff81 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-16 10:02:42 +01:00
Andrew Kingston 6a42d76c62 Add border radius to grid block 2023-06-15 11:19:46 +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 669a05b640 Fix field on change actions not properly checking for unchanged values 2023-06-13 15:07:38 +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
Adria Navarro cff9c26ef2 Lint 2023-05-19 17:46:34 +02: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
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
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 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
Andrew Kingston 1b2b4dba88 Revert skeleton loaders and restore required setting functionality (#9979) 2023-03-27 14:43:29 +01:00
melohagan 956d8f1ae3 Background image component can have children (#9981) 2023-03-13 11:44:15 +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
Dean 7988f8c2d9 Added error handling for leaflet initialisation errors 2023-03-03 14:51:54 +00:00
melohagan ee054adf39 Longform fields support for JSON string (#9666) 2023-02-13 11:06:33 +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
Dean bc933638ef Added sorting to the options field 2023-01-04 13:08:28 +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
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 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 07377ba54e Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-12-02 10:21:00 +00:00