Commit Graph

1196 Commits

Author SHA1 Message Date
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
Andrew Kingston 6fd53b134a Ensure JSON schema generated in client apps is identical to builder generated schema 2021-12-10 15:11:01 +00:00
Andrew Kingston 5793cc3bbd Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston cd0acacb69 Fix blocks not filtering properly on number fields 2021-12-09 19:36:53 +00:00
Andrew Kingston e7899d7f22 Fix border radius rounding on hover and selection indicators in builder preview 2021-12-09 17:22:46 +00:00
Andrew Kingston 3f1d3328e2 Add button context to execute query action 2021-12-09 16:48:19 +00:00
Andrew Kingston cc3facd1b8 Add output context to duplicate row action 2021-12-09 16:29:22 +00:00
Andrew Kingston ff246de1cb Reset field value to default value if default value changes 2021-12-09 14:51:19 +00:00
Andrew Kingston 62fc8d45f6 Fix bug where save duplicate action was mutating the real context 2021-12-09 14:36:57 +00:00
Andrew Kingston 3e8cd19e7b Fix bug where save row action was mutating the real context 2021-12-09 14:36:24 +00:00
Andrew Kingston d9f4c3a4b0 Dynamically enrich button actions at runtime and provide additional ephemeral button action output context 2021-12-09 11:25:32 +00:00
Andrew Kingston c71ad0cdec Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-08 13:08:28 +00:00
Andrew Kingston f2445226d5 Add new tag component to client apps 2021-12-08 13:06:15 +00:00
Andrew Kingston 42995a33c5 Allow internal links to be opened in a new tab 2021-12-08 09:03:56 +00:00
Andrew Kingston 7886b383f5 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 ba2588d44e Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston fb23bf5674 Fix datasource invalidations not propagating through peek modals 2021-12-07 15:11:13 +00:00
Andrew Kingston 20f3f41327 Add button action for duplicating a row 2021-12-07 13:59:12 +00:00
Andrew Kingston 39e1e84512 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
Andrew Kingston 1bb6fb37e5 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +00:00
Andrew Kingston b0732846d0 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 f898b8c94d 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 b362068d47 Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Andrew Kingston 1aa6b0bdd6 Merge branch 'feature/json-backend' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 13:41:58 +00:00
Andrew Kingston c39b7c5afd Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 08:48:40 +00:00
Andrew Kingston 27327ae2a1 Expose static repeater context for row index 2021-11-30 08:47:21 +00:00
Andrew Kingston b44772b136 Fix layout navigation not scrolling when required 2021-11-29 09:05:46 +00:00
Andrew Kingston 29c5e6c243 Add devtools to app preview and add ability to preview apps as different roles 2021-11-26 13:25:02 +00:00
Andrew Kingston f0da6d9fd3 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 837e70c9a8 Remove text setting from dynamic filter component 2021-11-24 08:20:23 +00:00
Andrew Kingston 07d45d8039 Update dynamic filter component styles and remove lots of settings 2021-11-23 17:40:49 +00:00
Andrew Kingston ae19581288 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 067e5d3a7d Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston 6f37fc27e1 Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston 2ab40d51dc Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston 90b3e2a16d Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston df29ad1092 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
Andrew Kingston 0aa0f6a07d Enable dynamic filter component to update data provider queries 2021-11-18 20:32:00 +00:00
Andrew Kingston b2a58d1c35 Ensure important builder store variables do not get unassigned when setting the builder store state 2021-11-18 20:31:25 +00:00
Andrew Kingston c432c86419 Add modal container to top level of client apps 2021-11-18 20:31:00 +00:00
Andrew Kingston e1021f429c Refactor how extending data provider queries works to support multiple extensions per key 2021-11-18 18:41:37 +00:00
Andrew Kingston 2bf6c951fd Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston e43d5ba158 Fix default form step context not being a svelte store 2021-11-18 15:57:29 +00:00
Andrew Kingston b47a25a273 Add settings to dynamic filter to control button text and allowed filter fields 2021-11-18 15:43:51 +00:00
Andrew Kingston 038ec39143 Add dynamic filter component 2021-11-18 15:36:16 +00:00
Andrew Kingston 661c2abd39 Remove log statement 2021-11-18 14:47:59 +00:00
Andrew Kingston d3407a2444 Fix bug with duplication of fields when re-registering existing fields 2021-11-18 14:43:02 +00:00
Andrew Kingston 6e3044f7c9 Make form step number dynamic 2021-11-18 14:42:49 +00:00
Andrew Kingston c2bf1de547 Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston 4ce25fdf0b Allow dynamic re-registration of form field components 2021-11-18 14:18:06 +00:00
Andrew Kingston 53c7da348b Fix issue with data provider query not updating 2021-11-16 17:55:24 +00:00
Andrew Kingston 9fea436cc2 Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston 69422f374b Refactor some app components to remove dependency on static props 2021-11-16 17:52:00 +00:00
Andrew Kingston cc5e42e933 Update table to handle dynamic data provider prop 2021-11-16 17:51:05 +00:00
Andrew Kingston fa70eb540a Update forms to handle a dynamic schema prop 2021-11-16 17:42:27 +00:00
Andrew Kingston 9aa03c39ba Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston 1432cbec72 Refactor how client app actions programmatically mutate data provider queries to allow for correctly handling removal of query extensions 2021-11-16 16:28:48 +00:00
Andrew Kingston 3acdf56679 Precent unecessary client app builder store updates to improve performance 2021-11-16 13:35:20 +00:00
Andrew Kingston e5f49c87f6 Ensure button is focused when starting to edit text 2021-11-16 13:22:31 +00:00
Andrew Kingston d13170ff57 Disable drag and drop for components in the selected path when edit mode is enabled to fix firefox issue with text selection when draggable attribute is set 2021-11-16 13:17:34 +00:00
Andrew Kingston c43927e863 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston 1cfb0f467d Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston 638972804d Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston b1a2bb59a6 Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston 1b4e95ed3c Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00
Andrew Kingston cd94f72faa Replace manual usage of square brackets with string-templates makePropSafe util 2021-11-12 15:28:08 +00:00
Andrew Kingston 04e8c4a932 Clafify comments 2021-11-12 15:27:42 +00:00
Andrew Kingston 07f15c5759 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston 65111272b8 Allow blocks which take children to work with DND 2021-11-12 15:18:55 +00:00
Andrew Kingston 8b3edeea3b Update settings bar to account for new block settings structure 2021-11-12 14:48:53 +00:00
Andrew Kingston e0c88597a7 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
Andrew Kingston 7fd5f60ecc
Merge pull request #3299 from Budibase/full-bindings
Full bindings for relationships and attachments
2021-11-11 11:01:27 +00:00
Andrew Kingston 3ebf44d1f7 Rename blocks to be shorter 2021-11-10 15:56:51 +00:00
Andrew Kingston 32c3788a53 Refactor all block link settings to be URLs rather than onclick handlers. Add settings for linking card titles in card list blocks 2021-11-10 15:52:36 +00:00
Andrew Kingston 143510ceb8
Merge pull request #3311 from Budibase/block-search-improvements
Improve block searching
2021-11-10 12:08:10 +00:00
Andrew Kingston dd28adbf68 Update block search so that string fields do a 'starts with' search rather than an exact match 2021-11-10 11:48:02 +00:00
Andrew Kingston b0e0b61527 Add comment to client rows API 2021-11-09 15:48:04 +00:00
Andrew Kingston 7aa337f7d2 Disable links when in builder preview 2021-11-09 15:24:13 +00:00
mike12345567 2155e5f5eb Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-09 11:20:17 +00:00
Andrew Kingston d0755ce8ac
Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
mike12345567 15907280b2 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
Andrew Kingston de9c038150 Fix card list block empty state and update size 2021-11-08 16:40:45 +00:00
Andrew Kingston 3e5980082f Fix card button text potentially showing as undefined 2021-11-08 14:51:13 +00:00
Andrew Kingston aa56d6fd63 Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Andrew Kingston 2f949bad85 Lint 2021-11-05 12:43:26 +00:00
Andrew Kingston f8f906b9de Add ability to link rows in tables, and link rows in the table with search block 2021-11-05 12:38:33 +00:00
Martin McKeaveney 37ddd416c0 tidy up 2021-11-04 17:28:07 +01:00
Martin McKeaveney a48f8434eb fix safari 2021-11-04 17:24:56 +01:00
Andrew Kingston 9d473e9a34 Lint 2021-11-04 11:31:43 +00:00
Andrew Kingston dc9b1a2a8c Add button to table with search block and support defining multiple settings sections in component manifest entries 2021-11-04 11:30:43 +00:00
Andrew Kingston 3acc937ddc Fix picker width in table with search block and enable autosizing of other search components 2021-11-03 15:53:45 +00:00
Andrew Kingston c5433e6ef8 Add support for tables updating server-side sorting 2021-11-03 15:26:15 +00:00
Andrew Kingston 7ec5c2b1f2 Allow table with search block to render correct components for all relevant field types 2021-11-03 11:58:06 +00:00
Andrew Kingston 73d5d1289b Standardise fetching schema from client apps to fix issues with determing schema for certain data sources 2021-11-03 11:57:47 +00:00
Andrew Kingston 212e62b62e Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston ee7ab70f4d Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston 4cbe82c1db Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston 7bd46a6ecb Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston 808d2d0f73 Add generic block structure with support for writing blocks like normal svelte components rather than a JSON builder 2021-11-02 08:45:27 +00:00
Andrew Kingston 6ad3df2e7f Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
Andrew Kingston f682e7e4ac Add in-preview editing for all field labels 2021-10-28 16:31:22 +01:00
Andrew Kingston 90403948dd Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston 232957f610 Add in-preview editing of buttons and add settings bar for buttons 2021-10-28 15:29:48 +01:00
Andrew Kingston d3839f2f91 Focus contenteditable node when starting editing a component in the preview 2021-10-28 13:28:43 +01:00
Andrew Kingston 9bf5d50d4f Add in-preview editing of link text and improve placeholder usage when combined with in-preview editing 2021-10-28 13:20:04 +01:00
Andrew Kingston 1333844a2c Move keyboard handling into client library so that component deletion via keyboard can reference client app state 2021-10-28 13:00:55 +01:00
Andrew Kingston 7c16a1423b Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
Andrew Kingston 6b69ce4eb9 Use explicity onDestroy calls rather than an onMount return value to ensure callbacks are actually executed to fix data provider cleanup issues 2021-10-27 14:24:36 +01:00
Andrew Kingston 5d5a35fd32 Don't invalidate users table due to autocolumn fields in schema when hot reloading data in the client library 2021-10-27 08:37:51 +01:00
Andrew Kingston 870219722a Invalidate related tables automatically via client library and fix issue with data source invalidation from modals 2021-10-26 19:12:55 +01:00
Andrew Kingston 8cf672252a Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Andrew Kingston f85b9ed52d
Merge pull request #3083 from Budibase/fix/date-sorting
Fix date format of dates created with Flatpickr (the date picker in apps)
2021-10-20 13:20:26 +01:00
Andrew Kingston bf74a750f2 Give flatpickr its own root component in client apps to avoid it hijacking key events on the whole page 2021-10-19 15:11:14 +01:00
Andrew Kingston f5f2611a3e Remove date parsing from client date picker as it has moved to the core date picker 2021-10-18 17:12:02 +01:00
Rory Powell 63aaad4812 Merge branch 'develop' into options-text-columns 2021-10-18 11:25:35 +01:00
Rory Powell 88cdc7c1bd Allow options picker to be used on text columns 2021-10-14 16:36:45 +01:00
Andrew Kingston 96a723d838 Fix issue with button roundness when using other sizes than medium 2021-10-14 10:43:17 +01:00
Martin McKeaveney 43d3c2af4d adding made in budibase tag 2021-10-07 20:57:50 +01:00
Andrew Kingston 67543ef9be Fix drag and drop indicator positioning when not using desktop preview 2021-10-06 13:59:25 +01:00
Andrew Kingston 2a736c16d7 Fix padding being added to empty layouts in mobile view 2021-10-06 13:33:37 +01:00
Martin McKeaveney 7a7fd6c02f fixing import 2021-09-30 16:52:21 +01:00
Martin McKeaveney 665a9620a4 lint 2021-09-30 16:39:10 +01:00
Martin McKeaveney a251c8bfd0 merge with develop 2021-09-30 16:05:06 +01:00
Martin McKeaveney b8fef9965d end user ping for client apps 2021-09-30 15:03:57 +01:00
Martin McKeaveney 2f491f3b6f
Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Andrew Kingston 5c6c21aeef Move all lucene logic into central builder helpers file 2021-09-27 12:59:49 +01:00
Andrew Kingston 78e4f00e11 Add button action for manually refreshing a data provider 2021-09-23 19:34:01 +01:00
Andrew Kingston c89e198bf8 Simplify some DND style rules 2021-09-21 08:47:43 +01:00
Andrew Kingston ee2e2799d9 Enable left/right side targetting for DND 2021-09-21 08:36:02 +01:00
Andrew Kingston 7663bdb534 Revert preservation of base component styles by styleable helper to fix stale styles being applied after removal 2021-09-20 16:47:53 +01:00
Andrew Kingston 18506f1235 Reduce DND snap to edge threshold to prevent unwanted target spamming on the edges of the parent component 2021-09-20 16:11:42 +01:00
Andrew Kingston cae514ca06 Simplify client app component re-render keying 2021-09-20 15:41:20 +01:00
Andrew Kingston 392a1f05ee Refactor DND labels to before and after rather then above and below 2021-09-20 15:35:27 +01:00
Andrew Kingston 9634b021a5 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston 8defbd1ed2 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +01:00
Andrew Kingston f65b374622 Remove preview specific data tags from components when running real apps 2021-09-20 12:16:23 +01:00
Andrew Kingston 0aedd8d802 Fix spectrum button not being able to be dragged 2021-09-20 12:14:40 +01:00
Andrew Kingston 03be8ee153 Prevent DND targetting either above or below the screen/layout, and fix bug determinging whether a drop target is valid 2021-09-20 09:12:35 +01:00
Andrew Kingston c2aeefae7b Only allow dropping inside empty components that accept children to massively reduce the amount of unwanted drop targets due to parent container components 2021-09-20 08:26:44 +01:00
Andrew Kingston 2c7e93423e Fix a few possible crashes by dragging in certain ways, and display on screen when an invalid drop target is hovered over 2021-09-20 08:06:01 +01:00
Andrew Kingston 8460744e68 Apply grab cursor when hovering over a draggable component 2021-09-17 14:30:54 +01:00
Andrew Kingston a6186dbd39 Refactor to use generic flag for dragging and hide settings bar when dragging 2021-09-17 14:17:50 +01:00
Andrew Kingston 53053c0ea2 Ensure hover indicator is correctly hidden when using DND and improve DND labels 2021-09-16 16:02:45 +01:00
Andrew Kingston 52c4beda8f Ensure transitions work properly when showing and hiding DND candidate positions 2021-09-16 15:49:58 +01:00
Andrew Kingston 2fc9672bfa Add labels to DND to describe where the component will be dropped 2021-09-16 15:08:42 +01:00
Andrew Kingston a05dc7e295 Add above/below dnd and support for dropping above/below components which also allow dropping inside 2021-09-16 14:28:44 +01:00
Andrew Kingston ebf783caee Fix progress circle never animating because of wrong default prop 2021-09-16 14:11:05 +01:00
Andrew Kingston b0f6bd9e76 Prevent dragging the screen or layout components, and prevent dragging any layout components when previewing a screen 2021-09-16 07:52:49 +01:00
Andrew Kingston 4be4dd014d Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston 67b12b61bd
Merge pull request #2597 from Budibase/fix-left-nav
Small fixes for navigation bar
2021-09-13 15:04:47 +01:00
Andrew Kingston 5f48f99194
Merge pull request #2584 from Budibase/horizontal-bar-chart
Add horizontal bar chart setting
2021-09-13 11:41:26 +01:00
Andrew Kingston 36fa21f472 Fix 1px offset with left nav bar 2021-09-10 16:36:59 +01:00
Andrew Kingston 6831bbb5d7 Fix custom theme integration with date time field 2021-09-10 16:36:43 +01:00
Andrew Kingston 13bfc0212b Fix left navigation in layouts when on a tablet sized resolution 2021-09-10 15:13:48 +01:00
Andrew Kingston 2f367ed95c Update validation so that 'minimum' and 'minimum length' contraints both accept null values 2021-09-10 14:30:10 +01:00
Andrew Kingston ad3cb0a2c4 Add horizontal bar chart setting 2021-09-09 19:28:37 +01:00
Andrew Kingston 11e728a373 Rename client app wrapper divs for clarity 2021-09-08 10:28:19 +01:00
Andrew Kingston 3be5e15f82 Use correct component to determine device size 2021-09-08 10:22:48 +01:00
Andrew Kingston 079634851b Fix issue with endless scrolling when previewing a mobile device 2021-09-08 10:22:34 +01:00
Andrew Kingston 914548de0c Revert preview border to 1px and fix exact size of preview on different devices 2021-09-08 09:51:08 +01:00
Andrew Kingston 35abb39b24 Add support for correct mobile and tablet previews 2021-09-08 09:40:25 +01:00
Andrew Kingston 802cdc48c8 Update position of indicators in preview to clip better 2021-09-08 09:40:02 +01:00
Andrew Kingston ca9df2764d Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-06 17:29:51 +01:00
Andrew Kingston 44dd731be8 Add button to reset theme to default and fix determination of theme 2021-09-06 16:51:40 +01:00
Andrew Kingston b11deece29 Fix button theming and add nav text theming 2021-09-06 16:23:12 +01:00
Andrew Kingston 5568ab084b Add custom theme options for button roundedness and header color 2021-09-03 15:28:35 +01:00
mike12345567 42fb0584a2 Fixing an issue where many rows were handled from different tables in client. 2021-09-03 15:04:34 +01:00
mike12345567 2dd1e7f45e Fixing an issue that occurs when the table name and the primary display column are the same name. 2021-09-03 14:49:56 +01:00
Andrew Kingston 4781af1042 Ensure defaults are set for custom theming and fix a few inconsistencies 2021-09-03 14:43:21 +01:00
Andrew Kingston de9dce77f4 Add custom theming to icons 2021-09-03 11:53:25 +01:00
Andrew Kingston 7ee7feca16 Add custom theming for primary color and primary hover color to form components 2021-09-03 11:50:09 +01:00
Andrew Kingston dbbcf4052e Hide state action in old apps and add working basic implementation of theming 2021-09-02 11:38:41 +01:00
Andrew Kingston 3ab95c2004 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-01 16:10:36 +01:00
Andrew Kingston 9e5805f092 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston 23a6267f6a Add ability to persist state values in local storage 2021-08-26 17:52:04 +01:00
Andrew Kingston a7be624d64 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston 8cdda6d208
Merge pull request #2441 from Budibase/multistep-forms
Multi-step forms
2021-08-25 12:40:44 +01:00
Andrew Kingston 1b91db2ece Prevent opening a screen modal if already inside a screen modal 2021-08-24 15:56:23 +01:00
Andrew Kingston 6be1e0c828 Fix issue with memoizing onclick handlers nested inside conditional UI conditions 2021-08-23 16:39:09 +01:00
Andrew Kingston 8c114fae34 Show component hidden by conditional UI if they would otherwise hide the selected component 2021-08-23 14:01:57 +01:00
Andrew Kingston 7f07390277 Add single button action for changing form step 2021-08-20 09:54:54 +01:00
Andrew Kingston 10066bf3e0 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston a895771179 Fix bug determining whether an app is inside the preview or not 2021-08-19 16:06:33 +01:00
Andrew Kingston 643952e119 Fix crash when evaluating builder preview specific code in prod apps 2021-08-19 16:04:15 +01:00
Andrew Kingston a5778f9dbc Ensure that the correct form step is always visible in builder preview 2021-08-19 14:53:13 +01:00
Andrew Kingston 3fa5b3b571 Update validate form action to be able to only validate the current form step 2021-08-19 12:52:50 +01:00
Andrew Kingston 9e24a76810 Ensure client preview indicator doesn't crash when encountering incorrect node types 2021-08-19 12:52:13 +01:00
Andrew Kingston 01b28f358a Add button actions for navigating form steps 2021-08-18 15:21:18 +01:00
Andrew Kingston c44d0a684b Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston 2e778a1111 Tidy up device bindings provider 2021-08-13 11:34:11 +01:00
Andrew Kingston f4d965347d Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
mike12345567 42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
Martin McKeaveney d9ad54d939 merge with master 2021-08-04 13:20:11 +01:00
Andrew Kingston e865a5d363
Merge pull request #2233 from Budibase/peek-screen
Open screen in modal
2021-08-04 12:08:49 +01:00
Michael Drury 655bfe1a0c
Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Michael Drury 1beca4ee96
Merge pull request #2076 from Budibase/feature/multi-tenants
Multi-tenancy/organisations
2021-08-04 10:01:22 +01:00
Andrew Kingston 933b5d41f8 Lint 2021-08-03 12:52:01 +01:00
Andrew Kingston 74b323faa3 Fix going full-screen when opening an external link in a modal 2021-08-03 12:22:06 +01:00
Andrew Kingston f095be6aac Darken modal underlay and add actions above screen modal to allow entering full screen or closing 2021-08-03 12:02:20 +01:00
Andrew Kingston 062d7e4450 Rename visual actions from 'peek' to just 'open' screen in modal 2021-08-02 15:50:59 +01:00
Andrew Kingston 473ccd27fa Add action to close peek modal and proxy notifications from the iframe 2021-08-02 15:12:38 +01:00
Andrew Kingston c7566a7b90 Revert to a cleaner modal with no title or buttons for screen peeking 2021-07-30 18:16:37 +01:00
Andrew Kingston 86e4f05670 Make full screen button quiet in peek modals 2021-07-30 14:13:43 +01:00
Andrew Kingston 7fef963067 Add initial work on peeking screens, only show one notification at a time, use spectrum notifications 2021-07-30 14:01:01 +01:00
Andrew Kingston 177834ea8a Add back in client app border only when inside builder preview 2021-07-30 10:06:16 +01:00
Martin McKeaveney f1fcbc22c6 merge with master 2021-07-29 10:06:33 +01:00
Martin McKeaveney 3736049f27 remove border around app 2021-07-28 22:50:27 +01:00
Martin McKeaveney 9540cb1048
Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +01:00
mike12345567 e2e796cd9d Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Maurits Lourens d485e95e7b fix lint issues 2021-07-26 15:22:14 +02:00
Maurits Lourens aea2de9058 Merge branch 'develop' into clear_form_action
# Conflicts:
#	packages/client/src/utils/buttonActions.js
2021-07-26 15:13:10 +02:00
Andrew Kingston caccba8fd8 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston bbcc350b14 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-26 13:04:08 +01:00
Maurits Lourens 35d5a2d082 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston 41953e049d Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Andrew Kingston de9f60c986 Redirect to login screen on client logout to prevent viewing public pages if they exist 2021-07-25 13:47:28 +01:00
Andrew Kingston 59bfba4331 Fix error with refreshing app package so that page reload on logout can be prevented 2021-07-25 13:43:07 +01:00
Andrew Kingston 7107b6aff3 Reload location on client logout for full reset, avoiding error when public pages exist 2021-07-25 13:29:27 +01:00
Michael Drury a824746df9 Linting. 2021-07-25 12:09:50 +01:00
Michael Drury 48f797185c Adding back logout functionality. 2021-07-25 12:07:25 +01:00
Andrew Kingston fdb11e102f
Merge pull request #2065 from Budibase/fix/save-row-action
Use tableId parameter when saving rows from button action
2021-07-24 12:13:09 +01:00
mike12345567 36e1ddf423 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 3e8d7a8ae2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
Andrew Kingston 143135151a Send api version as header with every request from client library 2021-07-23 15:56:18 +01:00
Andrew Kingston 4fd293063e Enrich button actions nested inside conditions 2021-07-23 15:44:16 +01:00
Andrew Kingston 24f6adbcca Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston c67e47d7ab Use tableId parameter when saving rows from button action 2021-07-22 16:50:35 +01:00
mike12345567 190798d4ee Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
Andrew Kingston e721d4e01d Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston 70d29c32f8 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 19f2a2067e Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston 1ef2820b5d Expose the screens and layouts from the screen store in the client library 2021-07-07 11:28:53 +01:00
Andrew Kingston b6c6dba721 Don't attempt to enrich a user object whenever the role is PUBLIC to avoid 403s 2021-07-07 11:28:35 +01:00
Andrew Kingston 8c39c4792d Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 0381204855 Don't reload client app on 403, just show an error instead 2021-07-06 18:37:06 +01:00
Andrew Kingston a84d1d2ec8 Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston 4c9279bd91 Update colors of selection and hover indicators in client apps 2021-07-05 09:37:06 +01:00
Andrew Kingston 07ed0b1217 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 09:03:24 +01:00
Andrew Kingston 9c954609fd Add border style as an explicit option to prevent issues with dynamically adding it via the styleable helper 2021-07-01 00:40:16 +01:00
Andrew Kingston a36ddac591 Update colours of selection indicators 2021-06-30 21:23:55 +01:00
Andrew Kingston 602255c1fc Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston e0e6ef29a2 Add custom scrollbars to client apps 2021-06-30 19:57:31 +01:00
Andrew Kingston d7ea2fddea Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 3a615306a6 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Andrew Kingston b4a8a9c160 Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Andrew Kingston 9a6a0fded7 Use the real current user even inside builder preview 2021-06-29 17:41:02 +01:00
Andrew Kingston d28c48ccad Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston f467f9809c Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston ed2ff97df1 Add ability for buttons to link to external URLs 2021-06-25 16:07:25 +01:00
Andrew Kingston 171b4c9f9f Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
Andrew Kingston aecebc96a7 Be more explicit about hiding overflow at the top levels of an app 2021-06-24 12:14:19 +01:00
Andrew Kingston af2097e3eb Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
Andrew Kingston 14fa37deac Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
Andrew Kingston d0ba754a02 Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
mike12345567 7c38150fbb Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 21a2632da7 Adding a page reload when 403 occurs, if token has expired this will return to login page. 2021-06-22 12:39:52 +01:00
mike12345567 0248098964 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 3d89604680 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston b7991ea894 Use action name as confirmation modal title 2021-06-21 10:46:55 +01:00
Andrew Kingston 4352611fc7 Fix typo 2021-06-21 10:11:18 +01:00
Andrew Kingston 312674bfa7 Add support for confirmable action handling by client library 2021-06-21 09:56:46 +01:00
Andrew Kingston 9f8eeb7c99 Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston cb425e349c Adjuts top position of settings bar when no room 2021-06-17 16:23:17 +01:00
Andrew Kingston 42316d51cd Key client layout component to ensure fully remounting when swapping layouts in the builder preview 2021-06-17 13:20:29 +01:00
mike12345567 113486ef48 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
mike12345567 11c52f26ad Formatting. 2021-06-14 19:07:13 +01:00
mike12345567 564cdd8102 Some of the functionality required for external SQL rows API. 2021-06-14 19:05:39 +01:00
Andrew Kingston d522483f54 Move scrolling to layout level and provide opinionated defaults 2021-06-14 18:24:02 +01:00
mike12345567 bf47a66442 Fixing internal delete. 2021-06-14 13:52:06 +01:00
Andrew Kingston 440e80e890 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston 3b4fbc2ed8 Move HoverIndicator mouseleave handler to body element for better detection rates 2021-06-11 13:17:38 +01:00
Andrew Kingston 7d87befe13 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston 72dfa1ba1b Add manifest option to prevent showing component empty states 2021-06-11 08:49:06 +01:00
Andrew Kingston 634dc38768 Improve component empty states and fix selection indicator lockup bug. Fix data provider not exporting loaded context 2021-06-11 08:45:58 +01:00
Andrew Kingston 3b085d9ac3 Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston 2bb4576eb6 Refactor client component structure, fix select bar z index, add titles to container bar settings 2021-06-10 18:42:41 +01:00
Andrew Kingston bfc5e03861 Use IntersectionObservers to determine visibility of selected and hovered components 2021-06-10 15:13:51 +01:00
Andrew Kingston e35854fae1 Fix indicator border radius style when flipped 2021-06-10 09:20:17 +01:00
Andrew Kingston 686205ec4b Hugely improve performance of selection and highlight indicators in builder preview 2021-06-10 09:05:08 +01:00
Andrew Kingston 49dd84a2bd Merge branch 'master' of github.com:Budibase/budibase into interactive-layouts 2021-06-09 15:10:11 +01:00
Andrew Kingston 76b79d33ef Improve client app overflow and selection indicators 2021-06-08 15:16:37 +01:00
Andrew Kingston ba1908f7f9 Render builder preview selection indicators via top level component instead of via styleable healper. Add indiciator on hover and add name to indicator 2021-06-08 14:19:03 +01:00
Martin McKeaveney 536c2c317c fixing attachments for public apps 2021-06-08 12:50:58 +01:00
Andrew Kingston a88eeb7de3 Make settings bar spectrum compatible 2021-06-08 08:14:50 +01:00
Andrew Kingston 41f87f0354 Move settings bar into client library and allow configuration from manifest.json 2021-06-08 08:00:54 +01:00
Andrew Kingston 05a32bc009 Add client SDK function to get a component action and clean up date range picker 2021-06-03 10:10:25 +01:00
Andrew Kingston c6827e8a75 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00
Andrew Kingston 30c7c5148d Fix formula fields causing handlebars enrichment of client component settings to fail 2021-05-26 17:38:49 +01:00
Andrew Kingston f00ebcf7d6 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Andrew Kingston d0fc934ff7 Redirect to login from client apps when required 2021-05-20 14:47:17 +01:00
Andrew Kingston d8bbb5e06d Simplify loading logic to prevent empty state flashing when loading data in data providers 2021-05-13 16:33:19 +01:00
Andrew Kingston a551f3c8ae Wrap whole client app in spectrum classes to reduce dependency on spectrum wrapper around any spectrum components in client app 2021-05-13 16:32:52 +01:00
Andrew Kingston d9923e1e98 Clean up data source context and remove explicit button actions for pagination 2021-05-13 12:30:45 +01:00
Andrew Kingston da40086c0b Allow multipage searches and implement optional pagination to data providers 2021-05-13 12:26:18 +01:00
Andrew Kingston 78ae68981e Add support for numerical sorting 2021-05-11 11:24:16 +01:00
Andrew Kingston 3eabaea42f Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston 1c3d477523 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 5aee405245 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
Andrew Kingston 2d62c6a413 Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Martin McKeaveney 06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Andrew Kingston 9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
mike12345567 a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
Andrew Kingston 9fddf13be5 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston a51f5c73c4 Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Maurits Lourens 8296eccd68 1240 - restore notification blocknotifications method, since it was called in the datasource 2021-03-15 09:00:05 +01:00
mike12345567 3947044014 Formatting. 2021-03-10 17:56:16 +00:00
Kevin Åberg Kultalahti 13787d9d3b
Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Keviin Åberg Kultalahti d99ff6653d lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti aeed22b711 fix notification store timers 2021-03-02 14:19:44 +01:00