Commit Graph

615 Commits

Author SHA1 Message Date
Andrew Kingston fb79a78164 Make all form components use fill width of container 2021-02-10 19:23:53 +00:00
Andrew Kingston 56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 39cf036594 default rows 2021-02-10 14:58:29 +00:00
Martin McKeaveney 24c2dd2cdb code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney 580ae3fb4c tidy up 2021-02-09 19:00:13 +00:00
Martin McKeaveney 9c7a373fb0 primary and secondary index fields 2021-02-09 18:49:12 +00:00
Andrew Kingston 2c125bc671 Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Martin McKeaveney 05353c7666 backwards pagination 2021-02-09 12:12:03 +00:00
Martin McKeaveney 7ef56de1be indexable fields 2021-02-08 20:54:55 +00:00
Martin McKeaveney 07aeccb36d search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
Martin McKeaveney 2a78d1f419 test 2021-02-06 12:31:12 +00:00
Andrew Kingston c0555745e1 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
Andrew Kingston 6bdde675a2 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Martin McKeaveney b4628a43d0 merge 2021-02-05 11:18:37 +00:00
Andrew Kingston 1fb4203b3a Adding validation to forms to ensure custom fields can't be the wrong type 2021-02-05 10:53:25 +00:00
Martin McKeaveney b1b02934ed custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston d1df8aca41 Fix form constraints not being applied correctly 2021-02-04 15:23:26 +00:00
Andrew Kingston c7f2a989ad Update auto screens to use new lightest spectrum theme 2021-02-04 15:10:51 +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 de4b87a208 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-04 12:59:34 +00:00
Martin McKeaveney ef97ca3e8a remove search carried over from other branch 2021-02-04 08:21:39 +00:00
Martin McKeaveney 1f6a755cb6 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
Andrew Kingston 5b10482fa7 Don't render anything from repeater if no rows exist 2021-02-03 15:28:56 +00:00
Andrew Kingston 7efdff487e Update text field values on Enter press 2021-02-03 15:02:50 +00:00
Andrew Kingston b701416f7c Require spectrum css files from correct picker component 2021-02-03 14:56:37 +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 ea2f5ebbf9 Add listener to clear date pickers on certain keystrokes 2021-02-03 11:10:47 +00:00
Andrew Kingston e700b99fcf Force number field to set numerical values only 2021-02-03 10:53:48 +00:00
Andrew Kingston ba8d8b5327 Ensure field ID's are always safe to be used as DOM ID's 2021-02-03 10:32:21 +00:00
Andrew Kingston fa20f5dec7 Fix form validation sometimes being applied erroneously 2021-02-03 10:05:32 +00:00
Andrew Kingston e87b384de5 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-02 14:44:19 +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 48f49dd947 Ensure consistent size of form fields regardless of label position 2021-02-02 13:50:46 +00:00
Andrew Kingston 3faef71ff4 Fix presence validation for array values 2021-02-02 13:50:13 +00:00
Joe 0557c6daa6 Fixed stacked list
I simplified the stacked list which has resolved the text overlapping issue.

There is still an issue with linking the stacked list to a detail page
2021-02-02 13:08:01 +00:00
Martin McKeaveney 27c7f5697b internal search working 2021-02-01 21:02:54 +00:00
Andrew Kingston 56dfaba624 Add error state styles to date picker field 2021-02-01 19:01:43 +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 9214157ea4 Fix long form field width 2021-02-01 18:00:38 +00:00
Andrew Kingston 22cad32a2d Update date picker to fix horrible flatpickr event handling 2021-02-01 14:10:55 +00:00
Andrew Kingston 260cecb5e5 Update form field ID's to always be safe 2021-02-01 14:10:38 +00:00
Andrew Kingston abd99f859a Improve validation around loading options for relationship field 2021-02-01 13:23:18 +00:00
Andrew Kingston b1c2780a72 Add reltationship field. Add common picker component to dedupe options and relationship fields. Add better animation and position to picker dropdowns 2021-02-01 13:15:35 +00:00
Andrew Kingston c9bf2700e3 Add form support for fields which can only use bindings rather than explicit onchange handlers 2021-02-01 11:14:24 +00:00
Andrew Kingston 4630699f13 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-01 09:11:48 +00:00
Andrew Kingston 0b64a81242 Automatically make forms use latest data context if it matches 2021-01-29 16:40:19 +00:00
Andrew Kingston 28fb04b31e Fix max string length validation 2021-01-29 13:24:43 +00:00
Andrew Kingston a4de9668ed Add attachment field to forms 2021-01-29 13:22:38 +00:00
Andrew Kingston acc8b77611 Fix validation on long form field 2021-01-29 10:28:13 +00:00
Andrew Kingston 95ca500bd5 Fix validation and focus styling on datepickers 2021-01-29 10:18:41 +00:00
Andrew Kingston 24a5b657bc Add date field validation 2021-01-28 19:41:46 +00:00
Andrew Kingston e72850b84d Integrate flatpickr with spectrum 2021-01-28 18:53:40 +00:00
Andrew Kingston 16c276aa9a Add rich text field to form components 2021-01-28 18:03:44 +00:00
Andrew Kingston 2c104396df Add boolean field, fix label alignment, fix picker z index 2021-01-28 16:31:55 +00:00
Andrew Kingston 8c90edf462 Add more functionality to core SpectrumField component to simplify other form components 2021-01-28 08:47:44 +00:00
Andrew Kingston e1f40ea066 Add FieldGroup component to allow easy mixing of fields and other content in forms 2021-01-27 18:25:57 +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
Keviin Åberg Kultalahti 958efd2303 Merge branch 'master' into fix/attachment-issues 2021-01-26 12:49:27 +01:00
Keviin Åberg Kultalahti a7de7457d2 fixes row updating problem in grid component 2021-01-26 12:03:29 +01:00
Andrew Kingston 2d0a7d825c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-26 09:56:50 +00:00
Andrew Kingston 77189c6d73 Hide repeater placeholders when not running inside the builder or when the component hasn't been initialised fully 2021-01-26 09:48:41 +00:00
Andrew Kingston 69b840c919 Add initial work on new Form component, spectrum styles and new text field 2021-01-26 08:55:44 +00:00
Andrew Kingston af89c330da Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:09:40 +00:00
Andrew Kingston 4188761ea6 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 db5ce51c67 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Kevin Åberg Kultalahti 497feb80d6 Merge pull request #1002 from Budibase/feature/repeater-placeholder
Adds empty states to the repeater component
2021-01-22 10:13:18 +01:00
Keviin Åberg Kultalahti a62938ee16 fix typo 2021-01-22 10:05:49 +01:00
Keviin Åberg Kultalahti 702be7aa1e remove log 2021-01-22 09:59:38 +01:00
Andrew Kingston 836dbcd71c Allow button to handle nullish text values 2021-01-21 13:45:17 +00:00
Andrew Kingston e271f97ac7 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 12:14:09 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +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 47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
Andrew Kingston ed020954b2 Add new definitions for all chart components 2021-01-19 19:24:49 +00:00
Andrew Kingston d94473bca5 Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 84450d0323 adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
kevmodrome d4b27f7bc4 adds an empty state if there is no datasource selected. 2021-01-19 15:11:21 +01:00
Andrew Kingston 5c469f24b9 Fix grid component definition and add controls for icons and colourpickers 2021-01-19 13:46:25 +00:00
kevmodrome 4f71f70053 switch method of applying color style 2021-01-19 14:00:15 +01:00
kevmodrome f04063c26b retains icons design panel options while being able to change color in settings panel 2021-01-19 13:42:49 +01:00
Andrew Kingston fea3838ff9 Fix bug with rich text component 2021-01-19 11:50:13 +00:00
Andrew Kingston 0a10bc6c71 Add all new definitions for non-chart components 2021-01-19 11:49:52 +00:00
Andrew Kingston 275f0ca092 Add navigation bar, links and row detail definitions 2021-01-19 10:47:00 +00:00
Martin McKeaveney 994b88c2c7 Merge pull request #993 from Budibase/external-tables
External Data Connectors
2021-01-18 17:23:12 +00:00
kevmodrome 956d1f4fc1 turn off stylable action until we can expose specific design settings 2021-01-18 16:34:34 +01:00
kevmodrome 46ae0f7558 switches to remix 2021-01-18 14:26:01 +01:00
Martin McKeaveney 75c787553b lint 2021-01-15 13:42:55 +00:00
Andrew Kingston ec4a4047b6 Improve data binding popup and finish component bindings 2021-01-15 10:59:22 +00:00
Andrew Kingston 5211d316f8 Add new data bindings for context bindings and most work for component bindings 2021-01-14 15:39:50 +00:00
Andrew Kingston 7c4c7e0ae1 Update file structure to be sensible for design section 2021-01-14 09:45:09 +00:00
Andrew Kingston 6b9e61e7e6 Fix component navigation, fix settings editing, fix design editing 2021-01-14 09:09:23 +00:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 15de3c8f83 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney b76d42bcde use dynamic input in query 2021-01-11 15:34:43 +00:00
Andrew Kingston 59b7ccfac8 Remove styleable action from screenslot placeholder component, which was creating a fake component layer 2021-01-06 10:14:36 +00:00
Andrew Kingston b582b7ac22 Merge pull request #903 from Budibase/feature/security-update
Security Update & Role-Based Screens
2020-12-15 09:52:18 +00:00
Andrew Kingston 84e1f54fa0 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Joe 2a55f2abf2 Text changed
Changing 'Invalid chart options' to 'Use the settings panel to build your chart'. I feel this is more appropriate.
2020-12-10 11:11:53 +00:00
Andrew Kingston 045f0f1bfe Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-09 15:57:32 +00:00
kevmodrome d0997efadb colorpicker for links in card component now works correctly 2020-12-09 15:27:24 +01:00
Andrew Kingston 1188a96877 Fix crash when adding a link 2020-12-09 14:14:10 +00:00
kevmodrome d454d1a2d1 fixes link text colors 2020-12-09 15:12:10 +01:00
kevmodrome 11ff8586d5 changes settings prop of card link color 2020-12-09 13:21:04 +01:00
Martin McKeaveney 15279f2c41 lint 2020-12-04 14:46:21 +00:00
Martin McKeaveney f05d696ef7 email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 3aaf0e644a Update stat card to use new component SDK 2020-12-04 09:13:38 +00:00
Andrew Kingston 3164b45f95 Merge branch 'master' of github.com:Budibase/budibase into stat-card 2020-12-04 09:00:43 +00:00
kevmodrome afac1857bc now uses RichText component in create/edit row modal on the backend 2020-12-03 15:37:04 +01:00
kevmodrome 5d686e22ff adds rollup-json to standard-components and adds RichText to Form component 2020-12-03 15:03:17 +01:00
kevmodrome f25126e412 adds new richtext version and adds it to the Form component 2020-12-03 13:19:14 +01: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 540cb33d09 Remove old test dir and add yarn lockfile 2020-12-01 10:47:48 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Joe 1f3942b0e6 Stat card
During lab day, I created a stat card. This card allows the user to display a single value, with an optional title and label. This is a popular component that will save our users time - expecially when creating dashboards.
2020-11-28 16:35:42 +00:00
Andrew Kingston c962ea9ad9 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b8bc583fd9 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston 199c3409c9 Simplify data contexts 2020-11-24 11:28:31 +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 be4106eae4 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 18a0f3888b Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Martin McKeaveney cee26fb0b6 map fulfilled promises 2020-11-23 16:42:28 +00:00
Martin McKeaveney bfab74d11f make datagrid less janky 2020-11-23 16:17:09 +00:00
Andrew Kingston 999b2ffb19 Add actual component for screenslot placeholder 2020-11-23 14:27:45 +00:00
Andrew Kingston c8b1259964 Fix chart styling 2020-11-23 11:29:34 +00:00
Andrew Kingston b3cd81d832 Fix builder preview 2020-11-23 11:29:24 +00:00
Andrew Kingston 1b0fa94dff Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Andrew Kingston 9c30ab2df3 Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston c2d09ea7ab Fix data source fetching for relationships in all other files 2020-11-19 13:52:11 +00:00
Andrew Kingston 3dcd9d32e2 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston 261ae68907 Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston a739ab811f Fix grid height 2020-11-19 08:59:54 +00:00
Andrew Kingston d220fe8fc0 Remove deprecated components and fix card styling 2020-11-18 21:13:13 +00:00
Andrew Kingston cdb8ff3563 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston 1a8d781c8c Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00
Andrew Kingston 7a3f9d61d2 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston fef561ffe4 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
Andrew Kingston b70de4938f Fix screen slot placeholder component display 2020-11-17 14:06:43 +00:00
Andrew Kingston b01ec8da0f Fix selected component border in builder preview 2020-11-17 12:20:40 +00:00
Andrew Kingston e11656fa24 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Andrew Kingston 3a981ac256 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Martin McKeaveney 6906b43667 show quota errors when deployments fail 2020-11-13 14:32:47 +00:00
kevmodrome 36e902fd30 sets everything up to be used with a longform type in the Form component 2020-11-13 11:31:00 +01:00
kevmodrome e9f3307864 adds non-working RichText component 2020-11-13 11:12:38 +01:00
Andrew Kingston 66ef0b9d3d Fix log out not working 2020-11-12 12:27:53 +00:00
Andrew Kingston da17e1d900 Replace all manual API interaction with SDK 2020-11-12 12:24:45 +00:00
Andrew Kingston 299dcbab3d Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00