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

1479 commits

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