1
0
Fork 0
mirror of synced 2024-08-19 12:01:20 +12:00
Commit graph

230 commits

Author SHA1 Message Date
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
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
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
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
90403948dd Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston
7c16a1423b Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +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
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
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
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
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
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
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
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
01b28f358a Add button actions for navigating form steps 2021-08-18 15:21:18 +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
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
Martin McKeaveney
9540cb1048
Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +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
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
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
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
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
a84d1d2ec8 Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +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
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
af2097e3eb Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +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
440e80e890 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston
7d87befe13 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +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
686205ec4b Hugely improve performance of selection and highlight indicators in builder preview 2021-06-10 09:05:08 +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
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
556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti
4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston
2d62c6a413 Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Andrew Kingston
9fddf13be5 Add onclick handler to icons 2021-03-25 16:18:19 +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
c6292c070c fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
Keviin Åberg Kultalahti
43e37e2ed6 lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti
58f0c45085 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti
b36d4c8a76 fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti
d386de0282 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Keviin Åberg Kultalahti
e4a2904735 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti
856e80fce2 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Andrew Kingston
c70201553e Add log out button action 2021-02-26 14:04:12 +00:00
Andrew Kingston
61056fc2f0 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston
5c2aa7d603 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Andrew Kingston
37b9ba4f6a Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
Andrew Kingston
98f13321d4 Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Andrew Kingston
06b70706e3 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Andrew Kingston
6eec1632d9 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston
1fb84ceeea Change how client provides the current user so that the whole app is actually wrapped in a provider which provides the current user 2021-02-05 11:44:33 +00:00
Andrew Kingston
580837f949 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston
e3e22da303 Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston
a0f26c9a4f Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston
d921cfedf8 Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
Andrew Kingston
d2c0ba8f74 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
Andrew Kingston
cf43cf765c Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Andrew Kingston
1ae0f41587 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston
b4ccf9c1d2 Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Andrew Kingston
bfebf0226a Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston
a79f731c09 Add common SpectrumField component, add spectrum labels, add form label position customisation 2021-01-27 10:59:05 +00:00
Andrew Kingston
2bc6a70401 Add automatic schema validation to forms and add builder settings for specific field types 2021-01-26 14:40:44 +00:00
Andrew Kingston
8bb8b29b34 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston
b0f5b9b1ce Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
Andrew Kingston
261abd7919 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567
afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston
c9f60cf660 Enrich datasources so that data can be correctly fetched reactively using only the datasource definition 2021-01-21 10:42:14 +00:00
Andrew Kingston
b72e654ff0 Only update components when their props actually change 2021-01-21 10:41:30 +00:00
mike12345567
3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston
a17d1703f7 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567
4c597ed91a Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
Andrew Kingston
7e7219856d Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
Martin McKeaveney
6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Michael Shanks
6c6f93af34
Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Martin McKeaveney
70e4b2514e merge 2021-01-11 20:29:33 +00:00
Michael Shanks
668d192462 Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Martin McKeaveney
d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks
b2daff6285 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney
98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567
d3a4eed88b Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston
5fb6503298 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney
f2abc7d351 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
Andrew Kingston
7abd9b4f4a Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Andrew Kingston
f7496579b7 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston
62fecd3a3c Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Martin McKeaveney
0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston
36ef89827a Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Andrew Kingston
859ae5f8a4 Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston
0a72b0e21b Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Andrew Kingston
ca9a3d2f3e Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston
907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston
920ef90e14 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston
853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston
192959c865 Fix builder preview 2020-11-23 11:29:24 +00:00
Andrew Kingston
32a143cf41 Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Andrew Kingston
c1c7c8ede4 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston
0ff8a9a67b Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston
a18a861177 Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00