Commit Graph

1351 Commits

Author SHA1 Message Date
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
Martin McKeaveney bcbed08a40 Merge pull request #9951 from Budibase/settings-panel-update
Settings panel layout update
2023-03-28 18:36:58 +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 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 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
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
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
Gerard Burns a2889ec1a3 Skeleton Loading States (#8719)
* Loading Skeletons

* PR Feedback
2022-11-25 10:02:43 +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