Commit Graph

1330 Commits

Author SHA1 Message Date
Andrew Kingston 7ece9f78d5
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 edb05e1e71
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
mike12345567 3b7760b53a Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Martin McKeaveney b7e4047016
Updating the client overlay to use the right method when event type is unknown (#9192) 2023-01-03 13:40:37 +00:00
FlaminWrap 31615347ec
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 b18aacc922.

* Revert "Fixes"

This reverts commit de613925dc.

* 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 6790e50867
Add compact setting to AttachmentField (#9052) 2022-12-15 13:59:03 +00:00
Andrew Kingston 20ff5dcb70
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 7ef9e9dc51
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 4188754bbe
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 ab568a52c1 Fix side nav styles 2022-12-12 12:42:11 +00:00
Andrew Kingston 3c8464c155 Fix side panel ejection 2022-12-07 09:51:47 +00:00
Andrew Kingston a8d128ac26 Fix side panel issue where content from multiple side panels would be shown 2022-12-06 15:21:17 +00:00
Andrew Kingston 00594e723e
Merge pull request #8944 from Budibase/side-panel-tweaks
Side panel tweaks
2022-12-06 12:23:46 +00:00
Andrew Kingston bcc0fe71da Debounce hiding side panel to avoid toggling visibility when cycling through records 2022-12-06 09:55:42 +00:00
Andrew Kingston e56b5cde90 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 12fdbfafb6 pr feedback 2022-12-05 14:38:43 +00:00
Gerard Burns a75ec0d7ae Fix Skeleton Loader Jumping 2022-12-05 14:24:53 +00:00
Andrew Kingston dd55af82d7 Revert removing loading blockers in forms to fix multiple issues 2022-12-05 12:10:24 +00:00
Andrew Kingston 554f8b83da
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 c64a06adee Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-12-02 10:21:00 +00:00
Andrew Kingston 6261a6b7ff Fix incorrect prop used in table block for title button click actions 2022-12-02 10:20:49 +00:00
Gerard Burns 63239a819d
Public App Missing Nav Menu (#8870)
* Public App Missing Nav Menu

* PR Feedback
2022-12-02 09:24:20 +00:00
Gerard Burns 66a00a677a
Skeleton Fixes (#8845) 2022-12-02 09:24:05 +00:00
Andrew Kingston bab61698cb Clear a create form block when submitted 2022-11-25 13:34:25 +00:00
Andrew Kingston 5854b523e7 Hide horizontal overflow in side panels 2022-11-25 12:14:25 +00:00
Andrew Kingston 2a6ba0536f Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-25 11:24:57 +00:00
Gerard Burns 21b2706cea
Skeleton Loading States (#8719)
* Loading Skeletons

* PR Feedback
2022-11-25 10:02:43 +00:00
Andrew Kingston 76cec34343 Update side panel transition to be much smoother 2022-11-23 16:14:58 +00:00
Andrew Kingston e92f72b0ca Fix issues with not resetting side panel content 2022-11-23 15:05:04 +00:00
Andrew Kingston cf308bac94 Fix crash when deleting a selected side panel component 2022-11-23 12:33:31 +00:00
Andrew Kingston 41cf7ddfb2 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 cac780eb50 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
Andrew Kingston d2f665911f 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 8b76896f07 Prevent automatically closing side panels via an outside click when inside the builder 2022-11-22 16:44:35 +00:00
Andrew Kingston a2f7d65fe8 Make dndIsDragging available through SDK context 2022-11-22 16:43:48 +00:00
Andrew Kingston 29cf6e2130 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 a4d377acf1 Remove automatic closing of side panel when screen changes as no longer needed 2022-11-22 15:51:57 +00:00
Andrew Kingston 7b367313c8 Fix side panel not scrolling properly 2022-11-22 15:49:11 +00:00
Mel O'Hagan d4f9329746 Merge branch 'develop' into feature/dynamic-filter-custom-labels 2022-11-21 16:20:05 +00:00
deanhannigan d3679a598c
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 5aa1f94cfe Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
Mel O'Hagan 51f8f114d8 Handle original mappings 2022-11-21 15:02:44 +00:00
Andrew Kingston 3ef79c1acb Use overlay side panel and update table block side panel heading 2022-11-21 11:05:06 +00:00
Mel O'Hagan 3683204632 Allow custom labels for dynamic filter 2022-11-18 15:52:30 +00:00
Andrew Kingston a83ce95f8e Improve makeComponentUniqueUtil and improve ejected table block structure 2022-11-17 14:49:13 +00:00
Dean 2a990189f0 Ensure the navigation does not show the settings bar 2022-11-17 14:40:16 +00:00
Andrew Kingston f022646810 Allow custom naming of components inside blocks for better ejection 2022-11-17 14:20:18 +00:00
Andrew Kingston 2451ba2e9f Ensure side panel ejection works properly and tidy up table block structure 2022-11-17 14:18:55 +00:00
Andrew Kingston 29188145a7 Close side panel whenever screen changes 2022-11-17 14:18:17 +00:00
Dean 312bc96770 Don't show delete or duplicate actions in the component settings bar 2022-11-17 14:10:55 +00:00