Commit Graph

2271 Commits

Author SHA1 Message Date
Andrew Kingston b8bc25a39a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-07-25 09:43:58 +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
Dean 052f60b94c Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-19 09:05:52 +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 7f3dfc8bba Linting 2023-07-14 11:42:22 +01:00
Dean a481eee39e Binding selection fixes, delete controller refactor and some fixes 2023-07-14 09:11:34 +01:00
Andrew Kingston 2dafdc1fd7 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-11 13:59:00 +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
Andrew Kingston dbc8c742d0 Lint 2023-07-10 14:35:28 +01:00
Andrew Kingston d98c0bdcea Add option to open app preview in new tab 2023-07-10 13:53:37 +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
melohagan 8325b5bb1e Add count to duplicate errors (#10920)
* Add count to duplicate errors

* Lint: Remove unused prop
2023-06-23 18:34:05 +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
Dean fd8400bee5 PR feedback and removed some comments 2023-06-23 11:56:59 +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 757d2d11ef Add functionality to suppress errors to avoid spam in grids in client apps 2023-06-19 18:21:14 +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
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
Andrew Kingston d03f96ceb8 Make all blindings global and improve client component performance 2023-04-28 09:03:09 +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
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
Andrew Kingston e40e82fd5f Tweak options cell to be pixel perfect 2022-11-25 10:17:03 +00:00
Gerard Burns a2889ec1a3 Skeleton Loading States (#8719)
* Loading Skeletons

* PR Feedback
2022-11-25 10:02:43 +00:00
Andrew Kingston 4e3400eb7f Add gap between items in an options cell 2022-11-25 08:48:18 +00:00
Andrew Kingston db13f7a2c3 Remove deletion notification and fix selection 2022-11-25 08:43:44 +00:00
Andrew Kingston adb03cefb2 Fix z-index issue with option cells 2022-11-25 08:35:08 +00:00
Andrew Kingston 152d157aaa Add ability to add new rows 2022-11-25 08:34:44 +00:00
Andrew Kingston fafb8ec938 Add row deletion and fix sizing 2022-11-24 20:06:31 +00:00
Andrew Kingston 6471464971 Add inline editing of options fields 2022-11-24 19:28:55 +00:00
Andrew Kingston b19a2a3d3a Refactor to use IDs and support changing text values inline 2022-11-24 16:41:53 +00:00
Andrew Kingston 1c3b6e0cec Add footer and improve styles 2022-11-24 15:59:24 +00:00
Andrew Kingston ae15690741 Add WIP spreadsheet 2022-11-24 14:12:40 +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
Andrew Kingston 75ee5117ea Improve makeComponentUniqueUtil and improve ejected table block structure 2022-11-17 14:49:13 +00:00
Dean a69bccae24 Ensure the navigation does not show the settings bar 2022-11-17 14:40:16 +00:00
Andrew Kingston 539b6a8a96 Allow custom naming of components inside blocks for better ejection 2022-11-17 14:20:18 +00:00
Andrew Kingston 4e519d75b4 Ensure side panel ejection works properly and tidy up table block structure 2022-11-17 14:18:55 +00:00
Andrew Kingston 64828e3b06 Close side panel whenever screen changes 2022-11-17 14:18:17 +00:00
Dean c33e13fa4b Don't show delete or duplicate actions in the component settings bar 2022-11-17 14:10:55 +00:00
Dean dd065c0f55 Component settings bar now on by default. Manifest config cleared of showSettingsBar properties 2022-11-17 11:08:23 +00:00
Andrew Kingston e8b993b14c Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Andrew Kingston 1ab1329e49 Disregard block components from ejection which are unmounted during parent blocks lifecycles 2022-11-15 12:58:52 +00:00
Andrew Kingston 2b42b21b3a Add migration to automatically convert legacy table settings into new action setting 2022-11-15 11:54:45 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston 8b941df5ff Update tables to use button actions rather than link settings 2022-11-14 15:47:14 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Andrew Kingston 222f002039 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-14 13:24:47 +00:00
Gerard Burns e70710f7b9 Add Row Explorer Block (#8454)
* Add Row Explorer Block and Row Details Component

* PR Feedback

* adding showSaveButton prop to formblock in row explorer

* PR Feedback

* PR Feedback

* Change row explorer name in manifest

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-11-14 11:54:44 +00:00
Andrew Kingston 4c366114f0 Fix date time field inconsistency with showing time 2022-11-14 09:33:01 +00:00
Andrew Kingston 2eeac325f3 Adjust styles so placeholder component is left aligned 2022-11-14 09:25:45 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Andrew Kingston fb9dd20c11 Update side panel styles and ensure side panel properly reveals itself in the builder 2022-11-10 14:34:23 +00:00
Andrew Kingston ce4f8ef5f9 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-09 16:57:24 +00:00
Andrew Kingston 43b5c120b5 Refactor form block to use a different structure depending on type, and fix issue with bindings breaking and forms not appearing 2022-11-09 10:28:15 +00:00
Mel O'Hagan 32f7843e55 Check schema exists for default value 2022-11-04 18:50:47 +00:00
mike12345567 04f1f983e4 Fix to allow close screen modal without navigating to a new page. 2022-11-03 13:23:29 +00:00
mike12345567 d79fc356ea Fix for #8491 - auto generated screens use the form block now which had an issue with the close screen event not providing a URL. 2022-11-03 12:50:52 +00:00
Gerard Burns db26fce00b Fix Form Block Create Mode Bindings Causing Error When Ejected 2022-11-02 18:17:20 +00:00
Dean 85d562ca23 Moved array value parsing back into the inner form 2022-11-02 00:37:08 +00:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Andrew Kingston 058547fd67 Add initial version of side panel component 2022-10-27 08:08:35 +01:00
Dean 5e61575e30 Refactored approach to parsing multiselect values and ensuring any parsed values trigger a field update 2022-10-26 15:13:27 +01:00
Andrew Kingston db55041c44 Slightly reduce DND padding between nested layers 2022-10-25 16:18:33 +01:00
Andrew Kingston cf7a4a4e6d Merge pull request #8376 from Budibase/cheeks-lab-day-grid
Grid component + builder performance improvements
2022-10-25 08:20:37 +01:00
Dean 72028b57ec Don't attempt to render the internal chart until a type has been set 2022-10-24 16:31:58 +01:00
Dean f4d3d99b9e Removed unnecessary block configuration elements 2022-10-24 16:21:08 +01:00
Andrew Kingston 729c4d082e Remove unnecessary code 2022-10-24 13:33:33 +01:00
Andrew Kingston c888b703dd Improve comments and namimg conventions 2022-10-24 13:32:48 +01:00
Andrew Kingston 1a37e1fc95 Remove some unnecessary code 2022-10-24 13:28:22 +01:00
Andrew Kingston 6615027403 Fix selection indicator appearing while dragging 2022-10-24 13:24:19 +01:00
Andrew Kingston 21cc815976 Allow padding on grids when using DND 2022-10-24 13:14:46 +01:00
Andrew Kingston ba1fe6db8a Remove some debug logging 2022-10-24 13:09:29 +01:00
Andrew Kingston 421708463a Add some additional styles to grids to ensure components render properly 2022-10-24 13:08:53 +01:00
Dean 2834a02ef4 Ensure chart axis labelling fits the current theme 2022-10-24 12:20:43 +01:00
Andrew Kingston 3951550074 Make grid rows and columns configurable and simplify grid style application 2022-10-24 12:05:59 +01:00
Andrew Kingston fb0866f0d9 Tidy up 2022-10-24 09:43:45 +01:00
Andrew Kingston c111f02e70 Improve client grid DND event handling 2022-10-24 09:38:07 +01:00
Andrew Kingston a11854d957 Fix issue with getting environment details 2022-10-24 09:13:05 +01:00
Andrew Kingston 32bac91dc7 Remove spam of environment API calls 2022-10-24 09:03:50 +01:00
Andrew Kingston ce78c5ecb9 Refactor app preview event sending to support async callbacks in client library 2022-10-24 09:02:50 +01:00
Andrew Kingston b26ab6f8b3 Fix flashing settings bar in stale position 2022-10-21 17:51:35 +01:00
Andrew Kingston 24cc71267c Fix stale hover indiciator 2022-10-21 17:51:25 +01:00
Andrew Kingston 4dc6b869a8 Lint and improve comments 2022-10-21 16:59:26 +01:00
Andrew Kingston 794db1a7db Make DND feel much smoother by persisting the end position of drops, and more performance by properly memoizing some state values 2022-10-21 16:54:34 +01:00
Andrew Kingston 67b6821b37 Fix components being selected when starting dragging 2022-10-21 16:52:46 +01:00
Dean 952b6ddb30 Merge remote-tracking branch 'origin/develop' into feature/chart-block-component 2022-10-21 14:21:25 +01:00
Dean cdcfbc6dce Initial commit for chart block component 2022-10-21 14:20:40 +01:00
Andrew Kingston 358e5996f5 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-21 10:59:47 +01:00
Martin McKeaveney 69775a0324 Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
Martin McKeaveney 7d8d0f5026 Merge pull request #8307 from Budibase/fix/stop-screen-store-double-updating-on-page-change
Stop Screen Store Double Updating on Screen Change
2022-10-20 20:35:18 +01:00
Andrew Kingston 73a229b9ec Add proper validation for nesting illegal combinations of components 2022-10-20 16:03:53 +01:00
Andrew Kingston 2e09dcbe03 Ensure a fixed height is set on grid by default 2022-10-20 08:46:42 +01:00
Andrew Kingston 1dffcd8d6c Update how grid DND styles are applied to remove flashing 2022-10-20 08:43:33 +01:00
Andrew Kingston 9a94e9da7c Use a container as the DND placeholder and use approx size when dragging into grids 2022-10-19 14:39:28 +01:00
Andrew Kingston 645235be96 Fix resizing not working inside grids 2022-10-19 13:16:42 +01:00
Andrew Kingston a367863d43 Allow normal DND in and out of grid children 2022-10-18 18:49:24 +01:00
Andrew Kingston a870d2473d Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
Dean 7ccf29bff7 Pushed default parsing up into the InnerForm component to ensure that invalid default values are removed entirely. Fixes for custom validation for array types 2022-10-18 16:24:36 +01:00
Andrew Kingston 15bbc78847 Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Dean 36307ccff7 Refactor for multiselect value parsing and a fix to ensure default values are parsed before reaching the picker 2022-10-18 11:06:18 +01:00
Gerard Burns c6fd6699db Stop Screen Store Double Updating on Screen Change 2022-10-18 10:10:46 +01:00
Andrew Kingston 774566d03b Merge branch 'dnd-improvements' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-18 08:12:11 +01:00
Andrew Kingston b7bfb861db Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-17 16:31:39 +01:00
Andrew Kingston 682203fbda Only transition padding when expanding components during DND, but remove it immediately on drop to avoid layout thrashing 2022-10-17 09:00:55 +01:00
Andrew Kingston 8c1c84e9aa Use requestAnimationFrame for DND overlay placeholder updates to further improve performance 2022-10-17 08:48:32 +01:00
Andrew Kingston 0e83bcfe9e Update styles of padded DND components 2022-10-14 20:30:58 +01:00
Andrew Kingston 3f429ff3ce Lint and prevent scrolling to selected component when starting dragging 2022-10-14 19:45:47 +01:00
Andrew Kingston dabc93e1b6 Fix unused plugins not being able to be dragged into the preview 2022-10-14 19:39:38 +01:00
Andrew Kingston fecb8bb1a6 Fix DND not working in field groups and any other component where children are not rendered inside the first DOM node 2022-10-14 19:34:23 +01:00
Andrew Kingston 3fd7952a17 Use block name in placeholders inside blocks 2022-10-14 19:13:44 +01:00
Andrew Kingston ef28b10def Prevent showing placeholder dot when placeholder is invisible 2022-10-14 19:04:05 +01:00
Andrew Kingston 1b08e88c6f Fix double empty state around blocks 2022-10-14 18:59:32 +01:00
Andrew Kingston 1a210e3ee6 Fix issues dropping components from new component panel 2022-10-14 18:24:47 +01:00
Andrew Kingston 2ffb29dddf Invert some client store dependencies to improve performance and prevent dependency cycles 2022-10-14 18:16:19 +01:00
Andrew Kingston 4e94b6633f Don't reset component padded state for DND until dragging stops, to prevent jankiness due to losing space 2022-10-14 15:45:02 +01:00
Andrew Kingston a71a553ee6 Add ability to drag new components into the preview 2022-10-14 13:37:14 +01:00
Gerard Burns 0f642f37f4 Page load actions now fire on parameter change as well as on mount (#8240)
* Page load actions now fire on parameter change as well as on mount

* PR Feedback

Co-authored-by: ger <ger@gers-MacBook-Pro.local>
2022-10-14 10:10:06 +01:00
Andrew Kingston 29fdaab5fd Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Dean 3f434f7410 Removed commented out barcode scanner config 2022-10-13 17:06:04 +01:00
Dean 909a8b7074 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:54:55 +01:00
Dean cb071096e1 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:49:10 +01:00
Dean 7125e3f6e3 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Dean 2bff6254de Initial commit, refactoring of autoscreens to incorporate blocks 2022-10-11 17:05:19 +01:00
Andrew Kingston f7d6e8db60 Improve DND experience, use correct size of drop placeholder and don't drop if the position is unchanged 2022-10-11 16:02:09 +01:00
Andrew Kingston efe9425d3d Improve column/row detection by appending an ephemeral child component and tune timings 2022-10-11 08:52:45 +01:00
Dean 299122324e Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Andrew Kingston e90a79257f Remove dragged component from consideration of drop target 2022-10-10 14:00:37 +01:00
Mel O'Hagan 5b9befcefe Allow deleteComponent from settings bar 2022-10-10 13:36:32 +01:00
Dean 43befea5e9 Code review updates 2022-10-10 10:39:34 +01:00
Andrew Kingston 73a206e2f1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston b2be069ef1 Make DND work again by converting new parent+index params into old target+mode 2022-10-10 09:36:17 +01:00
Andrew Kingston 7d72cee304 Tune DND throttle rate 2022-10-10 09:22:47 +01:00
Dean 07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston 608e41277a Reduce padding when dragging over a component tree and remove unused component class names 2022-10-08 15:32:36 +01:00
Andrew Kingston 0d35e03bdf Rename DND state variables for clarity 2022-10-08 15:28:22 +01:00
Andrew Kingston 234d8953f2 Fix row/column detection, add comments and remove old code 2022-10-08 15:18:05 +01:00
Andrew Kingston c2b32f8c5e Throttle updates to prevent all jank and revert to component center breakboints for DND candidates 2022-10-08 15:04:18 +01:00
Andrew Kingston 09f2cc1f72 Reduce jank by computing symmetrical component breakpoint whens considering DND candidate positions and ignoring the hidden selected component 2022-10-07 20:00:25 +01:00
Andrew Kingston eb1dbc7302 Hide the selected component when dragging 2022-10-07 14:34:47 +01:00
Andrew Kingston a0ab832995 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-07 14:16:24 +01:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston 5beb6819ec Fix issue with layout determination 2022-10-07 12:45:22 +01:00
Andrew Kingston bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Andrew Kingston d4a767f93e Improve row vs column detection to fix any edge cases 2022-10-07 08:46:38 +01:00
Andrew Kingston c4bb3ac014 Only explode components when dragging over them 2022-10-07 08:20:51 +01:00
Andrew Kingston bb8388133a Rewrite drag and drop from scratch using mouse position heuristics 2022-10-07 08:05:44 +01:00
mike12345567 2421f16a8c Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-10-06 16:58:33 +01:00
Dean e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 617d443890 UX/UI updates and rollup config changes to exclude common warnings 2022-10-06 09:54:43 +01:00
Andrew Kingston 9c82a9d073 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00
Andrew Kingston a6802e921f Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-05 17:31:01 +01:00
Mel O'Hagan 969c67f767 Use OG class properties for iOS13 support 2022-10-05 15:53:06 +01:00
Dean 2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Andrew Kingston 1abdc12681 Remove log 2022-10-04 16:33:27 +01:00
Andrew Kingston 69988aabc3 Always use the raw server plugin JS URL 2022-10-04 16:27:15 +01:00
Andrew Kingston c986fb164e Use raw server jsUrl when rendering plugins 2022-10-04 15:01:18 +01:00
deanhannigan 3520843e4a Merge pull request #8014 from Budibase/feature/automation-log-filter-by-license
Feature/automation log filter by license
2022-10-03 10:49:24 +01:00
Andrew Kingston feaa8f9184 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-03 09:53:53 +01:00
Andrew Kingston 568af7bb7a Ensure only one instance of the client websocket exists and reduce reconnection attemps 2022-09-30 16:26:19 +01:00
Andrew Kingston ef9650136a Hot reload custom component settings in the builder 2022-09-30 16:26:15 +01:00
Andrew Kingston b3a3cec40a Show notification when a plugin is hot reloaded 2022-09-30 16:26:07 +01:00
Andrew Kingston 3b4027b873 Fetch environment info early in the client app initialisation process 2022-09-30 12:31:16 +01:00
Mel O'Hagan 380d9580af Navigate in PeekScreenDisplay 2022-09-29 14:10:34 +01:00
Dean 67437c3db1 Centralised licensing types to frontend-core contants. Some minor refactoring 2022-09-29 09:17:22 +01:00
Andrew Kingston e0fcb20fbe Expand component trees with padding when dragging and dropping 2022-09-28 14:16:09 +01:00
Mel O'Hagan 5e5b0955dd Handle navigation on close modal 2022-09-28 13:50:23 +01:00
Andrew Kingston eba71be742 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-27 15:57:27 +01:00
Andrew Kingston 4c8f52adbe Use CDN when fetching plugins in cloud 2022-09-27 15:56:51 +01:00
Martin McKeaveney 57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Andrew Kingston 0a80947b51 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-26 16:22:13 +01:00
Andrew Kingston e3bb57b97a Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-26 14:15:25 +01:00
Andrew Kingston ff8c09141c Reduce websocket polling frequency and cap reconnection attemps 2022-09-22 15:52:46 +01:00
Martin McKeaveney 9583db47c8 turn off websockets in client lib in cloud 2022-09-22 15:04:20 +01:00
Rory Powell f0f4b8342d Re-enable logo 2022-09-22 09:49:39 +01:00
Rory Powell 37fdad7cd9 Merge branch 'master' into develop 2022-09-21 20:16:54 +01:00
Martin McKeaveney 45e9da64e2 Merge pull request #7644 from Budibase/custom-css-upgrades
Custom CSS upgrades
2022-09-21 15:35:42 +01:00
Dean 5b4ab95b0b Minor alignment fix for the embedded map button icons 2022-09-21 11:58:57 +01:00
Andrew Kingston e2982e1454 Add helper util for authenticating the public API SDK in component plugins 2022-09-21 09:49:33 +01:00
Andrew Kingston 45627661f1 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-20 17:23:52 +01:00
Rory Powell f699bf1b56 Wrap licensing banners and modals in feature flag, disable logo 2022-09-20 10:15:28 +01:00
Rory Powell a8747a0b6d Ignore empty name validation on app update and change free logo text 2022-09-15 14:23:25 +01:00
Rory Powell 00cef3a047 Don't show budibase logo on free plan in self hosted installations 2022-09-15 13:22:17 +01:00
Rory Powell a691f4035f Merge branch 'feature/day-pass-pricing' into feature/bb-logo 2022-09-15 13:03:53 +01:00
mike12345567 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Andrew Kingston c873a4d965 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-13 11:32:04 +01:00
Andrew Kingston 3283a0ab5a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-13 11:31:45 +01:00
Andrew Kingston be15aff40f Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-12 20:00:32 +01:00
Rory Powell 45a43baee2 Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
Andrew Kingston e4f6c2b6f5 Lint 2022-09-12 09:20:25 +01:00
Andrew Kingston 1bc6f30b6c Fix component empty state and invalid state styling 2022-09-12 08:50:22 +01:00
Andrew Kingston 2e72eb4f2e Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-07 12:07:25 +01:00
Andrew Kingston e07cffbc59 Remove log 2022-09-06 12:26:56 +01:00
Andrew Kingston 5577f31a17 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-06 09:00:21 +01:00
Andrew Kingston 3088616c47 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-06 08:53:10 +01:00
Andrew Kingston d6d26e126c Allow custom CSS to be bindable and allow overriding via conditional UI 2022-09-05 16:35:25 +01:00
Andrew Kingston 443c763602 Merge branch 'develop' of github.com:Budibase/budibase into feature/custom-css-conditional-ui 2022-09-05 14:55:58 +01:00
mike12345567 f54a30556f Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-02 20:11:57 +01:00
Andrew Kingston 1f1f482f9d Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-02 19:53:49 +01:00
Andrew Kingston 881024ca60 Remove further usages of plugin versions 2022-09-02 19:52:52 +01:00
mike12345567 f9224df941 Adding in a check for when there are no screen actions that need to be performed - #7592. 2022-09-02 18:14:08 +01:00
Andrew Kingston cc50f696ff Remove logs 2022-09-02 12:04:18 +01:00
Andrew Kingston d989e346ca Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-01 14:39:30 +01:00
Andrew Kingston 812304fd93 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-01 14:38:36 +01:00
Martin McKeaveney 4c32ac04e3 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-09-01 13:38:11 +01:00
Martin McKeaveney 502294555a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-01 13:37:56 +01:00
mike12345567 320cbfada3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Martin McKeaveney e6eb1687d2 Merge pull request #6640 from mslourens/pass_untruncated_title_to_radiogroup
Pass a title property with untruncated text to the RadioGroup
2022-08-31 13:32:33 +01:00
Andrew Kingston 371f5bf2a8 Only fire onchange events from form fields when values change to a new valid value 2022-08-31 11:39:04 +01:00
Andrew Kingston 166064f6df Don't clear grid dnd state when loading client library 2022-08-26 14:47:29 +01:00
Andrew Kingston b839325a86 Add initial work on grid layout 2022-08-26 08:47:50 +01:00
Andrew Kingston 0fd4912e5b Lint 2022-08-25 11:12:36 +01:00
Andrew Kingston daff5b173e Update form block styles to expect a header when buttons are defined 2022-08-25 09:25:30 +01:00
Andrew Kingston 10a251f1f6 Update form block to be ejectable 2022-08-25 09:24:27 +01:00
Andrew Kingston 8d76959f88 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-08-25 08:53:07 +01:00
Andrew Kingston 5f94892b3d Ensure block components have a proper style structure defined after ejection 2022-08-24 09:44:33 +01:00
Andrew Kingston b66ef636ac Allow block ejection to properly apply all styles from blocks 2022-08-24 09:05:08 +01:00
Andrew Kingston 98b6bbb039 Update block ejection to account for children of blocks 2022-08-24 08:37:53 +01:00
Andrew Kingston 83afbf0778 Update block map structure for better ejection 2022-08-24 08:21:57 +01:00
Andrew Kingston 27ab8b8e82 Use order as key when registering block components rather than ID 2022-08-23 19:37:38 +01:00
Andrew Kingston 6d77b67cfa Update ejectable table block to be more responsive 2022-08-23 19:31:48 +01:00
Andrew Kingston 5286cbf214 Update cards block to be ejectable 2022-08-23 19:30:35 +01:00
Andrew Kingston ea9eb1c056 Tidy up table block and remove unused styles 2022-08-23 19:13:40 +01:00
Andrew Kingston c43cec2b2b Remove client app button for ejecting blocks 2022-08-23 19:08:59 +01:00
Andrew Kingston 06eee0d386 Make block ejection work properly via the builder rather than client app button hack 2022-08-23 19:05:38 +01:00
Andrew Kingston eb3f7ba810 Update block ejection with latest codebase 2022-08-23 15:53:28 +01:00
Andrew Kingston 6716f5e978 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-08-23 15:34:25 +01:00
Andrew Kingston 382aac3ad4 Fix view form block not showing data and move size setting to general section 2022-08-23 15:08:39 +01:00
Andrew Kingston bcda3e321e Reset forms when disable prop changes 2022-08-23 14:59:07 +01:00
Andrew Kingston 0a2ad8f879 Remove form block and rename form block plus to form block 2022-08-23 14:58:56 +01:00
Andrew Kingston 434fe378c7 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-08-23 11:40:15 +01:00
Andrew Kingston f0e158cc81 Improve websocket types 2022-08-23 08:48:16 +01:00
Andrew Kingston 2961b0ed89 Remove logging and expect version to be passed in top level when initialising plugins 2022-08-22 18:30:13 +01:00
Andrew Kingston c1822ecac6 Clean up websocket initialisation 2022-08-22 18:24:34 +01:00
Andrew Kingston e6a15c9cdd Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-08-22 17:54:40 +01:00
Andrew Kingston bec08eecc8 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 17:54:25 +01:00
Andrew Kingston 36b067a600 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-08-22 17:54:14 +01:00
Mel O'Hagan 075611b2fa Update CSS conditional UI 2022-08-22 16:45:59 +01:00
Andrew Kingston 23a91b89a7 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:04 +01:00
Andrew Kingston 19c99f4390 Allow configuring whether notification is automatically dismissed or not 2022-08-22 11:08:52 +01:00
Andrew Kingston 8a2f35b3f0 Add action for showing a custom notification 2022-08-22 11:00:51 +01:00
Andrew Kingston 2c87d6e340 Initial work on websockets 2022-08-19 11:09:20 +01:00
melohagan 5b9b071f62 Merge pull request #7243 from Budibase/bug/sev2/orphaned-minio-attachment
Delete attachments on field clear from minio bucket
2022-08-17 16:48:27 +01:00
melohagan b2ae542869 Merge pull request #5829 from Budibase/feature/clickable-container
Containers support onClick
2022-08-17 16:34:41 +01:00
Andrew Kingston 32025ef76d Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-17 16:13:27 +01:00
Andrew Kingston 6ef6b47c52 Disable pointer events for all components nested inside a clickable container 2022-08-17 15:43:42 +01:00
Andrew Kingston 1a23970a38 Return nullish button action function for empty arrays 2022-08-17 15:43:25 +01:00
Andrew Kingston 4bc2c7a28f Revert click context 2022-08-17 15:17:29 +01:00
Andrew Kingston 3caae00d38 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-keyboard-shortcuts-develop 2022-08-17 14:20:34 +01:00
mike12345567 4683c57e02 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-15 16:17:54 +01:00
Mel O'Hagan d2f9201bd0 Block child button onClick if container hasOnClick 2022-08-14 14:42:25 +01:00
Mel O'Hagan 2b322b5243 Merge branch 'develop' into feature/clickable-container 2022-08-14 12:55:04 +01:00
Andrew Kingston ceb3eb78e5 Remove uncecessary calls to loadBudibase when registering a plugin at runtime 2022-08-12 14:34:44 +01:00
Andrew Kingston 8c227c0edd Simply logic around handling runtime reloading of custom components 2022-08-12 14:02:11 +01:00
Mel O'Hagan 5171fc09fb Delete attachments on field clear 2022-08-12 11:29:57 +01:00
Mel O'Hagan a51a8d1c6d Custom colors line chart 2022-08-11 17:52:09 +01:00
Mel O'Hagan 255434a714 Add colors for Bar and Donut Charts 2022-08-11 17:45:46 +01:00
Andrew Kingston f0d17b2039 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 17:05:58 +01:00
Andrew Kingston 3b3d48196e Transparently hot reload app preview when inserting a custom component bundle and reload relevant components 2022-08-11 17:05:42 +01:00
Mel O'Hagan 352d236f2e Custom colors for Pie Chart 2022-08-11 16:59:50 +01:00
mike12345567 c9c468a424 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:36:07 +01:00
mike12345567 76d427001a Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:34:01 +01:00
Mel O'Hagan 7c13d3ded9 Custom color bar chart 2022-08-11 15:31:39 +01:00
Andrew Kingston f00d860d9c Use full component names for custom components in client library 2022-08-11 15:27:51 +01:00
Mel O'Hagan 2941ba5ade Add prop for 24hr time 2022-08-11 11:01:48 +01:00
Andrew Kingston 07909c9ae3 Remove forced custom component from client library 2022-08-10 15:52:19 +01:00
Andrew Kingston eab1b93c24 Update client library to full handle custom components 2022-08-10 15:34:00 +01:00
Andrew Kingston 3745cf6b46 Add PoC of using a custom component inside client library 2022-08-10 12:04:58 +01:00
Rory Powell 500e697974 Trigger served events on ping endpoint 2022-08-10 11:01:54 +01:00
Mel O'Hagan 15ffa76d6f Handle non-array values 2022-08-05 14:53:41 +01:00
Andrew Kingston 98864c9614 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-keyboard-shortcuts-develop 2022-08-01 19:08:30 +01:00
Martin McKeaveney 77489b2583 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-01 16:35:12 +01:00
Andrew Kingston a9a4b6ee44 Add keybindings to component context menu. Add duplicate keybinding. Simplify pasting 2022-07-29 13:33:04 +01:00
Andrew Kingston 8758f6b49a Add support for custom themes in client apps 2022-07-29 13:33:04 +01:00
Andrew Kingston b9dc9f7b56 Fix button roundess not applying properly to large and XL buttons 2022-07-29 13:33:04 +01:00
Andrew Kingston a4847a471c Add keyboard shortcuts for components. Improve component reordering 2022-07-29 13:33:02 +01:00
Mel O'Hagan c88995244f Remove timeoutIds 2022-07-28 09:39:24 +01:00
Mel O'Hagan 6c1c51a22a Merge branch 'develop' into bug/sev3/remove-validate-current-step-checkbox 2022-07-28 09:25:55 +01:00
Andrew Kingston b76000f828 Fix issue showing selected component indicators on initial load sometimes due to null reference 2022-07-27 12:55:20 +01:00
mike12345567 d30e27d27d Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-26 17:25:55 +01:00
Martin McKeaveney 8e854d3e13 Merge pull request #6858 from Budibase/cheeks-fixes
Drag and drop fix + date filtering improvement
2022-07-26 16:42:58 +01:00
Andrew Kingston d81d584233 Don't load custom themes for client apps 2022-07-26 13:41:59 +01:00
Andrew Kingston ec6e17748a Merge branch 'master' of github.com:Budibase/budibase into nord-theme 2022-07-26 11:46:28 +01:00
Maurits Lourens 92b7cdf897 add missing props 2022-07-25 09:49:37 +02:00
mike12345567 bd7ace561a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-22 19:14:35 +01:00
Andrew Kingston 303bfd5be4 Make block searching on dates useful by using a range of the whole day 2022-07-22 11:10:20 +01:00
Mel O'Hagan 3fdc037082 Set notification width to fixed 2022-07-21 12:03:01 +01:00
Andrew Kingston 6b9898f9ad Merge pull request #6735 from Budibase/fix/dom-children
Replace incorrect usages of element.childNodes with element.children
2022-07-21 09:24:47 +01:00
Andrew Kingston e5665c5164 Merge pull request #6788 from Budibase/clickable-cards
Allow full spectrum cards to be clickable
2022-07-21 09:16:41 +01:00
Mel O'Hagan 96c99da3ce lint 2022-07-20 14:16:08 +01:00
Mel O'Hagan 3b1edf2bdb lint 2022-07-20 13:55:12 +01:00
Mel O'Hagan cc5920da12 Add notification store timeouts 2022-07-20 13:54:45 +01:00
Mel O'Hagan 6e9ece3cd7 Allow client notifications to be stacked 2022-07-20 13:41:18 +01:00
Mel O'Hagan 5db7a80dcd lint 2022-07-20 10:59:27 +01:00
Mel O'Hagan 6e63151143 Handle validation error toasts 2022-07-20 10:46:24 +01:00
Mel O'Hagan 5a3688d237 Remove checkbox. Always validate current step. 2022-07-20 09:56:02 +01:00
Andrew Kingston b08aea2241 Allow full spectrum cards to be clickable 2022-07-18 15:23:07 +01:00
Andrew Kingston c9ee465507 Replace incorrect usages of element.childNodes with element.children 2022-07-15 13:47:39 +01:00
Andrew Kingston 80018e9668 Visually hide components when cutting but do not remove from real definition 2022-07-15 13:09:43 +01:00
Andrew Kingston 2a9c323689 Update cards block filter limit to 5 2022-07-13 12:54:04 +01:00
Andrew Kingston 610a64eec0 Remove layout padding when using max width screens 2022-07-13 12:19:24 +01:00
Andrew Kingston 3996aad9e9 Update table block filter limit to 5 2022-07-13 12:12:30 +01:00
Andrew Kingston b10bbd7e2f Ensure devtools are never shown in the app preview 2022-07-11 13:13:39 +01:00
Andrew Kingston 16116f2877 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-07-11 10:33:50 +01:00
Mel O'Hagan 191cc0069c Only add defined schema fields to dynamic filter 2022-07-05 15:23:04 +01:00
Mel O'Hagan 530c7df2dd Make null values empty for regex validation 2022-07-04 20:25:27 +01:00
Andrew Kingston 9c7263dae9 Fix mobile mode not working properly inside app preview 2022-07-01 13:40:37 +01:00
Andrew Kingston ed32e26705 Set button active state color to be custom theme hover color 2022-07-01 13:37:28 +01:00
Andrew Kingston 5b2ff31e73 Add ability to eject blocks into raw components 2022-06-30 19:31:25 +01:00
Andrew Kingston 4940d71145 Be more explicit with imports to avoid circular dependencies 2022-06-30 19:31:06 +01:00
Mel O'Hagan d222dba681 Merge branch 'develop' into feature/clickable-container 2022-06-29 14:21:58 +01:00
Andrew Kingston a0d83eefaa Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-22 12:49:46 +01:00
Andrew Kingston b9494e52b6 Fix indentation 2022-06-21 09:52:51 +01:00
Andrew Kingston 7eddb3b369 Add data binding for query params 2022-06-21 09:39:25 +01:00
Andrew Kingston 853f9fd268 Don't fire on load events when working in the builder preview 2022-06-21 09:38:57 +01:00
Andrew Kingston 8643bb1553 Add 'on load' actions for screens 2022-06-20 16:12:46 +01:00
Andrew Kingston 6845f86689 Add option to customise which columns are exported in export data action 2022-06-20 12:32:13 +01:00
Andrew Kingston 0c7b5362e0 Move screen ranking and sorting logic to screen store 2022-06-17 10:18:39 +01:00
Andrew Kingston db9daaefaa Improve client routing logic 2022-06-17 10:09:27 +01:00
Andrew Kingston b5d635c83f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-15 15:32:33 +01:00
Andrew Kingston eb3a7b44b6 Merge pull request #6309 from Budibase/builder-focus-updates
Builder focus updates
2022-06-15 11:07:46 +01:00
Andrew Kingston 2bef536e9a Fix issue where required settings that depend on other settings were still blocking rendering 2022-06-15 10:17:34 +01:00
Andrew Kingston b0fcb0f339 Prevent inline editing of components with missing required settings 2022-06-14 15:34:33 +01:00
Andrew Kingston 2914f99e67 Improve determination of default values and logic around showing highlighted settings 2022-06-14 15:29:27 +01:00
Andrew Kingston d89047b2ab Revert focus specific logic in other components and simplify 2022-06-13 16:11:12 +01:00
Andrew Kingston e097f82b5d Update client library so that component placeholders are always shown when required settings are missing 2022-06-13 12:09:29 +01:00
Rory Powell 4dc5cfc5a7 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Martin McKeaveney ccbe1c12a5 Merge pull request #6184 from actus-ag/feature/optiontype-sort-order
feat: toggle for sort order in options type field
2022-06-13 10:44:21 +01:00
Andrew Kingston c6dbd52c88 Show devtools even in client app error states, to fix being locked out when changing to a public preview 2022-06-09 15:55:59 +01:00
Andrew Kingston 12961806ff Invalidate cached API responses when bad response statuses are recevied and invalidate entire API cache when switching role 2022-06-09 15:33:41 +01:00
Rory Powell 396a07cac5 Merge branch 'release' into feature/event-backfill 2022-06-09 15:21:49 +01:00
Andrew Kingston 9d26b06958 Improve logic around dev tools roles and its usages. Ensure dev tools roles are never used in builder preview 2022-06-09 15:03:43 +01:00
Andrew Kingston 3d1c5111e9 Add role setting to navigation links to allow easily customising which roles see which links 2022-06-09 14:28:02 +01:00
melohagan 9898bf4116 Merge pull request #6220 from Budibase/bug/sev3/select-row-with-button
Don't allow row selection for buttons in rows
2022-06-08 09:18:01 +01:00
Andrew Kingston 7940d4997a Lint 2022-06-07 15:19:51 +01:00
Mel O'Hagan 59cfb66428 Added preventSelectRow prop to custom column 2022-06-07 14:40:56 +01:00
Andrew Kingston 6e83c96236 Show empty screen placeholder with a CTA to add a component 2022-06-07 13:41:17 +01:00
Philipp Wirtenberger 7daf8ca00b fix: pass `sort` parameter through the options picker 2022-06-07 09:49:19 +02:00
Andrew Kingston d059433f1f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-07 08:45:57 +01:00
Andrew Kingston 72397530ec Apply timezones patch from existing ignore-timezones branch 2022-06-07 08:31:00 +01:00
Dean 692039cd34 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
Dean f1111fffca Updated approach to focus behaviour. Placeholder now updates to direct the user to the next required field they haven't entered 2022-05-30 12:57:10 +01:00
Rory Powell 2a00f6498d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Dean b06235efc0 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-28 18:31:48 +01:00
Martin McKeaveney a0a7537e1d Merge pull request #6043 from Budibase/fix/json-schema
Enrich data fetch subscriptions with additional JSON schema fields
2022-05-27 14:34:28 +01:00
Andrew Kingston 2f324023d9 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-27 13:32:07 +01:00
Dean 372ff3b8fe Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-27 10:22:48 +01:00
Martin McKeaveney 54f7e7fa28 Merge pull request #6058 from HMXHIU/feature/attachmentLimit
Expose option to limit amount of uploads in attatchment field
2022-05-26 21:18:53 +01:00
mike12345567 8bc0142a37 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-25 18:12:27 +01:00
meng xiong hiu e9d8229b37 Expose option to limit amount of uploads in attatchment field 2022-05-25 21:15:23 +08:00
Andrew Kingston d84150d26f Enrich data fetch subscriptions with additional JSON schema fields 2022-05-24 10:23:23 +01:00
Dean 663a4ee7c7 Expanding the focus behaviour to more component types in the builder. Minor fix for cypress test 2022-05-24 09:58:05 +01:00
Peter Clement f90050fb53 disable row selection within client table 2022-05-24 09:47:28 +01:00
Dean 253642ad1f Refactored the approach to builder focus. Extending the behaviour beyond form fields 2022-05-23 16:12:56 +01:00
Andrew Kingston fd532a88d5 Improve performance when determining client component icons and update layout to allow for a better visual selection of the navigation section 2022-05-23 12:22:42 +01:00
Rory Powell 4841c84861 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Dean c3c388b01a Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Andrew Kingston 12858c2b0f Update navigation padding 2022-05-19 21:20:37 +01:00
Andrew Kingston 2ff85212eb Slightly update sizes and styles of indicators and navigation to look better 2022-05-19 21:16:26 +01:00
Andrew Kingston 0484a8a976 Allow indicator to be shown for hovering and selecting navigation section, including title and icon 2022-05-19 21:03:20 +01:00
Andrew Kingston 5289dcec1d Scroll preview to the top to show navigation whenever editing navigation settings 2022-05-19 21:02:54 +01:00
Andrew Kingston 27788626ec Remove some log statements 2022-05-19 09:17:09 +01:00
Andrew Kingston 6f6d7da70f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-19 09:11:13 +01:00
Dean 4c25248de8 Builder focus behaviour added to guide users when adding form elements. Refactored the component tests 2022-05-17 15:09:13 +01:00
Martin McKeaveney c69df439a4 Merge pull request #5787 from Upgreydd/convert_text_to_boolean_for_custom_schema_in_select
Allow to use select for boolean field type
2022-05-17 14:45:18 +01:00
Andrew Kingston 3c8558e1a0 Update preview indicator offsets 2022-05-17 14:34:54 +01:00
Andrew Kingston 8cdbb690eb Add icons to app preview selection indicators 2022-05-17 14:33:12 +01:00
Andrew Kingston ff47e8acd3 Scroll to the selected component inside the app preview 2022-05-17 14:10:21 +01:00
Andrew Kingston 08a98b4b95 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-17 12:59:15 +01:00
melohagan 76640f65f1 Merge pull request #5800 from Budibase/bug/sev3/misc-picker-fixes
Misc Picker Fixes
2022-05-16 12:03:22 +01:00
Mel O'Hagan 3ba4772210 Simplify clickable class 2022-05-16 11:26:52 +01:00
Andrew Kingston 1005d58ed3 Update print styles to work with dev tools update 2022-05-12 10:44:36 +01:00
Andrew Kingston 550511d404 Render screenslot when showing legacy layouts and remove concept of preview type 2022-05-12 09:42:25 +01:00
Mel O'Hagan 844463b312 Containers support onClick 2022-05-11 14:03:08 +01:00
Andrew Kingston 876cb4784d Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-11 09:07:35 +01:00
Andrew Kingston c8d454c9d9 Restore app preview border 2022-05-10 16:30:21 +01:00
Mel O'Hagan 6adb8fdc32 Added MultiSelect Checkboxes 2022-05-10 15:16:13 +01:00
Andrew Kingston 78b5e7707d Add screen width setting with backwards compatibility 2022-05-10 14:54:53 +01:00
Andrew Kingston 6922852d01 Update layouts to support legacy page widths while allowing new screens to determine their own width 2022-05-10 14:37:00 +01:00
Andrew Kingston f66f3b7935 Use 'Screen' for the name when selecting the root screen component 2022-05-10 14:10:26 +01:00
Andrew Kingston a8e4dca331 Remove border around client app preview 2022-05-10 13:34:10 +01:00
Kacper 45522f456e Allow to use select with radio buttons for boolean field type 2022-05-09 16:12:42 +02:00
Andrew Kingston b89203cd45 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-09 09:41:28 +01:00
Andrew Kingston 28fcf18559 Hide dev tools when in screen peek modal 2022-05-06 14:09:35 +01:00
Andrew Kingston 85a619c6ea Automatically go to navigation section when clicking navigation in preview 2022-05-06 13:59:16 +01:00
Andrew Kingston eb4d8d5e52 Add full navigation settings panel in new design UI. Remove navigation theme settings from theme panel 2022-05-06 13:51:27 +01:00
Andrew Kingston cc08c263c8 Fix duplicate component action in settings bar 2022-05-05 08:57:49 +01:00
Andrew Kingston d8c7fadd46 Add missing component store to client library SDK 2022-05-05 08:57:36 +01:00
Michael Drury 67e1d0a0e3 Merge pull request #5637 from Budibase/fix/conditional-form-validation
Deregister field validation when unmounting form fields
2022-05-04 13:31:17 +01:00
mike12345567 cfd53b2f93 Fix for form issue #5669 - when in an empty state didn't correctly handle null stores. 2022-05-03 15:29:17 +01:00
mike12345567 d090f2a8aa Fix for #5553 - when importing for SQL databases attempt to manage date and time only column times, handle these when displaying in tables and when filtering. 2022-05-03 14:11:06 +01:00
Andrew Kingston 1db3ae2974 Add support for instant updating of navigation settings in client apps 2022-04-28 17:30:48 +01:00
Andrew Kingston 45439ac3aa Deregister field validation when unmounting form fields 2022-04-28 16:35:38 +01:00
Andrew Kingston afa5f5e6cd Move some role logic to frontend core and enable client library to preferentially route to home screens 2022-04-28 15:13:33 +01:00
Andrew Kingston d94b30cb1e Fix issue loading app previews 2022-04-28 12:18:08 +01:00
Andrew Kingston 2736954438 Add link settings to new navigation tab 2022-04-27 17:50:01 +01:00
Andrew Kingston 14bd507566 Fix toggle navigation for a screen not refrecting in the app preview 2022-04-27 13:28:17 +01:00
Andrew Kingston 84d5d69aa8 Update client library to properly handle new screen navigation settings 2022-04-27 12:47:54 +01:00
Andrew Kingston 840ff254d1 Allow client library to render new screen structure without layouts 2022-04-27 12:30:35 +01:00
Andrew Kingston b42161bfd5 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-04-27 07:59:37 +01:00
Rory Powell 3e1a7987a3 BB logo on free plan 2022-04-26 11:28:31 +01:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Rory Powell c94d8516c5 Fix: You must pass a 'distinctId' (public forms) 2022-04-25 22:08:56 +01:00
Andrew Kingston d269354d6f Merge branch 'feature/new-app-publish-workflow' of github.com:Budibase/budibase into new-design-ui-dirty 2022-04-25 13:42:23 +01:00
Andrew Kingston 03be935e6c Refactor routes and start updating core design UI into new components 2022-04-22 16:03:47 +01:00
Andrew Kingston 754aa82cec Merge pull request #5417 from Budibase/form-actions
Form actions
2022-04-22 10:47:57 +01:00
Mel O'Hagan 9b5ad2dacc Get latest RevId if not provided 2022-04-20 11:51:01 +01:00
Andrew Kingston 943ae42b27 Fix sticky hover state for icons on mobile 2022-04-19 10:55:53 +01:00
Andrew Kingston f6eef900ad Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Andrew Kingston 3875cb02f0 Fix typo 2022-04-14 10:12:49 +01:00
Andrew Kingston 8ab79c3cbb Add on change action to S3 upload field 2022-04-14 10:04:38 +01:00
Andrew Kingston b3ca4357b2 Add on change action to relationship field 2022-04-14 10:01:14 +01:00
Andrew Kingston 02178d3f2b Add on change action to options field 2022-04-14 09:54:49 +01:00
Andrew Kingston bd7c009537 Add on change action to multi-select field 2022-04-14 09:51:41 +01:00
Andrew Kingston bd313c7204 Add on change action to long form field 2022-04-14 09:49:13 +01:00
Andrew Kingston b886fe95c2 Add on change action to string field 2022-04-14 09:47:27 +01:00
Andrew Kingston 0957b3195a Add on change action to JSON field 2022-04-14 09:47:00 +01:00
Andrew Kingston bbaec2e50f Add on change action to datetime field 2022-04-14 09:46:46 +01:00
Andrew Kingston ede7f684c4 Add on change action to boolean field 2022-04-14 09:46:36 +01:00
Andrew Kingston 8b3cf851b8 Add on change action to attachment field 2022-04-14 09:46:24 +01:00
Andrew Kingston 9545b3af1b Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Mel O'Hagan bf4b2f65d8 Only apply to small components (button, headline) 2022-04-13 15:53:26 +01:00
Andrew Kingston cb90b872f5 Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions 2022-04-13 10:28:55 +01:00
Andrew Kingston adc6008c4c Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions 2022-04-13 10:27:32 +01:00
Andrew Kingston c6d1757f7d Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-04-07 12:04:13 +01:00
Mel O'Hagan eb4206cc55 Move settings bar below element if at very top 2022-04-06 17:31:59 +01:00
Andrew Kingston 257bfb046d Update spectrum card word wrapping again 2022-04-06 16:05:58 +01:00
Andrew Kingston 923973f1ab Account for builder preview 2px offset when rendering indicator sets so that indicators are accurate for devtools 2022-04-06 14:32:25 +01:00
Andrew Kingston 34a0c77d73 Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston f7d5456e72 Add label for global selected rows bindings in devtools 2022-04-06 13:30:38 +01:00
Andrew Kingston c2d61d8ebc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Andrew Kingston 3c3be66786 Don't show an error for the endpoint 2022-04-06 08:16:24 +01:00
Andrew Kingston 5b423a21ee Reset buttion action output context on each invocation of the action 2022-04-05 14:00:44 +01:00
Andrew Kingston 0427b9dc7f Merge branch 'develop' of github.com:Budibase/budibase into nord-theme 2022-04-04 12:19:29 +01:00
Andrew Kingston 3e4ab1cc64 Fix color and size of chart tooltips 2022-04-04 10:56:06 +01:00
Andrew Kingston e51bd54fce Update chart data labels to white 2022-04-04 09:14:56 +01:00
Andrew Kingston a1e3318c1e Disable validation for search fields in cards block 2022-04-04 08:49:46 +01:00
Andrew Kingston 474e89fa5f Disable validation for search fields in table block 2022-04-04 08:49:16 +01:00
Andrew Kingston 967c9efc3a Add internal setting to fully disable form validation 2022-04-04 08:49:01 +01:00
Andrew Kingston 4c22ff4dce Manually pull in new state context on each button action enrichment to keep aware of state changes during button action execution 2022-04-01 18:36:41 +01:00
Andrew Kingston d08d9d1248 Add form block and form block plus components 2022-04-01 12:51:23 +01:00
Andrew Kingston 04d8e1417b Remove button editing class which was used for testing 2022-03-30 09:37:00 +01:00
Andrew Kingston 444072ecac Only save textContent of editable fields to fix HTML being inserted, and fully remount component when toggling editing to fix chrome issues 2022-03-30 09:32:19 +01:00
Rory Powell 69b2b38aea Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Andrew Kingston 4d82b49c0e Merge pull request #5086 from Budibase/continue-if-button-action
'Continue if' button action
2022-03-25 12:29:19 +00:00
Andrew Kingston bedbf4bcae Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Dean 962f53e36f Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-25 11:31:45 +00:00
Andrew Kingston eb582e6c80 Fix bug which prevented last marker being removed from the map if deleted 2022-03-25 10:59:45 +00:00
Andrew Kingston 4b55e8c85e Add 'continue if' button action 2022-03-25 09:26:15 +00:00
Andrew Kingston 9f60df9ac2 Update apex chart tooltips to work in dark themes 2022-03-23 14:21:23 +00:00
Andrew Kingston bd487fa988 Use global self endpoint in client apps to differentiate between not being logged in and not having access to an app 2022-03-23 11:41:51 +00:00
Andrew Kingston 3817de254e Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-03-23 10:48:49 +00:00
Andrew Kingston 38be4979f3 Merge pull request #4987 from Budibase/scrollable-component-tree
Scrollable component tree
2022-03-23 10:46:55 +00:00
Andrew Kingston 1e8ef54956 Make app dynamic filter component respsonsive 2022-03-22 18:33:41 +00:00
Andrew Kingston 644fd0da87 Update pie chart to be reactive 2022-03-22 17:45:05 +00:00
Andrew Kingston ede871dac2 Update line chart to be reactive 2022-03-22 17:44:58 +00:00
Andrew Kingston cff11d4b8b Update candlestick chart to be reactive 2022-03-22 17:44:45 +00:00
Andrew Kingston bbc161c481 Update bar chart to be reactive 2022-03-22 17:44:32 +00:00
Andrew Kingston e4dfb5b269 Do not update form field value when default value changes to prevent endless loops 2022-03-22 17:28:04 +00:00
Martin McKeaveney b51191fef9 Merge pull request #4950 from mslourens/enforce_display_column_validation
fetch the table which contains info about the primaryDisplay
2022-03-22 08:31:48 +00:00
Andrew Kingston 61e077bf0a Update spectrum card word wrapping to allow breaking text anywhere 2022-03-21 12:16:51 +00:00
Martin McKeaveney 35facc8cb1 Merge pull request #4872 from Budibase/add-print-styles
Add css print styles to ensure multi-page print is possible
2022-03-21 08:34:55 +00:00
Martin McKeaveney cf9105c9dc Merge pull request #4821 from Budibase/copy-paste-improvements
Copy paste improvements + extras
2022-03-21 08:25:01 +00:00
Andrew Kingston 80adf9be14 Don't attempt to invalidate related datasources when invalidating query datasources 2022-03-18 15:21:24 +00:00
Maurits Lourens 8cd921f834 fetch the table which contains info about the primaryDisplay 2022-03-18 14:35:06 +01:00
Andrew Kingston de318ec9e2 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-component 2022-03-16 15:31:10 +00:00
Andrew Kingston d03dc54efd Update default height of map component 2022-03-16 15:03:13 +00:00
Andrew Kingston 44bc4f4f43 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-16 15:03:01 +00:00
Andrew Kingston ced26dfa64 Improve map actions, tidy up some parts of the map component and ensure settings update properly 2022-03-16 14:53:12 +00:00
Peter Clement fcfce77d5d linting 2022-03-16 10:33:38 +00:00
Peter Clement a2c3257515 send export file from backend 2022-03-16 10:22:06 +00:00
Andrew Kingston b3840f0ae0 Fix duplicate handlers for map click setting and update map to only zoom to markers once 2022-03-15 13:54:32 +00:00
Andrew Kingston fcb3ce4da3 Add map action for map click 2022-03-15 13:25:41 +00:00
Peter Clement 54ec5ea2dc fix button action export for csv 2022-03-15 12:03:16 +00:00
Andrew Kingston 3acea6b148 Add nord theme 2022-03-15 11:20:06 +00:00
Andrew Kingston 9500203515 Add event context to button actions to allow passing in params at run time and add corresponding data bindings 2022-03-15 11:16:51 +00:00
Andrew Kingston 4d01063383 Convert marker popups to tooltips on hover 2022-03-14 11:45:26 +00:00
Dean 7f5270ab5b Minor code styling fix 2022-03-14 09:47:48 +00:00
Dean 24de79a38b Added link target to the list of allowed attributes for any links used in map attribution 2022-03-14 09:25:41 +00:00
Dean 318214fd72 Map refactored and dependency updates 2022-03-11 11:17:15 +00:00
Dean 39468c98c0 Added html escaping package sanitize-html to prevent injection via the map attribution field 2022-03-11 11:06:05 +00:00
Dean b5a36de5bd Added fix to accomodate a cleared attribution field 2022-03-10 15:48:11 +00:00
Dean b196ca10af Added the default location behaviour back in. Added in a Map Attribution field for users who alter their tile url. Some refactoring based on feedback 2022-03-10 12:48:49 +00:00
Andrew Kingston c4a3502187 Add comment for consistency 2022-03-10 11:56:31 +00:00
Andrew Kingston 42cbdcd923 Add css print styles to ensure multi-page print is possible 2022-03-10 11:54:15 +00:00
Dean c672a439c0 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-09 11:02:53 +00:00
Andrew Kingston f335c2635b Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 17:58:12 +00:00
Dean b67b34928a Initial Commit for Issue/3819. World map component added and a small change to the Component draggable behaviour to accomodate it. 2022-03-08 16:41:21 +00:00
Peter Clement 38ba2509d7 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-08 13:56:56 +00:00
Andrew Kingston 4ef06ea6c1 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Peter Clement 064aee5e2e Update how button action for exporting works 2022-03-08 12:58:05 +00:00
Martin McKeaveney 14cffcd6ff merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 975eb0b99e merge from master 2022-03-08 12:34:27 +01:00
Andrew Kingston e84e4f9899 Add duplicate action to settings bar 2022-03-07 14:05:26 +00:00
Peter Clement ed2c210db8 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Andrew Kingston bed09f5f6c Fix loading state in S3 upload component and show error if possible 2022-03-07 09:57:15 +00:00
Andrew Kingston e58fa37b6e Merge pull request #4750 from Budibase/fix/option-picker-values
Fixes for 409s and option picker values
2022-03-03 12:37:59 +00:00
Peter Clement 6095b5cb87 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-03-01 10:37:26 +00:00
Rory Powell 8f1b638f3b Merge branch 'master' into merge-master 2022-03-01 10:04:23 +00:00
Andrew Kingston 1d38486bb7 Update more option picker logic to only hide nullish rather than falsey values when using a dynamic options source 2022-03-01 10:00:08 +00:00
Andrew Kingston 9535bc7c24 Update option picker logic to only hide nullish rather than falsey values when using a dynamic options source 2022-03-01 09:51:48 +00:00
Andrew Kingston 3ba195960b Add error notification if executing a query in a button action fails 2022-02-25 21:29:02 +00:00
Andrew Kingston eb27ac368a Fix incorrect syntax for showing a notification while executing custom queries 2022-02-25 21:26:08 +00:00
Andrew Kingston a3f45a0dac Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-25 13:49:24 +00:00
Andrew Kingston 00b2fc29e0 Fix route choice when using devtools role preview and fix devtools role ID not being passed down in context 2022-02-25 13:26:11 +00:00
Andrew Kingston 755e12a24d Add full featured component settings and bindings devtools tabs 2022-02-24 21:48:54 +00:00
Andrew Kingston 969e6531d5 Make copy to clipboard an exported utility 2022-02-24 21:48:23 +00:00
Andrew Kingston c944d1fdf5 Update devtools with new features 2022-02-24 15:36:21 +00:00
Andrew Kingston b8809d33b9 Ensure dev tools never shows in builder preview 2022-02-24 14:15:36 +00:00
Andrew Kingston 0fcfa43790 Fix className autocorrect and make client load time optional 2022-02-24 14:14:55 +00:00
Andrew Kingston 66715b8290 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-02-24 14:03:29 +00:00
Andrew Kingston fd76551909 Key client app layout rendering by builder store asset type to ensure preview is always remounted properly 2022-02-24 12:26:31 +00:00
Andrew Kingston 6573835c13 Fix missing prop from table block and add fixed context provider ID for tables inside table blocks to support row selection bindings 2022-02-24 09:16:35 +00:00
Andrew Kingston d888831b4a Fix table selection defaulting to true, reset selected rows when unmounting tables, remove position absolute on row selection text 2022-02-24 09:15:37 +00:00
Andrew Kingston 8f93227dad Merge branch 'table-cell-config' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-23 12:10:03 +00:00
Peter Clement dffdcd882f add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Andrew Kingston 988afc2dac Add compact setting to table block 2022-02-21 15:45:39 +00:00
Andrew Kingston 86acb3fea3 Update client table component to be more generic about passing table customisation options 2022-02-18 20:29:20 +00:00
Andrew Kingston a3ee95f4e9 Ensure child component column in tables always uses auto width 2022-02-18 14:58:49 +00:00
Andrew Kingston 35f95d2fb3 Fix issue when columns are not defined for a table 2022-02-18 13:22:04 +00:00
Andrew Kingston 9f92ee2d0b Add compact setting to table 2022-02-18 13:08:18 +00:00
Andrew Kingston f45715d61b Only autosort columns when custom columns are not specified 2022-02-18 12:35:39 +00:00
Peter Clement 340c9480c2 add row selection numbers 2022-02-16 15:00:18 +00:00
Peter Clement 1dd909c8c2 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-16 14:35:42 +00:00
Andrew Kingston 2972927a18 Merge branch 'develop' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-14 17:58:42 +00:00
Peter Clement 5a88c89baf changing bindings key 2022-02-11 15:37:43 +00:00
Peter Clement d45c107db7 add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Andrew Kingston 5f72066dde Update table component to use new settings component and support new column config setting structure 2022-02-10 16:42:15 +00:00
Andrew Kingston 0e59be9375 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-09 15:18:44 +00:00
Michael Drury 1cc32e42c0 Merge branch 'develop' into frontend-core 2022-02-09 14:42:05 +00:00
mike12345567 d13985af3f Fix for #3758 - updating the datetime cell renderer and form component to be capable of display time only formats, as well as adding an option to only select the time component for a date time form field. 2022-02-08 16:15:08 +00:00
Andrew Kingston d90ccc26c7 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
Andrew Kingston 6a3333cb19 Merge pull request #4372 from Budibase/dont-dismiss-error-notifications
Remove automatic dismissal of error notifications
2022-02-07 16:47:15 +00:00
Andrew Kingston 85b6943853 Prevent notifications in client apps from being automatically dismissed 2022-02-07 15:25:03 +00:00
Andrew Kingston 353b67d0eb Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 14:46:05 +00:00
Andrew Kingston 2969f2d24c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
Andrew Kingston 6245d605e8 Update rich text editor fullscreen and side-by-side modes to work on desktop and mobile properly with any type of layout navigation 2022-02-07 12:49:33 +00:00
Andrew Kingston 2975e4a8f7 Add format setting on long form fields to allow choice between rich text and plain text, and default to automatically determining from the schema 2022-02-07 12:12:02 +00:00
Andrew Kingston a76508c76e Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 09:50:17 +00:00
Andrew Kingston 48ce006ac3 Hide some icons on mobile to avoid fullscreen mobile icon wrapping in rich text editor 2022-02-04 14:25:20 +00:00
Andrew Kingston 90514af833 Merge branch 'develop' of github.com:Budibase/budibase into feature/real-rich-text 2022-02-04 13:53:01 +00:00
Andrew Kingston a3eef9f534 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-04 09:23:32 +00:00
Andrew Kingston a2a3b276d0 Add default value for relationship fields 2022-02-04 08:50:56 +00:00
mike12345567 984950b945 Adds alignment to long form and string fields as per #3374. 2022-02-03 19:13:56 +00:00
Andrew Kingston 160849d0f5 Support a customisable offset for fullscreen mode for rich text editors 2022-02-03 11:53:51 +00:00
Andrew Kingston aacd8b01c6 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 815b6213cf Update client app long form text component to be rich text and add new markdown viewer component 2022-02-02 21:23:28 +00:00
Andrew Kingston 14eca1b461 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-01 16:49:59 +00:00
Andrew Kingston de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
Andrew Kingston eb1edcd1cc Simply and improve core client library logic 2022-02-01 16:32:37 +00:00
Andrew Kingston 27c2b62223 Remove log statements 2022-02-01 11:55:31 +00:00
Andrew Kingston 249520bdb2 Merge pull request #4228 from pueding/fix/query-pagination-on-production
Fix not showing pagination of query on production
2022-01-31 19:06:00 +00:00
Andrew Kingston 21a771ff70 Merge in client bundle size reductions 2022-01-31 19:02:59 +00:00
Andrew Kingston fcd79ed70a Merge branch 'client-bundle-size-reduction' into experimental-hbs-caching 2022-01-31 18:58:19 +00:00
Andrew Kingston caf8991d92 Cache the determination of client component settings and simplify initialisationlogic 2022-01-31 18:54:04 +00:00
mike12345567 f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Hwansoo 241d04ed38 fix: check if fields exists 2022-02-01 00:03:25 +09:00
Andrew Kingston e5ca73a5d9 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-01-31 10:34:04 +00:00
Andrew Kingston 9b1754ad70 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Andrew Kingston 22bb99357a Remove lodash and sort dependencies out 2022-01-31 09:32:06 +00:00
Rory Powell 0089fb06d9 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Andrew Kingston 4b7fe15598 Add experimental support for caching the creation of HBS template functions 2022-01-29 18:53:21 +00:00
Hwansoo 35671cb120 Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
mike12345567 223b5a0e16 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston 0b5d26b28b Enable caching in client library 2022-01-26 17:45:35 +00:00
Martin McKeaveney 19d27c97a4 code review and merge with develop 2022-01-26 17:45:28 +01:00
Rory Powell ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston 29f47198c6 Remove built-in patch functionality from core API client and instead manually patch client library API endpoints 2022-01-25 19:22:43 +00:00
mike12345567 ff6c81f265 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston bd04d627d2 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
Andrew Kingston 9a813dbb29 Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 7b32543537 Use core CookieUtils in client library 2022-01-25 15:28:14 +00:00
Andrew Kingston 604788a244 Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston 57aa63a2d6 Don't render the active client app screen until the router is loaded to avoid a wasted render 2022-01-25 11:21:42 +00:00
Andrew Kingston d5ef915f39 Fix filtering no datetime fields in blocks 2022-01-25 08:42:07 +00:00
Andrew Kingston 7656887c1a Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-24 19:25:19 +00:00
Andrew Kingston 591dafc336 Don't show a notification when failing an API request due to analytics failures 2022-01-24 19:14:57 +00:00
Andrew Kingston b33a2aa662 Improve API error logging to differentiate between builder and client sources 2022-01-24 16:40:55 +00:00
Andrew Kingston 30fa72665a Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +00:00
Andrew Kingston b0defa8176 Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston a9d4e6a64e Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-21 13:32:56 +00:00
Andrew Kingston f100ae42fd Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Andrew Kingston 2394f7faee Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-20 19:25:21 +00:00
Andrew Kingston 858d7b4b5a Revert changes to MultiFieldSelect 2022-01-20 19:24:57 +00:00
Andrew Kingston 3c50a83de7 Derive safe array-like value as the default value for multi-select fields 2022-01-20 19:24:28 +00:00
Andrew Kingston b0d24d7c07 Merge pull request #4086 from Budibase/ak-fixes
Fixes for multi-selects and data fetching
2022-01-20 18:39:40 +00:00
Andrew Kingston d3a4e34b3f Don't show a notification if there is no error message 2022-01-20 13:37:20 +00:00
Andrew Kingston 86e0e8acc2 Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +00:00
Andrew Kingston d494e53786 Remove static functions from data fetch models 2022-01-20 11:50:18 +00:00
Andrew Kingston a3d6af7b9f Update usage of fetch client app route endpoint 2022-01-20 11:30:51 +00:00
Andrew Kingston c7e98623bc Update usage of DataFetching in client apps 2022-01-20 11:29:30 +00:00
Andrew Kingston 1ec3a91cae Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston aab7adce03 Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston 5fad127f94 Update remaining usage of API in client library 2022-01-20 09:57:57 +00:00
Andrew Kingston 6e58820b45 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 09:43:23 +00:00
Andrew Kingston 6694bdc651 Add core API implementation and update most of client library to use it 2022-01-20 09:40:53 +00:00
Andrew Kingston 937518228d Merge pull request #4105 from Budibase/fix/log-out-action
Fix log out action
2022-01-19 14:54:20 +00:00
Maurits Lourens f5732abe55 #3397 - select radio buttons alignment setting 2022-01-19 15:23:41 +01:00
Andrew Kingston 9d4f18f1ce Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
Andrew Kingston 8be7018543 Rename return URL to redirect URL in log out action 2022-01-19 12:50:07 +00:00
Andrew Kingston baee67d2e8 Lint 2022-01-19 11:32:56 +00:00
Andrew Kingston f6396649b5 Update log out handling to work better, and add support for navigating to a return URL 2022-01-19 11:22:27 +00:00
Martin McKeaveney 3d5a3e7902 Merge pull request #4088 from mslourens/attachment_field_extensions
add extensions prop to specify accepted file extensions
2022-01-19 10:33:10 +01:00
Andrew Kingston 8bf91e6f21 Merge pull request #4084 from bastiaanterhorst/multi-options-default-fix
Update MultiFieldSelect to accept a defaultValue
2022-01-19 08:54:39 +00:00
Bastiaan Terhorst 5b58bd9be6 set defaultValue in Field component 2022-01-19 09:19:49 +01:00
Andrew Kingston 603d38ad78 Merge pull request #4033 from Budibase/fix/dynamic-validators
Fix dynamic validators not correctly validating form components
2022-01-18 19:20:27 +00:00
Maurits Lourens a4fea9ab3c add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Bastiaan Terhorst 7ed18caa31 also set defaultValue 2022-01-18 16:48:08 +01:00
Andrew Kingston 37a8d213e6 Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-18 15:34:10 +00:00
Bastiaan Terhorst d2ffc2e920 Update MultiFieldSelect to accept a defaultValue
This changes the multi select control to accept defaultValues. As these are passed in as strings (flattened arrays in the form of "1, 2, 3") they need to be split into an array to be accepted by the control.
2022-01-18 15:04:40 +01:00
Michael Drury 7cf78f8c8b Merge pull request #4073 from Budibase/feature/sql-relationship-filtering
SQL relationship filtering
2022-01-18 13:10:58 +00:00
Andrew Kingston 0201841b90 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Maurits Lourens 68986fba3a fix schema constraint mapping to validation rule 2022-01-17 23:23:36 +01:00
mike12345567 cde801d99b Adding dynamic filter capabilities, also updating search field select in builder to make sure it removes banned search field types. 2022-01-17 16:48:49 +00:00
Andrew Kingston 54ce8d8386 Merge branch 'feature/sql-relationship-filtering' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 14:04:19 +00:00
Andrew Kingston 0502e62e1c Add optional enrichment of relationship fields when determining datasource schema and update block filters to properly reference relationship fields 2022-01-17 14:03:47 +00:00
mike12345567 29fbfe7b95 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 13:34:16 +00:00
mike12345567 aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 2022-01-14 17:42:14 +00:00
Andrew Kingston 283c4a5d9f Remove log 2022-01-14 16:47:50 +00:00
Andrew Kingston 4dfb74f512 Add public URL of uploaded file to button action outputs when uploading files to S3 2022-01-14 10:40:38 +00:00
Andrew Kingston 5b40ef2422 Fix issue where error was always reset when a component was re-registered 2022-01-14 09:58:23 +00:00
Andrew Kingston 0b0618aa84 Lint and fix size of S3 upload component overlay 2022-01-14 09:20:20 +00:00
Andrew Kingston 73f2c9bd35 Improve error handling when uploading files to S3 2022-01-14 08:39:24 +00:00
Andrew Kingston b3dba52d62 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Andrew Kingston 3f2b6db2b2 Merge branch 'develop' of github.com:Budibase/budibase into s3-upload 2022-01-13 17:17:30 +00:00
Rory Powell f055d392b5 Merge branch 'develop' into fix/return-url 2022-01-13 14:11:20 +00:00
Rory Powell b5250ac244 Fix return url using cookies 2022-01-13 14:07:49 +00:00
Andrew Kingston d949e2dd23 Ensure bad route configs don't cause the client to crash 2022-01-12 15:38:56 +00:00
Andrew Kingston 159c951262 Add S3 presigned request generation and file upload capabilities 2022-01-12 14:59:33 +00:00
Andrew Kingston dfd95f9b83 Add initial work on new S3 upload component and button action 2022-01-11 14:01:21 +00:00
Andrew Kingston ad6b0714d3 Fix crash when fetching queries set up before pagination existed 2022-01-10 12:45:30 +00:00
Andrew Kingston 53b601ec9b Ensure paginate option is respected in DataFetch models 2022-01-07 11:30:47 +00:00
Andrew Kingston e187e8f2b1 Update client query fetch to better determine whether pagination is supported or not 2022-01-07 11:03:55 +00:00
Andrew Kingston f5649b48d1 Add support for cursor based pagination in query params 2022-01-05 17:28:57 +00:00
Andrew Kingston e2478e478e Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
Andrew Kingston 6e3f217fbb Add support for nested provider, field and jsonarray datasource types in new data fetch model 2022-01-04 15:02:43 +00:00
mike12345567 e32869b100 Fixing issue discovered by cypress test case and updating dynamic variable view to hide table when there are none. 2022-01-04 14:41:11 +00:00
Andrew Kingston db55074b0a Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-04 14:34:09 +00:00
mike12345567 18ff7a9cfb Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
Andrew Kingston 4cd8886e1a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2022-01-04 09:48:44 +00:00
Andrew Kingston 6539f90b51 Update query fetch to support new pagination structure 2021-12-17 18:53:57 +00:00
Andrew Kingston 2043fd3402 Fix issue with determining view schema 2021-12-17 18:48:44 +00:00
Andrew Kingston 441cc2fccf Update client lib data fetch models to support generic pagination 2021-12-17 18:39:48 +00:00
Andrew Kingston af00ed88ae Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +00:00
Andrew Kingston d6120de81b Update data fetch models to use constructor to determine feature flags 2021-12-17 10:49:12 +00:00
Andrew Kingston 78a3f807a3 Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston f90c6ec44d Remove old reference implementation of data provider component 2021-12-17 10:37:26 +00:00
Andrew Kingston 5c26f07d26 Add back in query extension capability to new data provider 2021-12-17 10:37:06 +00:00
Andrew Kingston 66d9dc9b1e Add client-side searching, sorting and limiting for incompatible datasources to new DataFetch model 2021-12-17 09:52:12 +00:00
Andrew Kingston 3a8e217bb7 Delay rendering blocks until the schema has been attempted to be loaded 2021-12-17 09:18:43 +00:00
Andrew Kingston 58e0daeb8c Remove initial render of components with undefined props by passing in initial props without triggering svelte invalidation 2021-12-17 09:18:07 +00:00
Andrew Kingston 86065084c1 Update core component handling to use svelte function to manually control props in order to avoid triggering additional reactive statements and improve performance 2021-12-17 08:22:40 +00:00
Andrew Kingston 63ec10d73f Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
mike12345567 a9437302b7 Fixing issue with switching between datasources and making sure old client apps can still use the deprecated API. 2021-12-16 11:41:28 +00:00
mike12345567 858ef084ad Finishing up front-end, getting variable creation and management up and working from within the query schema/header menus. 2021-12-15 19:20:19 +00:00
Andrew Kingston 1c23dc3a3c Fix using wrong local storage key when persisting state in client apps 2021-12-15 09:00:14 +00:00
Andrew Kingston 26d89f75d5 Pass current state to peek modals when opening them via query param 2021-12-15 08:55:22 +00:00
Andrew Kingston d58b1ae7f0 Fix datasource invalidation proxying from peek modals not working 2021-12-14 14:04:37 +00:00
Andrew Kingston 98cd12db5f Proxy state updates back from peek modals 2021-12-14 14:04:10 +00:00
Andrew Kingston d7720e2643 Expose whole form value as a data binding 2021-12-13 09:34:27 +00:00
Andrew Kingston 9353aec940 Ensure JSON schema generated in client apps is identical to builder generated schema 2021-12-10 15:11:01 +00:00
Andrew Kingston dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston 9708539631 Fix blocks not filtering properly on number fields 2021-12-09 19:36:53 +00:00
Andrew Kingston c97852d0ff Fix border radius rounding on hover and selection indicators in builder preview 2021-12-09 17:22:46 +00:00
Andrew Kingston eeecc762d2 Add button context to execute query action 2021-12-09 16:48:19 +00:00
Andrew Kingston dd5d0ffc7b Add output context to duplicate row action 2021-12-09 16:29:22 +00:00
Andrew Kingston 707ed7419d Reset field value to default value if default value changes 2021-12-09 14:51:19 +00:00
Andrew Kingston eedd1f0cf6 Fix bug where save duplicate action was mutating the real context 2021-12-09 14:36:57 +00:00
Andrew Kingston 9ad25fcf88 Fix bug where save row action was mutating the real context 2021-12-09 14:36:24 +00:00
Andrew Kingston d9278dbc24 Dynamically enrich button actions at runtime and provide additional ephemeral button action output context 2021-12-09 11:25:32 +00:00
Andrew Kingston 7beaa80759 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-08 13:08:28 +00:00
Andrew Kingston 46cf642abd Add new tag component to client apps 2021-12-08 13:06:15 +00:00
Andrew Kingston 6b20d5cf46 Allow internal links to be opened in a new tab 2021-12-08 09:03:56 +00:00
Andrew Kingston cb1f870831 Key links by URL as the svelte-spa-router link svelte action does not update correctly 2021-12-08 08:35:19 +00:00
Andrew Kingston b1cc72c54a Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston 4bbbd75a4e Fix datasource invalidations not propagating through peek modals 2021-12-07 15:11:13 +00:00
Andrew Kingston d36daaf9b9 Add button action for duplicating a row 2021-12-07 13:59:12 +00:00
Andrew Kingston a5b4087f64 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
Andrew Kingston 7b20aa31d1 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +00:00
Andrew Kingston d10d332b9f Update client side lucene searching to work with nested JSON fields and fix bug with flattening nested JSON schema 2021-12-06 12:04:22 +00:00
Andrew Kingston cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Andrew Kingston 1e38628a4b Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Andrew Kingston ba9d06df34 Merge branch 'feature/json-backend' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 13:41:58 +00:00
Andrew Kingston eca8423c6b Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 08:48:40 +00:00
Andrew Kingston d2ce037297 Expose static repeater context for row index 2021-11-30 08:47:21 +00:00
Andrew Kingston c81ca0502a Fix layout navigation not scrolling when required 2021-11-29 09:05:46 +00:00
Andrew Kingston 1b3317a114 Add devtools to app preview and add ability to preview apps as different roles 2021-11-26 13:25:02 +00:00
Andrew Kingston 63fac77ad1 Ensure horizontal cards in the card block don't exceed the width of the screen 2021-11-25 11:35:19 +00:00
Andrew Kingston fa9fc496f6 Remove text setting from dynamic filter component 2021-11-24 08:20:23 +00:00
Andrew Kingston 8d44e9aa20 Update dynamic filter component styles and remove lots of settings 2021-11-23 17:40:49 +00:00
Andrew Kingston 4ef99cd603 Add button variant, size and quiet settings to dynamic filter. Allow dyanmic filter button text to be edited inline 2021-11-22 14:48:34 +00:00
Andrew Kingston f12ab5aebd Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston ab7959a32c Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston 9057b8e521 Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston bfe562c9ea Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston a9a50545c9 Be more explicit about the boolean nature of component settings in the manifest and add back in a render key to fix toggling contenteditable attribute on dom elements 2021-11-18 20:32:42 +00:00