Commit Graph

552 Commits

Author SHA1 Message Date
Andrew Kingston 0f6a7946b5 Automatically determine which state keys are available 2021-08-26 16:46:25 +01:00
Peter Clement 544dd4ef1d Merge remote-tracking branch 'origin/develop' into multi-option-datatype 2021-08-26 14:38:05 +01:00
Peter Clement 94bb4f2a8b linting 2021-08-26 14:27:40 +01:00
Peter Clement 1ab618c2ef fix indexing of arrays 2021-08-26 14:22:52 +01:00
Peter Clement 4fa36727e4 Update validation for array type 2021-08-26 14:04:18 +01:00
Peter Clement f7ebf7f8a4 Fix lucene not allowed characters 2021-08-26 11:39:42 +01:00
Andrew Kingston 9369e8b375 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Martin McKeaveney 0cbc23dc3d Revert "Filter users table out of DataSource component and NewScreenModal" 2021-08-26 10:11:48 +01:00
Peter Clement 078cb07b04 use normal combobox for filtering array columns 2021-08-25 17:00:42 +01:00
Peter Clement 725b9bb6e2 Add more validation options for array field 2021-08-25 15:49:04 +01:00
Martin McKeaveney f0b8f0575e Merge pull request #2446 from mslourens/disable_managing_users_with_client
Filter users table out of DataSource component and NewScreenModal
2021-08-25 14:07:52 +01:00
Peter Clement 12f56744c3 Add validation for array field 2021-08-25 14:05:23 +01:00
Andrew Kingston 5ed4ace66b Merge pull request #2441 from Budibase/multistep-forms
Multi-step forms
2021-08-25 12:40:44 +01:00
Peter Clement f000d44e39 Add contains option to lucene query builder 2021-08-24 16:14:38 +01:00
Maurits Lourens 180d857d1d Filter users table out of DataSource component and NewScreenModal 2021-08-24 12:33:02 +02:00
Maurits Lourens e476b15d42 replace 'replaceAll' with 'replace' and a regular expression 2021-08-24 08:51:38 +02:00
Andrew Kingston 4a67de926a Fix button casing 2021-08-23 14:00:45 +01:00
Peter Clement e97b5ef91a add multiselect component as option for form design 2021-08-20 15:56:11 +01:00
Andrew Kingston 8cb9870cf7 Prevent adding form steps inside other form steps and fix illegalChildren usage 2021-08-20 15:16:20 +01:00
Andrew Kingston 11dc516b26 Add single button action for changing form step 2021-08-20 09:54:54 +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 32fe0ea072 Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston c945fc650d Add stepper component to bbui for numeric values 2021-08-18 11:32:39 +01:00
Andrew Kingston a2e4f44e7f Ensure placeholder is null when undefined so avoid sometimes having a placeholder and sometimes not 2021-08-17 14:10:25 +01:00
Andrew Kingston d23d11f6ef Merge branch 'dynamic-picker-options' of github.com:Budibase/budibase into dynamic-picker-options 2021-08-17 11:37:50 +01:00
Andrew Kingston 432b817d98 Remove notification when saving custom options 2021-08-17 11:36:33 +01:00
Andrew Kingston bc788273a0 Ensure both label and value are set when defining custom options 2021-08-17 11:34:46 +01:00
Andrew Kingston d71b7e4b77 Tidy up options drawer styles 2021-08-17 11:33:09 +01:00
Peter Clement ce370ca1d2 Merge remote-tracking branch 'origin/develop' into dynamic-picker-options 2021-08-17 11:26:42 +01:00
Peter Clement e5bca9fece text updates 2021-08-17 11:17:03 +01:00
Peter Clement 5151619782 Allow users to define custom picker options 2021-08-17 10:32:01 +01:00
Andrew Kingston c50d03d792 Merge pull request #2369 from Budibase/fix/screen-props
Fix screen settings not being saved
2021-08-17 09:28:43 +01:00
Andrew Kingston 36a744f577 Merge pull request #2339 from Budibase/custom-form-validation
Custom form validation
2021-08-16 18:29:44 +01:00
Andrew Kingston 1f43ac3ab1 Fix screen settings not being saved 2021-08-16 17:01:34 +01:00
Andrew Kingston 641e61773b Add ability for select options to be loaded from a data provider 2021-08-16 11:24:25 +01:00
Andrew Kingston 73def04951 Merge pull request #2344 from Budibase/ak-fixes
Fixes and features for various issues
2021-08-16 09:04:13 +01:00
Andrew Kingston ec5e3e27a3 Add 12px options for margin and padding 2021-08-13 12:23:41 +01:00
Andrew Kingston 54b7cb1265 Increase width of contraint select in custom validation drawer 2021-08-12 12:27:50 +01:00
Andrew Kingston f209781e7c Add duplicate button 2021-08-12 12:25:54 +01:00
Andrew Kingston f6cd99166a Hide formula fields from filter expressions until they can be searched 2021-08-12 10:03:56 +01:00
Andrew Kingston 72ab0c4158 Fix issue with duplicate icon in condtitional UI not being accounted for when using an update action 2021-08-12 09:55:41 +01:00
Andrew Kingston b77fed6766 Add duplicate action to filter drawer 2021-08-12 09:50:09 +01:00
Andrew Kingston da67adfffd Remove log statement 2021-08-11 18:16:30 +01:00
Andrew Kingston d615513558 Fix validation value component always being an input 2021-08-11 16:46:01 +01:00
Andrew Kingston d1bc289f4b Merge branch 'develop' of github.com:Budibase/budibase into custom-form-validation 2021-08-11 15:09:04 +01:00
Andrew Kingston b79b75ad78 Add support for validating relationships 2021-08-11 14:34:22 +01:00
Andrew Kingston a041d8dcc7 Allow custom validation rules to use bindings or raw values 2021-08-10 14:36:00 +01:00
Andrew Kingston 67be24b524 Add validation drawer and simplify HOC's for different field types 2021-08-06 14:54:00 +01:00
Maurits Lourens aa1d214c4d Merge branch 'develop' into prevent_space_in_url
# Conflicts:
#	packages/builder/src/components/design/PropertiesPanel/ScreenSettingsSection.svelte
2021-08-05 20:11:55 +02:00
Maurits Lourens fe3b81e72d implement review comments 2021-08-05 20:03:54 +02:00
mike12345567 78a3a1cd09 Fixing issue with google callback URL not being used when it was previously set. 2021-08-05 11:27:51 +01:00
Martin McKeaveney df927e3feb merge with master 2021-08-04 13:20:11 +01:00
Andrew Kingston d135ddb376 Fix bindings not appearing in certain button actions 2021-08-04 09:48:23 +01:00
Andrew Kingston b768e2991f Lint 2021-08-03 12:52:01 +01:00
Andrew Kingston 6b2f70ce05 Fix text of close screen modal action 2021-08-03 12:22:16 +01:00
Andrew Kingston fe5cb6ebb2 Merge pull request #2205 from Budibase/fix/preview-garbage-handling
Allow app preview to handle garbage iframe messages
2021-08-03 10:12:21 +01:00
Andrew Kingston ce38875ea5 Merge pull request #2204 from Budibase/fix/url-select
Fix URL select component
2021-08-03 10:02:29 +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 531d6d2cd0 Fix colour picker inconsistencies when app theme has never been changed 2021-08-02 15:28:40 +01:00
Andrew Kingston bb0e76d92a Merge branch 'develop' of github.com:Budibase/budibase into peek-screen 2021-08-02 15:12:45 +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 06fa9091f4 Allow app preview to handle garbage iframe messages 2021-08-01 14:00:18 +01:00
Andrew Kingston 7f09f55315 Fix URL select not working properly, and massively reduce usage of getBindableProperties to improve settings loading speed 2021-08-01 13:39:33 +01:00
Keviin Åberg Kultalahti 6f2fe3d81b adds the Spectrum divider component to the standard components 2021-07-31 15:11:33 +02:00
Andrew Kingston 8e82a0efd9 Revert to a cleaner modal with no title or buttons for screen peeking 2021-07-30 18:16:37 +01:00
Andrew Kingston 7723a1ed60 Add checkbox to specify navigate action should open in a modal insteaf 2021-07-30 13:59:04 +01:00
Martin McKeaveney 145cb78742 Merge pull request #2154 from mslourens/duplicate_ui_conditions
add duplicate condition button
2021-07-28 16:56:51 +01:00
Maurits Lourens 2b2528bdbd fix lint issue 2021-07-28 17:20:25 +02:00
Maurits Lourens 019243a329 add duplicate condition button 2021-07-28 17:05:14 +02: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 8ec5e7f8ce revert change to event dispatcher 2021-07-28 11:30:57 +02:00
Maurits Lourens a77b386f6e fix lint issues 2021-07-28 10:19:10 +02:00
Maurits Lourens 519d2bd0fb replace spaces with underscores in screen routes 2021-07-28 09:09:37 +02:00
Maurits Lourens 7173be59c6 remove event listeners prevents memory leaks 2021-07-26 23:53:11 +02:00
Maurits Lourens 1497f3f680 delete component using the keyboard 2021-07-26 23:48:59 +02:00
Maurits Lourens f2c26a90c3 fix lint issues 2021-07-26 15:22:14 +02:00
Andrew Kingston a69b320483 Fix same svelte-dnd-action drag error for navigation editor 2021-07-26 14:11:30 +01:00
Andrew Kingston 7a9197975d Fix svelte-dnd-action throwing an error when interacting with a spectrum field inside a draggable 2021-07-26 14:09:14 +01:00
Maurits Lourens 3dbafac806 clear form action - adjust manifest and add settings form 2021-07-26 15:05:22 +02:00
Andrew Kingston 93d6da7ebe Lint 2021-07-26 13:10:00 +01:00
Maurits Lourens 07553b9937 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston 8a09494348 Fix bug with resetting operators when an incompatible value type is chosen 2021-07-26 12:56:47 +01:00
Andrew Kingston 38df0b54a5 Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Andrew Kingston af3802e28a Fix svelte keying of component settings blocks 2021-07-23 15:44:35 +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 5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston 0c80e8c5b5 Move lucene options into common file and add initial work on conditional UI components 2021-07-21 08:46:02 +01:00
Andrew Kingston 87394af383 Fix padding on some drawer content components 2021-07-20 14:38:35 +01:00
Andrew Kingston 2f559c3867 Update events editor and action components with new drawer styles 2021-07-20 14:34:27 +01:00
Andrew Kingston b3eb783d7b Update drawer components to work with new styles 2021-07-20 10:58:07 +01:00
Andrew Kingston 83ab09b133 Update navigation link editor drawer to work with new drawer styles 2021-07-20 10:52:46 +01:00
Andrew Kingston 38014a76be Update drawer styles, drawer bindable inputs and settings bindable inputs 2021-07-14 14:21:11 +01:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston 0ff1f0fbe9 Fix crash when referencing a component definition that doesn't exist 2021-07-07 17:07:16 +01:00
Andrew Kingston cc7b07a020 Use client features to determine when to show client preview on initial load 2021-07-07 13:54:44 +01:00
Andrew Kingston ac99f7a23b Update develop with master bugfix and add comments to explain loading events 2021-07-07 13:21:30 +01:00
Andrew Kingston 67ffb2d96d Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 13:16:26 +01:00
Andrew Kingston ef88c740b2 Fix iframe preview loading bug in old client library versions 2021-07-07 13:09:33 +01:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 07ea6469fd Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 929d1c73d4 Avoid filter editor sending a prop change when filter is not an array, which was causing extra 409s and causing issues with tables 2021-07-06 15:55:02 +01:00
Andrew Kingston 56d687a236 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 09:03:24 +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 ccb48a642f Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 9b9bda1fb4 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Andrew Kingston 45d235ca92 Add spectrum card component 2021-06-30 16:33:35 +01:00
Andrew Kingston 2beaa2b28a Merge and add initial work on cards 2021-06-30 16:33:19 +01:00
Andrew Kingston 48fdc8a2df Fix bug where stale data is shown in custom css drawer when changing components 2021-06-30 09:38:14 +01:00
Andrew Kingston 2693878a72 Remove a lot of hacks around screenslots and allow naming them 2021-06-30 09:05:03 +01:00
Andrew Kingston 3ed1ac4ccd Fix text casing on some button settings 2021-06-30 08:46:53 +01:00
Andrew Kingston 6bfcb3fc2b Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Andrew Kingston 2b7f3942d0 Add initial work on refactoring color picker to account for client app theme 2021-06-28 14:51:47 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston be37720dc5 Fix placement of 'reset fields' button for field groups 2021-06-28 10:09:31 +01:00
Andrew Kingston 50f8931fbe Lint 2021-06-25 17:27:06 +01:00
Andrew Kingston 954c83c418 Remove deprecated 'inline' style setting 2021-06-25 17:00:30 +01:00
Andrew Kingston fb18635bf9 Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
Andrew Kingston 098131099d Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
Andrew Kingston d7cc6836a9 Fix instance name on layouts 2021-06-23 12:26:46 +01:00
Andrew Kingston 4b9a863c68 Add color picker component and tidy up style options 2021-06-23 09:54:31 +01:00
Martin McKeaveney 137aff049d adding scroll to data source select 2021-06-23 08:04:24 +01:00
Andrew Kingston dd4c7a186e Add new style definitions for containers 2021-06-23 07:55:33 +01:00
Andrew Kingston 2367a97f39 Add screen settings section, refactor more of component settings panel 2021-06-22 09:36:50 +01:00
Andrew Kingston da1197337e Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-22 09:14:27 +01:00
Andrew Kingston aee876a681 Add initial work on merging settings and design panels, improve code structure, improve styles 2021-06-22 09:14:17 +01:00
mike12345567 df1e15dd55 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 03c5640856 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston 0ef31accb8 Add confirmation params for some actions 2021-06-21 09:58:24 +01:00
Andrew Kingston ae922492f5 Allow sections to be nested inside containers 2021-06-18 14:03:55 +01:00
mike12345567 40e06cc5d1 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00
Andrew Kingston be6e7d52eb Lint and remove unused section properties 2021-06-18 12:44:53 +01:00
Andrew Kingston be03bbe5bc Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston e3c064901d Fix error when deleting screen 2021-06-18 12:32:55 +01:00
Andrew Kingston 6bc30eb5cb Fix screen deletion not waiting for async operations to finish 2021-06-18 12:23:50 +01:00
Andrew Kingston b497000f7b Update buttons in settings, improve preview styles 2021-06-18 09:59:28 +01:00
Andrew Kingston 8492fb9c84 Remove deprecated navigation component from the builder but leave it in standard components for compatibility 2021-06-18 09:59:04 +01:00
Martin McKeaveney 08b74d2cec lint 2021-06-17 14:06:31 +01:00
Andrew Kingston c77f8e45fd Update server generated layouts and improve layout styles 2021-06-17 12:57:36 +01:00
Andrew Kingston e6f9f3ec6f Add component for customising navigation links, improve layouts and responsiveness 2021-06-17 12:18:48 +01:00
mike12345567 615b207fbb Formatting. 2021-06-16 18:39:59 +01:00
Martin McKeaveney 9e41068a5d end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
mike12345567 6733b61b78 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Andrew Kingston 88b9527f8a Fix crash determining illegal children when selectedComponent is null 2021-06-16 09:37:23 +01:00
Andrew Kingston d5e40fc090 Merge branch 'master' of github.com:Budibase/budibase into feature/layout-poc 2021-06-16 09:35:11 +01:00
mike12345567 3d9dced317 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
Martin McKeaveney e3cced9d97 consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Andrew Kingston 27009438c8 Merge branch 'master' of github.com:Budibase/budibase into feature/layout-poc 2021-06-14 09:54:11 +01:00