1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00
Commit graph

398 commits

Author SHA1 Message Date
mike12345567
aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 2022-01-14 17:42:14 +00:00
Andrew Kingston
283c4a5d9f Remove log 2022-01-14 16:47:50 +00:00
Andrew Kingston
4dfb74f512 Add public URL of uploaded file to button action outputs when uploading files to S3 2022-01-14 10:40:38 +00:00
Andrew Kingston
5b40ef2422 Fix issue where error was always reset when a component was re-registered 2022-01-14 09:58:23 +00:00
Andrew Kingston
0b0618aa84 Lint and fix size of S3 upload component overlay 2022-01-14 09:20:20 +00:00
Andrew Kingston
73f2c9bd35 Improve error handling when uploading files to S3 2022-01-14 08:39:24 +00:00
Andrew Kingston
b3dba52d62 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Andrew Kingston
3f2b6db2b2 Merge branch 'develop' of github.com:Budibase/budibase into s3-upload 2022-01-13 17:17:30 +00:00
Rory Powell
f055d392b5 Merge branch 'develop' into fix/return-url 2022-01-13 14:11:20 +00:00
Rory Powell
b5250ac244 Fix return url using cookies 2022-01-13 14:07:49 +00:00
Andrew Kingston
159c951262 Add S3 presigned request generation and file upload capabilities 2022-01-12 14:59:33 +00:00
Andrew Kingston
dfd95f9b83 Add initial work on new S3 upload component and button action 2022-01-11 14:01:21 +00:00
Andrew Kingston
e2478e478e Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
mike12345567
e32869b100 Fixing issue discovered by cypress test case and updating dynamic variable view to hide table when there are none. 2022-01-04 14:41:11 +00:00
Andrew Kingston
db55074b0a Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-04 14:34:09 +00:00
mike12345567
18ff7a9cfb Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
Andrew Kingston
4cd8886e1a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2022-01-04 09:48:44 +00:00
Andrew Kingston
af00ed88ae Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +00:00
Andrew Kingston
78a3f807a3 Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston
f90c6ec44d Remove old reference implementation of data provider component 2021-12-17 10:37:26 +00:00
Andrew Kingston
5c26f07d26 Add back in query extension capability to new data provider 2021-12-17 10:37:06 +00:00
Andrew Kingston
66d9dc9b1e Add client-side searching, sorting and limiting for incompatible datasources to new DataFetch model 2021-12-17 09:52:12 +00:00
Andrew Kingston
3a8e217bb7 Delay rendering blocks until the schema has been attempted to be loaded 2021-12-17 09:18:43 +00:00
Andrew Kingston
58e0daeb8c Remove initial render of components with undefined props by passing in initial props without triggering svelte invalidation 2021-12-17 09:18:07 +00:00
Andrew Kingston
86065084c1 Update core component handling to use svelte function to manually control props in order to avoid triggering additional reactive statements and improve performance 2021-12-17 08:22:40 +00:00
Andrew Kingston
63ec10d73f Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
mike12345567
858ef084ad Finishing up front-end, getting variable creation and management up and working from within the query schema/header menus. 2021-12-15 19:20:19 +00:00
Andrew Kingston
26d89f75d5 Pass current state to peek modals when opening them via query param 2021-12-15 08:55:22 +00:00
Andrew Kingston
98cd12db5f Proxy state updates back from peek modals 2021-12-14 14:04:10 +00:00
Andrew Kingston
d7720e2643 Expose whole form value as a data binding 2021-12-13 09:34:27 +00:00
Andrew Kingston
dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston
9708539631 Fix blocks not filtering properly on number fields 2021-12-09 19:36:53 +00:00
Andrew Kingston
c97852d0ff Fix border radius rounding on hover and selection indicators in builder preview 2021-12-09 17:22:46 +00:00
Andrew Kingston
707ed7419d Reset field value to default value if default value changes 2021-12-09 14:51:19 +00:00
Andrew Kingston
7beaa80759 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-08 13:08:28 +00:00
Andrew Kingston
46cf642abd Add new tag component to client apps 2021-12-08 13:06:15 +00:00
Andrew Kingston
6b20d5cf46 Allow internal links to be opened in a new tab 2021-12-08 09:03:56 +00:00
Andrew Kingston
cb1f870831 Key links by URL as the svelte-spa-router link svelte action does not update correctly 2021-12-08 08:35:19 +00:00
Andrew Kingston
a5b4087f64 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
Andrew Kingston
d10d332b9f Update client side lucene searching to work with nested JSON fields and fix bug with flattening nested JSON schema 2021-12-06 12:04:22 +00:00
Andrew Kingston
cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Andrew Kingston
1e38628a4b Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Andrew Kingston
ba9d06df34 Merge branch 'feature/json-backend' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 13:41:58 +00:00
Andrew Kingston
eca8423c6b Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 08:48:40 +00:00
Andrew Kingston
d2ce037297 Expose static repeater context for row index 2021-11-30 08:47:21 +00:00
Andrew Kingston
c81ca0502a Fix layout navigation not scrolling when required 2021-11-29 09:05:46 +00:00
Andrew Kingston
63fac77ad1 Ensure horizontal cards in the card block don't exceed the width of the screen 2021-11-25 11:35:19 +00:00
Andrew Kingston
fa9fc496f6 Remove text setting from dynamic filter component 2021-11-24 08:20:23 +00:00
Andrew Kingston
8d44e9aa20 Update dynamic filter component styles and remove lots of settings 2021-11-23 17:40:49 +00:00
Andrew Kingston
4ef99cd603 Add button variant, size and quiet settings to dynamic filter. Allow dyanmic filter button text to be edited inline 2021-11-22 14:48:34 +00:00
Andrew Kingston
f12ab5aebd Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston
ab7959a32c Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston
9057b8e521 Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston
bfe562c9ea Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston
a9a50545c9 Be more explicit about the boolean nature of component settings in the manifest and add back in a render key to fix toggling contenteditable attribute on dom elements 2021-11-18 20:32:42 +00:00
Andrew Kingston
a1b2f9d57d Enable dynamic filter component to update data provider queries 2021-11-18 20:32:00 +00:00
Andrew Kingston
b7b424b7f8 Add modal container to top level of client apps 2021-11-18 20:31:00 +00:00
Andrew Kingston
33e5e198b7 Refactor how extending data provider queries works to support multiple extensions per key 2021-11-18 18:41:37 +00:00
Andrew Kingston
8f981704d6 Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston
e35fe3685f Fix default form step context not being a svelte store 2021-11-18 15:57:29 +00:00
Andrew Kingston
34a00df86b Add settings to dynamic filter to control button text and allowed filter fields 2021-11-18 15:43:51 +00:00
Andrew Kingston
f77f7c1e5f Add dynamic filter component 2021-11-18 15:36:16 +00:00
Andrew Kingston
cd5aaf69cb Remove log statement 2021-11-18 14:47:59 +00:00
Andrew Kingston
8e58cde6ec Fix bug with duplication of fields when re-registering existing fields 2021-11-18 14:43:02 +00:00
Andrew Kingston
9f30599ec1 Make form step number dynamic 2021-11-18 14:42:49 +00:00
Andrew Kingston
347a0d1d0f Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston
5f5ca5fdf7 Allow dynamic re-registration of form field components 2021-11-18 14:18:06 +00:00
Andrew Kingston
9bd01987af Fix issue with data provider query not updating 2021-11-16 17:55:24 +00:00
Andrew Kingston
9420ee2b5e Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston
76579e5968 Refactor some app components to remove dependency on static props 2021-11-16 17:52:00 +00:00
Andrew Kingston
427bb01e51 Update table to handle dynamic data provider prop 2021-11-16 17:51:05 +00:00
Andrew Kingston
a2b9fb3434 Update forms to handle a dynamic schema prop 2021-11-16 17:42:27 +00:00
Andrew Kingston
f61d89436b Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston
6ca6eb0d4b 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
5021f3df47 Ensure button is focused when starting to edit text 2021-11-16 13:22:31 +00:00
Andrew Kingston
ce75b8c9a7 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
96fdcb6d93 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston
07e455257c Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston
2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston
7a1b22ef5f Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston
f47112e7de Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00
Andrew Kingston
c922f4a7b9 Replace manual usage of square brackets with string-templates makePropSafe util 2021-11-12 15:28:08 +00:00
Andrew Kingston
df455c2719 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston
c4bbaa6617 Allow blocks which take children to work with DND 2021-11-12 15:18:55 +00:00
Andrew Kingston
aaa448cca8 Update settings bar to account for new block settings structure 2021-11-12 14:48:53 +00:00
Andrew Kingston
3db35d3af9 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
Andrew Kingston
862bf14268 Rename blocks to be shorter 2021-11-10 15:56:51 +00:00
Andrew Kingston
5302c85f49 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
b72270c401 Merge pull request #3311 from Budibase/block-search-improvements
Improve block searching
2021-11-10 12:08:10 +00:00
Andrew Kingston
1ea8563046 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
mike12345567
f8e790bd2f Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-09 11:20:17 +00:00
Andrew Kingston
8e0b265815 Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
mike12345567
b310918ec4 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
9883fdb623 Fix card list block empty state and update size 2021-11-08 16:40:45 +00:00
Andrew Kingston
37c2690a31 Fix card button text potentially showing as undefined 2021-11-08 14:51:13 +00:00
Andrew Kingston
a7849eac7d 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
d5002d3dda 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
193d40bbf3 refactor switch into a key value handler object
tidy up - remove logs and comments

update windowed modals to use postMessage
2021-11-04 17:21:17 +01:00
Andrew Kingston
adda702588 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
4019eeaa26 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
512ed5aa2a Add support for tables updating server-side sorting 2021-11-03 15:26:15 +00:00
Andrew Kingston
d054d496be Allow table with search block to render correct components for all relevant field types 2021-11-03 11:58:06 +00:00
Andrew Kingston
fcf87956de 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
76c0f24977 Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston
e43aba075e Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston
0f1d9c4de3 Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston
38eacb5a10 Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston
e6ffccaff7 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
e9dd47b562 Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
Andrew Kingston
04bbbd7873 Add in-preview editing for all field labels 2021-10-28 16:31:22 +01:00
Andrew Kingston
c48a56b997 Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston
387831b799 Add in-preview editing of buttons and add settings bar for buttons 2021-10-28 15:29:48 +01:00
Andrew Kingston
234f53d37a Focus contenteditable node when starting editing a component in the preview 2021-10-28 13:28:43 +01:00
Andrew Kingston
7910b6a40f 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
de163567f5 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
b522726afc Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
Andrew Kingston
25bafc15d2 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
54aad2ff1e Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Andrew Kingston
555742ead1 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
950e056e1c 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
9deb9be1cd 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
956a826b8c Merge branch 'develop' into options-text-columns 2021-10-18 11:25:35 +01:00
Rory Powell
346f1d652b Allow options picker to be used on text columns 2021-10-14 16:36:45 +01:00
Andrew Kingston
06c46dd3a7 Fix issue with button roundness when using other sizes than medium 2021-10-14 10:43:17 +01:00
Martin McKeaveney
1d55b5ece2 adding made in budibase tag 2021-10-07 20:57:50 +01:00
Andrew Kingston
fe35d08422 Fix drag and drop indicator positioning when not using desktop preview 2021-10-06 13:59:25 +01:00
Andrew Kingston
f6a18ca550 Fix padding being added to empty layouts in mobile view 2021-10-06 13:33:37 +01:00
Martin McKeaveney
6f5567b4b6 merge with develop 2021-09-30 16:05:06 +01:00
Martin McKeaveney
13a07a5e51 end user ping for client apps 2021-09-30 15:03:57 +01:00
Martin McKeaveney
8c65d45c23 Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Andrew Kingston
ec7cf96fd9 Move all lucene logic into central builder helpers file 2021-09-27 12:59:49 +01:00
Andrew Kingston
0297b3de3f Simplify some DND style rules 2021-09-21 08:47:43 +01:00
Andrew Kingston
eeb0617d2b Enable left/right side targetting for DND 2021-09-21 08:36:02 +01:00
Andrew Kingston
dc3df10c58 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
495c20f851 Simplify client app component re-render keying 2021-09-20 15:41:20 +01:00
Andrew Kingston
9febe391bb Refactor DND labels to before and after rather then above and below 2021-09-20 15:35:27 +01:00
Andrew Kingston
488ec4d988 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston
10f754a9ad Remove preview specific data tags from components when running real apps 2021-09-20 12:16:23 +01:00
Andrew Kingston
9ca0aeae8e Fix spectrum button not being able to be dragged 2021-09-20 12:14:40 +01:00
Andrew Kingston
e19d17c4f5 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
8cf3971b47 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
f0dde4a4a4 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
54bf420ef8 Apply grab cursor when hovering over a draggable component 2021-09-17 14:30:54 +01:00
Andrew Kingston
7eeb215e51 Refactor to use generic flag for dragging and hide settings bar when dragging 2021-09-17 14:17:50 +01:00
Andrew Kingston
cb04b3fa7d Ensure hover indicator is correctly hidden when using DND and improve DND labels 2021-09-16 16:02:45 +01:00
Andrew Kingston
601a4935a9 Ensure transitions work properly when showing and hiding DND candidate positions 2021-09-16 15:49:58 +01:00
Andrew Kingston
46867b8a19 Add labels to DND to describe where the component will be dropped 2021-09-16 15:08:42 +01:00
Andrew Kingston
bdc86e4c22 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
5c37238c8a Fix progress circle never animating because of wrong default prop 2021-09-16 14:11:05 +01:00
Andrew Kingston
97800563c4 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