1
0
Fork 0
mirror of synced 2024-08-04 12:51:47 +12:00
Commit graph

468 commits

Author SHA1 Message Date
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
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
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
Andrew Kingston
37e72db2a8 Remove lodash and sort dependencies out 2022-01-31 09:32:06 +00:00
Andrew Kingston
e7b02aec04 Add experimental support for caching the creation of HBS template functions 2022-01-29 18:53:21 +00:00
mike12345567
35aef89661 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Martin McKeaveney
203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01: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
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
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
9957acaccb Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +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
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
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
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
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
e0ae492e1d Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +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
7769ba4d6a Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +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
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
ed29ccf7eb Pass current state to peek modals when opening them via query param 2021-12-15 08:55:22 +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
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
ff246de1cb Reset field value to default value if default value changes 2021-12-09 14:51:19 +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
39e1e84512 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +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
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
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