Commit Graph

634 Commits

Author SHA1 Message Date
Andrew Kingston e021b55704 Add relationship enrichment display to backend UI 2021-02-19 13:05:52 +00:00
Keviin Åberg Kultalahti c6ad951fe5 merge develop 2021-02-19 13:55:17 +01:00
Andrew Kingston d4d4a36448 Display enriched relationship info in grids and bindings 2021-02-19 12:00:06 +00:00
Andrew Kingston 03c7593ce6 Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-18 17:45:10 +00:00
Andrew Kingston 5c2aa7d603 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Andrew Kingston 5530a7b241 Merge branch 'develop' of github.com:Budibase/budibase into budi-day-02-11-cheeks-joe 2021-02-17 15:25:34 +00:00
Andrew Kingston d92c0b770b Add disabled setting for forms and fields, and force autocolumns in forms to be disabled 2021-02-17 15:16:44 +00:00
Andrew Kingston f0a48ea341 Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston e0d1513af4 Ensure form doesn't inherit built in datasources 2021-02-16 15:30:20 +00:00
Andrew Kingston 6603e504b4 Make form always inherit closest datasource 2021-02-16 13:27:38 +00:00
Keviin Åberg Kultalahti a42aecbfbe initial work to switch toggle to radio button 2021-02-15 17:12:39 +01:00
Keviin Åberg Kultalahti 9b13879b27 fixes crash when options was empty 2021-02-15 13:31:16 +01:00
Keviin Åberg Kultalahti 8539a6dcbe initial standard-components relationship field component update 2021-02-12 16:47:20 +01:00
Andrew Kingston bd7d95aabc Avoid relationship picker making rows calls for empty string ID 2021-02-12 11:17:13 +00:00
Andrew Kingston 6df2f2b1a1 Don't filter repeater results when filter is null 2021-02-11 14:27:27 +00:00
Andrew Kingston 17a9e44ef6 Add filtering to repeaters 2021-02-11 13:03:22 +00:00
Martin McKeaveney 768d87ec62 fix linkable card 2021-02-11 11:35:52 +00:00
Andrew Kingston f5fe4c9bb7 Add hot reloading to search results 2021-02-11 09:30:05 +00:00
Andrew Kingston b5e78fe14a Update some empty state text 2021-02-11 09:20:25 +00:00
Andrew Kingston 544f94954c Make all form components use fill width of container 2021-02-10 19:23:53 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 5d962b3c8a default rows 2021-02-10 14:58:29 +00:00
Martin McKeaveney 933969ce55 code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney c132b7b584 tidy up 2021-02-09 19:00:13 +00:00
Martin McKeaveney e599854b14 primary and secondary index fields 2021-02-09 18:49:12 +00:00
Andrew Kingston a2a805b45b Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Martin McKeaveney 41bc7dbaf7 backwards pagination 2021-02-09 12:12:03 +00:00
Martin McKeaveney d2bd2209eb indexable fields 2021-02-08 20:54:55 +00:00
Martin McKeaveney 7f24c80bf0 search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
Martin McKeaveney 2b74fd887b test 2021-02-06 12:31:12 +00:00
Andrew Kingston fe00c66700 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
Andrew Kingston 06b70706e3 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Martin McKeaveney 5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
Andrew Kingston 53491c400d Adding validation to forms to ensure custom fields can't be the wrong type 2021-02-05 10:53:25 +00:00
Martin McKeaveney c57dee754f custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston 725d13cad3 Fix form constraints not being applied correctly 2021-02-04 15:23:26 +00:00
Andrew Kingston 4a7e05aa67 Update auto screens to use new lightest spectrum theme 2021-02-04 15:10:51 +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 859bef0223 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-04 12:59:34 +00:00
Martin McKeaveney 6a4a0c517b remove search carried over from other branch 2021-02-04 08:21:39 +00:00
Martin McKeaveney 6cb62f6625 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
Andrew Kingston c2dc2d2b15 Don't render anything from repeater if no rows exist 2021-02-03 15:28:56 +00:00
Andrew Kingston 019316e508 Update text field values on Enter press 2021-02-03 15:02:50 +00:00
Andrew Kingston 81adaecd47 Require spectrum css files from correct picker component 2021-02-03 14:56:37 +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 6b6699c857 Add listener to clear date pickers on certain keystrokes 2021-02-03 11:10:47 +00:00
Andrew Kingston 181143935e Force number field to set numerical values only 2021-02-03 10:53:48 +00:00
Andrew Kingston 44cfd430c6 Ensure field ID's are always safe to be used as DOM ID's 2021-02-03 10:32:21 +00:00
Andrew Kingston 9ff40cc288 Fix form validation sometimes being applied erroneously 2021-02-03 10:05:32 +00:00
Andrew Kingston 646e324551 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-02 14:44:19 +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 79ae7dae91 Ensure consistent size of form fields regardless of label position 2021-02-02 13:50:46 +00:00
Andrew Kingston 7984382552 Fix presence validation for array values 2021-02-02 13:50:13 +00:00
Joe 4db61e0fb7 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 4b5e572da3 internal search working 2021-02-01 21:02:54 +00:00
Andrew Kingston 8789d576af Add error state styles to date picker field 2021-02-01 19:01:43 +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 dbe7e8d4b7 Fix long form field width 2021-02-01 18:00:38 +00:00
Andrew Kingston 876ec44d11 Update date picker to fix horrible flatpickr event handling 2021-02-01 14:10:55 +00:00
Andrew Kingston f59e39931b Update form field ID's to always be safe 2021-02-01 14:10:38 +00:00
Andrew Kingston b1c82626d9 Improve validation around loading options for relationship field 2021-02-01 13:23:18 +00:00
Andrew Kingston b65673b77a 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 ad86c40de6 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 216566887c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-01 09:11:48 +00:00
Andrew Kingston 4e9fe01ef6 Automatically make forms use latest data context if it matches 2021-01-29 16:40:19 +00:00
Andrew Kingston 8be1d1e530 Fix max string length validation 2021-01-29 13:24:43 +00:00
Andrew Kingston deccd11def Add attachment field to forms 2021-01-29 13:22:38 +00:00
Andrew Kingston 6c6542c0c5 Fix validation on long form field 2021-01-29 10:28:13 +00:00
Andrew Kingston af4f902e10 Fix validation and focus styling on datepickers 2021-01-29 10:18:41 +00:00
Andrew Kingston 2db5e62e35 Add date field validation 2021-01-28 19:41:46 +00:00
Andrew Kingston 58fdabe96b Integrate flatpickr with spectrum 2021-01-28 18:53:40 +00:00
Andrew Kingston c9ab20726d Add rich text field to form components 2021-01-28 18:03:44 +00:00
Andrew Kingston 9791e52a10 Add boolean field, fix label alignment, fix picker z index 2021-01-28 16:31:55 +00:00
Andrew Kingston 32ad2b6a08 Add more functionality to core SpectrumField component to simplify other form components 2021-01-28 08:47:44 +00:00
Andrew Kingston 8df4de0ddb Add FieldGroup component to allow easy mixing of fields and other content in forms 2021-01-27 18:25:57 +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
Keviin Åberg Kultalahti cd95748982 Merge branch 'master' into fix/attachment-issues 2021-01-26 12:49:27 +01:00
Keviin Åberg Kultalahti 5f36bbed23 fixes row updating problem in grid component 2021-01-26 12:03:29 +01:00
Andrew Kingston 25036d2d1b Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-26 09:56:50 +00:00
Andrew Kingston c71007e7f8 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 06c5a0f717 Add initial work on new Form component, spectrum styles and new text field 2021-01-26 08:55:44 +00:00
Andrew Kingston 874f5f22d1 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:09:40 +00:00
Andrew Kingston 3104df6224 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 6a40ea7f06 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Kevin Åberg Kultalahti b3a59afc57
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 49c818f461 fix typo 2021-01-22 10:05:49 +01:00
Keviin Åberg Kultalahti 5605b9eb42 remove log 2021-01-22 09:59:38 +01:00
Andrew Kingston b368deb717 Allow button to handle nullish text values 2021-01-21 13:45:17 +00:00
Andrew Kingston 4cdca6f196 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 12:14:09 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +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 a17d1703f7 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
Andrew Kingston e3576426dd Add new definitions for all chart components 2021-01-19 19:24:49 +00:00
Andrew Kingston 7e7219856d Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 6a1383b13b
adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
kevmodrome 479ea07e92
adds an empty state if there is no datasource selected. 2021-01-19 15:11:21 +01:00
Andrew Kingston 84bba45ad2 Fix grid component definition and add controls for icons and colourpickers 2021-01-19 13:46:25 +00:00
kevmodrome 6cbca0aab9
switch method of applying color style 2021-01-19 14:00:15 +01:00
kevmodrome 7f405e7dd9
retains icons design panel options while being able to change color in settings panel 2021-01-19 13:42:49 +01:00
Andrew Kingston 2ea95463ea Fix bug with rich text component 2021-01-19 11:50:13 +00:00
Andrew Kingston 0935c08d5d Add all new definitions for non-chart components 2021-01-19 11:49:52 +00:00
Andrew Kingston 4818080699 Add navigation bar, links and row detail definitions 2021-01-19 10:47:00 +00:00
Martin McKeaveney 77241281b8
Merge pull request #993 from Budibase/external-tables
External Data Connectors
2021-01-18 17:23:12 +00:00
kevmodrome 0ec81db82b
turn off stylable action until we can expose specific design settings 2021-01-18 16:34:34 +01:00
kevmodrome 32517b225c
switches to remix 2021-01-18 14:26:01 +01:00
Martin McKeaveney 0ac322b11b lint 2021-01-15 13:42:55 +00:00
Andrew Kingston 0a669033d1 Improve data binding popup and finish component bindings 2021-01-15 10:59:22 +00:00
Andrew Kingston 6a758e3b2d Add new data bindings for context bindings and most work for component bindings 2021-01-14 15:39:50 +00:00
Andrew Kingston 2200039935 Update file structure to be sensible for design section 2021-01-14 09:45:09 +00:00
Andrew Kingston 29cb3b4b4c Fix component navigation, fix settings editing, fix design editing 2021-01-14 09:09:23 +00:00
Andrew Kingston 2dc2e43a00 WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 49477d3ac9 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney 5aa7edda64 use dynamic input in query 2021-01-11 15:34:43 +00:00
Andrew Kingston 8b7c5226ca Remove styleable action from screenslot placeholder component, which was creating a fake component layer 2021-01-06 10:14:36 +00:00
Andrew Kingston afe309d731
Merge pull request #903 from Budibase/feature/security-update
Security Update & Role-Based Screens
2020-12-15 09:52:18 +00:00
Andrew Kingston 6937c8e054 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 1f203ae586 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 fdbb8ac61c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-09 15:57:32 +00:00
kevmodrome 71fa1e1700
colorpicker for links in card component now works correctly 2020-12-09 15:27:24 +01:00
Andrew Kingston b5637dbffc Fix crash when adding a link 2020-12-09 14:14:10 +00:00
kevmodrome 19cd58a5ac
fixes link text colors 2020-12-09 15:12:10 +01:00
kevmodrome a91fc28eb9
changes settings prop of card link color 2020-12-09 13:21:04 +01:00
Martin McKeaveney 8980895dac lint 2020-12-04 14:46:21 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 3b57ef3b0f Update stat card to use new component SDK 2020-12-04 09:13:38 +00:00
Andrew Kingston 2cb4f1228a Merge branch 'master' of github.com:Budibase/budibase into stat-card 2020-12-04 09:00:43 +00:00
kevmodrome 6e7bd09588
now uses RichText component in create/edit row modal on the backend 2020-12-03 15:37:04 +01:00
kevmodrome 0725b3bd6d
adds rollup-json to standard-components and adds RichText to Form component 2020-12-03 15:03:17 +01:00
kevmodrome 619011d7e8
adds new richtext version and adds it to the Form component 2020-12-03 13:19:14 +01: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 e4db97aa21 Remove old test dir and add yarn lockfile 2020-12-01 10:47:48 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Joe 5cfc6a6eda 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 86cfd3db22 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b000174fce Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 9c4b9a2a25 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston ad5fc0e780 Simplify data contexts 2020-11-24 11:28:31 +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 e62fbf8ef7 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Martin McKeaveney ac75d6606d map fulfilled promises 2020-11-23 16:42:28 +00:00
Martin McKeaveney a63050e328 make datagrid less janky 2020-11-23 16:17:09 +00:00
Andrew Kingston 74fdd36bce Add actual component for screenslot placeholder 2020-11-23 14:27:45 +00:00
Andrew Kingston e3fe891053 Fix chart styling 2020-11-23 11:29:34 +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 674b89df5d Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00