1
0
Fork 0
mirror of synced 2024-09-15 08:47:37 +12:00
Commit graph

1336 commits

Author SHA1 Message Date
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
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
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