1
0
Fork 0
mirror of synced 2024-09-18 18:28:33 +12:00
Commit graph

254 commits

Author SHA1 Message Date
Andrew Kingston
53b601ec9b Ensure paginate option is respected in DataFetch models 2022-01-07 11:30:47 +00:00
Andrew Kingston
e187e8f2b1 Update client query fetch to better determine whether pagination is supported or not 2022-01-07 11:03:55 +00:00
Andrew Kingston
f5649b48d1 Add support for cursor based pagination in query params 2022-01-05 17:28:57 +00:00
Andrew Kingston
e2478e478e Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
Andrew Kingston
6e3f217fbb Add support for nested provider, field and jsonarray datasource types in new data fetch model 2022-01-04 15:02:43 +00:00
Andrew Kingston
db55074b0a Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-04 14:34:09 +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
6539f90b51 Update query fetch to support new pagination structure 2021-12-17 18:53:57 +00:00
Andrew Kingston
2043fd3402 Fix issue with determining view schema 2021-12-17 18:48:44 +00:00
Andrew Kingston
441cc2fccf Update client lib data fetch models to support generic pagination 2021-12-17 18:39:48 +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
d6120de81b Update data fetch models to use constructor to determine feature flags 2021-12-17 10:49:12 +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
63ec10d73f Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
Andrew Kingston
98cd12db5f Proxy state updates back from peek modals 2021-12-14 14:04:10 +00:00
Andrew Kingston
dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston
eeecc762d2 Add button context to execute query action 2021-12-09 16:48:19 +00:00
Andrew Kingston
dd5d0ffc7b Add output context to duplicate row action 2021-12-09 16:29:22 +00:00
Andrew Kingston
eedd1f0cf6 Fix bug where save duplicate action was mutating the real context 2021-12-09 14:36:57 +00:00
Andrew Kingston
9ad25fcf88 Fix bug where save row action was mutating the real context 2021-12-09 14:36:24 +00:00
Andrew Kingston
d9278dbc24 Dynamically enrich button actions at runtime and provide additional ephemeral button action output context 2021-12-09 11:25:32 +00:00
Andrew Kingston
d36daaf9b9 Add button action for duplicating a row 2021-12-07 13:59:12 +00:00
Andrew Kingston
2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston
831f3b543f Disable links when in builder preview 2021-11-09 15:24:13 +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
Andrew Kingston
e2cbf054ce Lint 2021-11-05 12:43:26 +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
ff9130c49c tidy up 2021-11-04 17:28:07 +01:00
Andrew Kingston
d5983d5603 Lint 2021-11-04 11:31:43 +00: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
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
c48a56b997 Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston
b522726afc Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +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
a30ced6408 Add button action for manually refreshing a data provider 2021-09-23 19:34:01 +01:00
Andrew Kingston
393e95d795 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
488ec4d988 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston
07e0cbb210 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +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
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
Andrew Kingston
0ce0f5c823 Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston
551eb629b4 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-01 16:10:36 +01:00
Andrew Kingston
047cd4ea88 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston
3eea601910 Add ability to persist state values in local storage 2021-08-26 17:52:04 +01:00
Andrew Kingston
9369e8b375 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston
5ed4ace66b Merge pull request #2441 from Budibase/multistep-forms
Multi-step forms
2021-08-25 12:40:44 +01:00
Andrew Kingston
389788709a Prevent opening a screen modal if already inside a screen modal 2021-08-24 15:56:23 +01:00
Andrew Kingston
0a12089a54 Fix issue with memoizing onclick handlers nested inside conditional UI conditions 2021-08-23 16:39:09 +01:00
Andrew Kingston
11dc516b26 Add single button action for changing form step 2021-08-20 09:54:54 +01:00
Andrew Kingston
08171c1e68 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston
9ea255b7bc Update validate form action to be able to only validate the current form step 2021-08-19 12:52:50 +01:00
Andrew Kingston
9b87d1a03e Add button actions for navigating form steps 2021-08-18 15:21:18 +01:00
Andrew Kingston
33431a5edc Rename visual actions from 'peek' to just 'open' screen in modal 2021-08-02 15:50:59 +01:00
Andrew Kingston
def7f7a949 Add action to close peek modal and proxy notifications from the iframe 2021-08-02 15:12:38 +01:00
Andrew Kingston
e5418deb89 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
e40c8cd9ef Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +01:00
Maurits Lourens
f2c26a90c3 fix lint issues 2021-07-26 15:22:14 +02:00
Maurits Lourens
cc7a1679f0 Merge branch 'develop' into clear_form_action
# Conflicts:
#	packages/client/src/utils/buttonActions.js
2021-07-26 15:13:10 +02:00
Andrew Kingston
2715ff77d8 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-26 13:04:08 +01:00
Maurits Lourens
07553b9937 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston
38df0b54a5 Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Michael Drury
f32b4f94e7 Linting. 2021-07-25 12:09:50 +01:00
Michael Drury
88c0a635a0 Adding back logout functionality. 2021-07-25 12:07:25 +01:00
Andrew Kingston
b02f631888 Enrich button actions nested inside conditions 2021-07-23 15:44:16 +01:00
Andrew Kingston
204de7c4d3 Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston
7343c947ae Use tableId parameter when saving rows from button action 2021-07-22 16:50:35 +01:00
Andrew Kingston
5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston
698e31acbc Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston
1d2b306574 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
829c2bb8ee Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston
7b876b2b42 Add ability for buttons to link to external URLs 2021-06-25 16:07:25 +01:00
Andrew Kingston
be2ec9b427 Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
Andrew Kingston
26136f5114 Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
Andrew Kingston
785f724dda Use action name as confirmation modal title 2021-06-21 10:46:55 +01:00
Andrew Kingston
0d99c69fe6 Fix typo 2021-06-21 10:11:18 +01:00
Andrew Kingston
1879fbeee3 Add support for confirmable action handling by client library 2021-06-21 09:56:46 +01:00
Andrew Kingston
be03bbe5bc Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston
4a3c480b26 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston
ca88e2abe1 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston
7e8e482f8f 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
79993bafda Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston
8576166d03 Hugely improve performance of selection and highlight indicators in builder preview 2021-06-10 09:05:08 +01:00
Andrew Kingston
65e7453fbf 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
280a09afd7 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
a22fd8a0a1 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00
Andrew Kingston
797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti
0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston
379df050cf Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Andrew Kingston
dd54bc9771 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Kevin Åberg Kultalahti
ef84e2abcb 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
a15e6b0e25 lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti
4575285d5f fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
Keviin Åberg Kultalahti
c37aefc0cf lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti
1bd32752a7 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti
97213ec99a fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti
cda7c7f4c1 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Keviin Åberg Kultalahti
6122711ee8 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti
0ce7da93a7 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Andrew Kingston
a67a8fb957 Add log out button action 2021-02-26 14:04:12 +00:00
Andrew Kingston
ac46cbdb14 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston
2460280841 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Andrew Kingston
8b23f603bd Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
Andrew Kingston
bd1bd8ee2a Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Andrew Kingston
6bdde675a2 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Andrew Kingston
185f4ec468 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston
5846e2ef7c 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
5244ce1a62 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston
c36ddceb7e Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston
e42b12668a Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston
d85665d21c Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
Andrew Kingston
e3b0de6805 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
Andrew Kingston
9c0e417408 Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Andrew Kingston
e0b6e78f72 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston
9d870dbccc Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Andrew Kingston
6631fe2af8 Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston
12f3b7f6fa Add common SpectrumField component, add spectrum labels, add form label position customisation 2021-01-27 10:59:05 +00:00
Andrew Kingston
365c503224 Add automatic schema validation to forms and add builder settings for specific field types 2021-01-26 14:40:44 +00:00
Andrew Kingston
86a3caa881 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston
3621bcf1de Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
Andrew Kingston
9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567
3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston
9056b0e49d 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
ce6d89bc5c Only update components when their props actually change 2021-01-21 10:41:30 +00:00
mike12345567
ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston
47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567
d7a3e6210d 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
d94473bca5 Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
Martin McKeaveney
a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Michael Shanks
fbb4fd482f Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Martin McKeaveney
a48869a2f0 merge 2021-01-11 20:29:33 +00:00
Michael Shanks
ccb2d7de7d Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Martin McKeaveney
102b7ce61f binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks
a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney
8e40f4b5f8 Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567
f98bd2ca4a Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston
32c71bd006 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney
963d8cb679 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
Andrew Kingston
fcad9892e0 Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Andrew Kingston
34509e0c12 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston
a40bf95c41 Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Martin McKeaveney
755fa0ac4a allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston
1a1aa5963d Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Andrew Kingston
ce2bff5bab 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
3ffeda9da9 Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Andrew Kingston
00ef8dda44 Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston
1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston
def6054b26 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston
18a0f3888b Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston
b3cd81d832 Fix builder preview 2020-11-23 11:29:24 +00:00