Commit Graph

1107 Commits

Author SHA1 Message Date
Andrew Kingston 17aba96dfa Fix typo 2022-04-14 10:12:49 +01:00
Andrew Kingston 892088702f Add on change action to S3 upload field 2022-04-14 10:04:38 +01:00
Andrew Kingston 67f94e0cae Add on change action to relationship field 2022-04-14 10:01:14 +01:00
Andrew Kingston f70cab8a6c Add on change action to options field 2022-04-14 09:54:49 +01:00
Andrew Kingston 0c83596a86 Add on change action to multi-select field 2022-04-14 09:51:41 +01:00
Andrew Kingston 417b034676 Add on change action to long form field 2022-04-14 09:49:13 +01:00
Andrew Kingston 5d2c337d5d Add on change action to string field 2022-04-14 09:47:27 +01:00
Andrew Kingston e7ca90cd6b Add on change action to JSON field 2022-04-14 09:47:00 +01:00
Andrew Kingston 3b71c40570 Add on change action to datetime field 2022-04-14 09:46:46 +01:00
Andrew Kingston 8e204ae0b8 Add on change action to boolean field 2022-04-14 09:46:36 +01:00
Andrew Kingston 9b56dcfdfe Add on change action to attachment field 2022-04-14 09:46:24 +01:00
Andrew Kingston 04b299750d Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Mel O'Hagan adfb8d7c56 Only apply to small components (button, headline) 2022-04-13 15:53:26 +01:00
Andrew Kingston f05844192c 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 543578051e 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 43a8efc24d Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-04-07 12:04:13 +01:00
Mel O'Hagan 8d00566703 Move settings bar below element if at very top 2022-04-06 17:31:59 +01:00
Andrew Kingston d91f67ef34 Update spectrum card word wrapping again 2022-04-06 16:05:58 +01:00
Andrew Kingston b528c9fa08 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 c25ca0cafd Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston c8e87cf24f Add label for global selected rows bindings in devtools 2022-04-06 13:30:38 +01:00
Andrew Kingston 7c91d9dceb Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Andrew Kingston fea89488e1 Don't show an error for the endpoint 2022-04-06 08:16:24 +01:00
Andrew Kingston d121aefbaa Reset buttion action output context on each invocation of the action 2022-04-05 14:00:44 +01:00
Andrew Kingston 4b21d4bba0 Merge branch 'develop' of github.com:Budibase/budibase into nord-theme 2022-04-04 12:19:29 +01:00
Andrew Kingston ae7117f744 Fix color and size of chart tooltips 2022-04-04 10:56:06 +01:00
Andrew Kingston 753878c0dd Update chart data labels to white 2022-04-04 09:14:56 +01:00
Andrew Kingston 8e46e4b514 Disable validation for search fields in cards block 2022-04-04 08:49:46 +01:00
Andrew Kingston c0eb27e8d1 Disable validation for search fields in table block 2022-04-04 08:49:16 +01:00
Andrew Kingston 91e35ef816 Add internal setting to fully disable form validation 2022-04-04 08:49:01 +01:00
Andrew Kingston 2e979846c4 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 a194bb7716 Remove button editing class which was used for testing 2022-03-30 09:37:00 +01:00
Andrew Kingston a304aae95c 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 0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Andrew Kingston 9f3a0ce3c9
Merge pull request #5086 from Budibase/continue-if-button-action
'Continue if' button action
2022-03-25 12:29:19 +00:00
Andrew Kingston 78e78523e0 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Dean 32b81a5542 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-25 11:31:45 +00:00
Andrew Kingston 3b632dea85 Fix bug which prevented last marker being removed from the map if deleted 2022-03-25 10:59:45 +00:00
Andrew Kingston ff327423e1 Add 'continue if' button action 2022-03-25 09:26:15 +00:00
Andrew Kingston ec726febf2 Update apex chart tooltips to work in dark themes 2022-03-23 14:21:23 +00:00
Andrew Kingston bd93f150b5 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 e7ff1c4ba9 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-03-23 10:48:49 +00:00
Andrew Kingston 3f75412fb0
Merge pull request #4987 from Budibase/scrollable-component-tree
Scrollable component tree
2022-03-23 10:46:55 +00:00
Andrew Kingston e1878dabc2 Make app dynamic filter component respsonsive 2022-03-22 18:33:41 +00:00
Andrew Kingston c586049043 Update pie chart to be reactive 2022-03-22 17:45:05 +00:00
Andrew Kingston 84cdfa5eac Update line chart to be reactive 2022-03-22 17:44:58 +00:00
Andrew Kingston e1aea10567 Update candlestick chart to be reactive 2022-03-22 17:44:45 +00:00
Andrew Kingston fbebc8aced Update bar chart to be reactive 2022-03-22 17:44:32 +00:00
Andrew Kingston c6cffa15ee Do not update form field value when default value changes to prevent endless loops 2022-03-22 17:28:04 +00:00
Martin McKeaveney 7e5306e1d6
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 733fe1fe3f Update spectrum card word wrapping to allow breaking text anywhere 2022-03-21 12:16:51 +00:00
Martin McKeaveney a6155f7b24
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 199db81ddc
Merge pull request #4821 from Budibase/copy-paste-improvements
Copy paste improvements + extras
2022-03-21 08:25:01 +00:00
Andrew Kingston 34c13db56d Don't attempt to invalidate related datasources when invalidating query datasources 2022-03-18 15:21:24 +00:00
Maurits Lourens 70301010d3 fetch the table which contains info about the primaryDisplay 2022-03-18 14:35:06 +01:00
Andrew Kingston 07be79ee19 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-component 2022-03-16 15:31:10 +00:00
Andrew Kingston b3f1458d8f Update default height of map component 2022-03-16 15:03:13 +00:00
Andrew Kingston e4a8704870 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-16 15:03:01 +00:00
Andrew Kingston 52c8742067 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 43f7d1607d linting 2022-03-16 10:33:38 +00:00
Peter Clement 96ea66f898 send export file from backend 2022-03-16 10:22:06 +00:00
Andrew Kingston 3fb71f91ef 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 9e96090333 Add map action for map click 2022-03-15 13:25:41 +00:00
Peter Clement 65e857609a fix button action export for csv 2022-03-15 12:03:16 +00:00
Andrew Kingston 1e78ff1463 Add nord theme 2022-03-15 11:20:06 +00:00
Andrew Kingston 2d33b1195e 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 0cb3e5d98d Convert marker popups to tooltips on hover 2022-03-14 11:45:26 +00:00
Dean 4d93d3b76c Minor code styling fix 2022-03-14 09:47:48 +00:00
Dean 3d4c155fb7 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 f760724519 Map refactored and dependency updates 2022-03-11 11:17:15 +00:00
Dean 60dd9b704e Added html escaping package sanitize-html to prevent injection via the map attribution field 2022-03-11 11:06:05 +00:00
Dean 7fede5bd72 Added fix to accomodate a cleared attribution field 2022-03-10 15:48:11 +00:00
Dean 482684c6e7 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 a4e16a4d96 Add comment for consistency 2022-03-10 11:56:31 +00:00
Andrew Kingston fc6a56e362 Add css print styles to ensure multi-page print is possible 2022-03-10 11:54:15 +00:00
Dean a4f5a76179 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-09 11:02:53 +00:00
Andrew Kingston 556c71ed31 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 17:58:12 +00:00
Dean a0588c77ee 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 c3b6d74c8b Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-08 13:56:56 +00:00
Andrew Kingston fe95844569 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Peter Clement 8b9991be24 Update how button action for exporting works 2022-03-08 12:58:05 +00:00
Martin McKeaveney 3104a14012 merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 43348fd54f merge from master 2022-03-08 12:34:27 +01:00
Andrew Kingston 1c5d54fe1d Add duplicate action to settings bar 2022-03-07 14:05:26 +00:00
Peter Clement ea63b9b065 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Andrew Kingston d011e2e63e Fix loading state in S3 upload component and show error if possible 2022-03-07 09:57:15 +00:00
Andrew Kingston af100caddb
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 8ef013f173 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-03-01 10:37:26 +00:00
Rory Powell 09fcfccede Merge branch 'master' into merge-master 2022-03-01 10:04:23 +00:00
Andrew Kingston 11cd5d1570 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 b738fcf030 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 47d8a1e628 Add error notification if executing a query in a button action fails 2022-02-25 21:29:02 +00:00
Andrew Kingston 4f5d3fc446 Fix incorrect syntax for showing a notification while executing custom queries 2022-02-25 21:26:08 +00:00
Andrew Kingston 7274ea236f Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-25 13:49:24 +00:00
Andrew Kingston b7af3e75fa 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 908c0a3efc Add full featured component settings and bindings devtools tabs 2022-02-24 21:48:54 +00:00
Andrew Kingston 10be256302 Make copy to clipboard an exported utility 2022-02-24 21:48:23 +00:00
Andrew Kingston 0137867f1a Update devtools with new features 2022-02-24 15:36:21 +00:00
Andrew Kingston 947cd07c48 Ensure dev tools never shows in builder preview 2022-02-24 14:15:36 +00:00
Andrew Kingston 96150094b7 Fix className autocorrect and make client load time optional 2022-02-24 14:14:55 +00:00
Andrew Kingston 40c6976035 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-02-24 14:03:29 +00:00
Andrew Kingston dd706d84fb 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 08d6e104c7 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 defe725bcc 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 653a024d48 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 53c207691c add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Andrew Kingston b93546e958 Add compact setting to table block 2022-02-21 15:45:39 +00:00
Andrew Kingston 34cdf90b67 Update client table component to be more generic about passing table customisation options 2022-02-18 20:29:20 +00:00
Andrew Kingston e651663264 Ensure child component column in tables always uses auto width 2022-02-18 14:58:49 +00:00
Andrew Kingston ecdc50d47b Fix issue when columns are not defined for a table 2022-02-18 13:22:04 +00:00
Andrew Kingston 8481762c3c Add compact setting to table 2022-02-18 13:08:18 +00:00
Andrew Kingston f1649911b0 Only autosort columns when custom columns are not specified 2022-02-18 12:35:39 +00:00
Peter Clement a9194be9d2 add row selection numbers 2022-02-16 15:00:18 +00:00
Peter Clement 8fc10b3341 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-16 14:35:42 +00:00
Andrew Kingston 7828f9377e Merge branch 'develop' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-14 17:58:42 +00:00
Peter Clement 2ead1c59be changing bindings key 2022-02-11 15:37:43 +00:00
Peter Clement 350edc2aec add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Andrew Kingston 5f11684069 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 b7e1aebaa8 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-09 15:18:44 +00:00
Michael Drury 8a10e31762
Merge branch 'develop' into frontend-core 2022-02-09 14:42:05 +00:00
mike12345567 832e3bd76e 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 e6ed16f274 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
Andrew Kingston d402b942d0
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 9b3c06bb3a Prevent notifications in client apps from being automatically dismissed 2022-02-07 15:25:03 +00:00
Andrew Kingston 069f6c5697 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 14:46:05 +00:00
Andrew Kingston 04d53a709c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
Andrew Kingston 4239bb2cb5 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 750b266e90 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 cfe7e9c262 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 09:50:17 +00:00
Andrew Kingston 26970971db 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 e65ee63a9e Merge branch 'develop' of github.com:Budibase/budibase into feature/real-rich-text 2022-02-04 13:53:01 +00:00
Andrew Kingston 18e5be9a06 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-04 09:23:32 +00:00
Andrew Kingston 0899b988a4 Add default value for relationship fields 2022-02-04 08:50:56 +00:00
mike12345567 528862f212 Adds alignment to long form and string fields as per #3374. 2022-02-03 19:13:56 +00:00
Andrew Kingston fc009cc9b4 Support a customisable offset for fullscreen mode for rich text editors 2022-02-03 11:53:51 +00:00
Andrew Kingston 5109975433 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 7f064598a6 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 c7b78e135a Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-01 16:49:59 +00:00
Andrew Kingston 312571314d Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
Andrew Kingston ae9a5b19c0 Simply and improve core client library logic 2022-02-01 16:32:37 +00:00
Andrew Kingston 5aa52f4b9d Remove log statements 2022-02-01 11:55:31 +00:00
Andrew Kingston 50bb4a8ebf
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 765e4e3ae1 Merge in client bundle size reductions 2022-01-31 19:02:59 +00:00
Andrew Kingston a3135bd98f Merge branch 'client-bundle-size-reduction' into experimental-hbs-caching 2022-01-31 18:58:19 +00:00
Andrew Kingston 7c514df39d Cache the determination of client component settings and simplify initialisationlogic 2022-01-31 18:54:04 +00:00
mike12345567 8fbd101448 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Hwansoo 0e94950857 fix: check if fields exists 2022-02-01 00:03:25 +09:00
Andrew Kingston d59f735d98 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-01-31 10:34:04 +00:00
Andrew Kingston f32cfdd3b9 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Andrew Kingston 37e72db2a8 Remove lodash and sort dependencies out 2022-01-31 09:32:06 +00:00
Rory Powell 3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Andrew Kingston e7b02aec04 Add experimental support for caching the creation of HBS template functions 2022-01-29 18:53:21 +00:00
Hwansoo 5b567300ec Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
mike12345567 35aef89661 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston fa5bec03ff Enable caching in client library 2022-01-26 17:45:35 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston 5b2b3e9add 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 5bbe667ea9 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston cfa02f88f6 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
Andrew Kingston 48c3c7852a Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 66bf6c6059 Use core CookieUtils in client library 2022-01-25 15:28:14 +00:00
Andrew Kingston 542dc6db2f Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston bca6f34959 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 502a3bd8eb Fix filtering no datetime fields in blocks 2022-01-25 08:42:07 +00:00
Andrew Kingston 2290652b27 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 b95f481720 Don't show a notification when failing an API request due to analytics failures 2022-01-24 19:14:57 +00:00
Andrew Kingston ac80b8e447 Improve API error logging to differentiate between builder and client sources 2022-01-24 16:40:55 +00:00
Andrew Kingston bbc3c18fcd Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +00:00
Andrew Kingston 30a92ee981
Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston b22f1f54a0 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 1f22b4ecfe Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Andrew Kingston 6758896f57 Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-20 19:25:21 +00:00
Andrew Kingston db56a64805 Revert changes to MultiFieldSelect 2022-01-20 19:24:57 +00:00
Andrew Kingston 81479b18f3 Derive safe array-like value as the default value for multi-select fields 2022-01-20 19:24:28 +00:00
Andrew Kingston e56fba688e
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 617dd4c670 Don't show a notification if there is no error message 2022-01-20 13:37:20 +00:00
Andrew Kingston 9957acaccb Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +00:00
Andrew Kingston c0badb9c2a Remove static functions from data fetch models 2022-01-20 11:50:18 +00:00
Andrew Kingston 7baba13704 Update usage of fetch client app route endpoint 2022-01-20 11:30:51 +00:00
Andrew Kingston e151ddde07 Update usage of DataFetching in client apps 2022-01-20 11:29:30 +00:00
Andrew Kingston 3a3f4f0538 Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston e3b8e44eeb Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston 71cf06e6f4 Update remaining usage of API in client library 2022-01-20 09:57:57 +00:00
Andrew Kingston b970c315f1 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 09:43:23 +00:00
Andrew Kingston fd9c5d6c0b Add core API implementation and update most of client library to use it 2022-01-20 09:40:53 +00:00
Andrew Kingston 6fcf0de0e5
Merge pull request #4105 from Budibase/fix/log-out-action
Fix log out action
2022-01-19 14:54:20 +00:00
Maurits Lourens 31d80fd99b #3397 - select radio buttons alignment setting 2022-01-19 15:23:41 +01:00
Andrew Kingston 597a1e5e68 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
Andrew Kingston e0a3911851 Rename return URL to redirect URL in log out action 2022-01-19 12:50:07 +00:00
Andrew Kingston ca35a5b768 Lint 2022-01-19 11:32:56 +00:00
Andrew Kingston 8b976bed52 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 afa50b7e7a
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 8a6a84c376
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 107aa44308 set defaultValue in Field component 2022-01-19 09:19:49 +01:00
Andrew Kingston e5f10e4fc3
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 1757d8d329 add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Bastiaan Terhorst 54a1c84179 also set defaultValue 2022-01-18 16:48:08 +01:00
Andrew Kingston 302a1b3c5f Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-18 15:34:10 +00:00
Bastiaan Terhorst dd44c4e7e3 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 d64f5ea513
Merge pull request #4073 from Budibase/feature/sql-relationship-filtering
SQL relationship filtering
2022-01-18 13:10:58 +00:00
Andrew Kingston 919e31d216 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Maurits Lourens f2f6fa31b1 fix schema constraint mapping to validation rule 2022-01-17 23:23:36 +01:00
mike12345567 abfa80bb47 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 3ff48eec0a 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 ec93406578 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 949f56d564 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 13:34:16 +00:00
mike12345567 018e0bd73b 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 407a0ce6a9
Remove log 2022-01-14 16:47:50 +00:00
Andrew Kingston 157b6a19f6 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 fabde1b7bf Fix issue where error was always reset when a component was re-registered 2022-01-14 09:58:23 +00:00
Andrew Kingston 5f357ad2d8 Lint and fix size of S3 upload component overlay 2022-01-14 09:20:20 +00:00
Andrew Kingston d1ab0d2b67 Improve error handling when uploading files to S3 2022-01-14 08:39:24 +00:00
Andrew Kingston bb01806633 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Andrew Kingston 353c06dc13 Merge branch 'develop' of github.com:Budibase/budibase into s3-upload 2022-01-13 17:17:30 +00:00
Rory Powell 864ceb3e90 Merge branch 'develop' into fix/return-url 2022-01-13 14:11:20 +00:00
Rory Powell 9da1c77903 Fix return url using cookies 2022-01-13 14:07:49 +00:00
Andrew Kingston 030ff0c50e Ensure bad route configs don't cause the client to crash 2022-01-12 15:38:56 +00:00
Andrew Kingston 7b860f5773 Add S3 presigned request generation and file upload capabilities 2022-01-12 14:59:33 +00:00
Andrew Kingston 8772dc342d Add initial work on new S3 upload component and button action 2022-01-11 14:01:21 +00:00
Andrew Kingston a23565dbeb Fix crash when fetching queries set up before pagination existed 2022-01-10 12:45:30 +00:00
Andrew Kingston 8bebf8db01 Ensure paginate option is respected in DataFetch models 2022-01-07 11:30:47 +00:00
Andrew Kingston ee2a3515e8 Update client query fetch to better determine whether pagination is supported or not 2022-01-07 11:03:55 +00:00
Andrew Kingston b7d7923904 Add support for cursor based pagination in query params 2022-01-05 17:28:57 +00:00
Andrew Kingston e0ae492e1d Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
Andrew Kingston 1eac218d6e Add support for nested provider, field and jsonarray datasource types in new data fetch model 2022-01-04 15:02:43 +00:00
mike12345567 46a271c073 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 9de896e526 Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-04 14:34:09 +00:00
mike12345567 3f5263f192 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
Andrew Kingston 7dd70147f5 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2022-01-04 09:48:44 +00:00
Andrew Kingston 3b9b6bdde0 Update query fetch to support new pagination structure 2021-12-17 18:53:57 +00:00
Andrew Kingston 9a53982038 Fix issue with determining view schema 2021-12-17 18:48:44 +00:00
Andrew Kingston 32b1c98201 Update client lib data fetch models to support generic pagination 2021-12-17 18:39:48 +00:00
Andrew Kingston 7769ba4d6a Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +00:00
Andrew Kingston 6034670c78 Update data fetch models to use constructor to determine feature flags 2021-12-17 10:49:12 +00:00
Andrew Kingston 910c58b41d Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston 04928b3c05 Remove old reference implementation of data provider component 2021-12-17 10:37:26 +00:00
Andrew Kingston a967a07091 Add back in query extension capability to new data provider 2021-12-17 10:37:06 +00:00
Andrew Kingston def64b2f39 Add client-side searching, sorting and limiting for incompatible datasources to new DataFetch model 2021-12-17 09:52:12 +00:00
Andrew Kingston 38ef2deb90 Delay rendering blocks until the schema has been attempted to be loaded 2021-12-17 09:18:43 +00:00
Andrew Kingston 492c2acc9a 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 460d9f8c8d 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 4bf200fcc5 Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
mike12345567 c55cc0f56a 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 0a6754b13c 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 7346199a3c Fix using wrong local storage key when persisting state in client apps 2021-12-15 09:00:14 +00:00
Andrew Kingston ed29ccf7eb Pass current state to peek modals when opening them via query param 2021-12-15 08:55:22 +00:00
Andrew Kingston b31bb9be1d Fix datasource invalidation proxying from peek modals not working 2021-12-14 14:04:37 +00:00
Andrew Kingston 43fe2407e1 Proxy state updates back from peek modals 2021-12-14 14:04:10 +00:00
Andrew Kingston 6524b871b0 Expose whole form value as a data binding 2021-12-13 09:34:27 +00:00