Commit Graph

2054 Commits

Author SHA1 Message Date
Andrew Kingston 1cba3f2f8e Tidy up by using optional chaining 2020-09-17 14:19:14 +01:00
Andrew Kingston 1e099b9b5a Use user readable enums in workflow block setup fields 2020-09-17 14:18:22 +01:00
Andrew Kingston 57a8dcf595 Add data binding to nested fields within workflow block setup 2020-09-17 14:05:53 +01:00
Andrew Kingston 48f13af109 Block deletion of workflow trigger unless it's the only step left 2020-09-17 14:04:45 +01:00
Andrew Kingston d31f4f5c34 Update save record block definition 2020-09-17 14:04:13 +01:00
Andrew Kingston 0b424c1f1f Fix nullish values in RecordSelector 2020-09-17 13:44:18 +01:00
Andrew Kingston 3e3a978e74 Add data binding to workflow block setup 2020-09-17 13:43:52 +01:00
mike12345567 99b1bbebbb Updating testcase to now trigger a proper workflow and check that it operates as expected. 2020-09-17 13:36:19 +01:00
Martin McKeaveney 4985949786 allow deletion of images 2020-09-17 12:45:28 +01:00
mike12345567 2911a7ba35 Changing how default inputs for workflow definitions are handled and providing pretty print options for enums. 2020-09-17 12:44:59 +01:00
mike12345567 31939e3dc9 Update to improve test cases and get JOI to work as expected. 2020-09-16 19:25:52 +01:00
Andrew Kingston 5997550fbb Remove full stop in email workflow block description 2020-09-16 15:39:19 +01:00
Andrew Kingston bcd27a2026 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-16 15:04:58 +01:00
mike12345567 53b317aad1 Fixing a circular dependency that meant a utilities enumerations could not be used until full system initialisation, exporting enums earlier and commenting. 2020-09-16 14:58:30 +01:00
Andrew Kingston c44ba8b995 Use bbui selects for all selects in workflow steps 2020-09-16 14:38:18 +01:00
mike12345567 1610f483b0 Updating file structure so that each built in step has its own file containing the definition and the function of it, with the intention of keeping definitions together as they will be handled in the async actions. 2020-09-16 14:00:04 +01:00
Andrew Kingston 7986016183 Update builder to support new block definitions with JSON schema 2020-09-16 13:55:28 +01:00
Andrew Kingston 2337e1bac3 Make filter condition human readable since they're just strings 2020-09-16 13:54:56 +01:00
Andrew Kingston a8be0682bc Fixing definition for filter workflow block 2020-09-16 13:54:27 +01:00
Martin McKeaveney d06068dd9f more design updates on attachment picker 2020-09-16 13:29:18 +01:00
Martin McKeaveney e97ec7beaf Dropzone styling 2020-09-16 12:18:47 +01:00
Andrew Kingston 847224f3b7 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-16 11:40:09 +01:00
mike12345567 a08ef045bc Updating definitions to remove the use of the fat model object in workflows and make sure the record structure is common where-ever it is used (as an input or as a trigger output). 2020-09-16 11:20:00 +01:00
Andrew Kingston 0ade1ef558 Bump svelte, rollup and rollup-plugin-terser dependencies to support optional chaining and nullish coalescing 2020-09-16 09:13:13 +01:00
Martin McKeaveney ad79d422e0 file attachments and processing working, basic design for dropzone 2020-09-15 16:22:13 +01:00
mike12345567 43afb9af1b Updating block definitions to use pure JSON schema so that it can be used for easy validation. 2020-09-15 15:52:38 +01:00
Andrew Kingston ba125b5987 Update workflow block definitions 2020-09-15 14:45:37 +01:00
mike12345567 1382c3bb12 This is a breaking change, it updates the block definitions to work with the new structure of inputs and outputs. 2020-09-15 14:27:23 +01:00
Conor Mack c49e906e5e Merge branch 'master' of https://github.com/Budibase/budibase into feature/icon-component 2020-09-15 13:44:44 +01:00
Conor Mack 13f4502967 Tidyup 2020-09-15 13:28:51 +01:00
Conor Mack fa88c68c0e Icon and Icon Select Component 2020-09-15 11:53:02 +01:00
Michael Drury 1930aa2296 Merge pull request #607 from Budibase/server-workflows
Server workflows
2020-09-15 09:09:55 +01:00
Andrew Kingston 42bf945d35 Fix rollup not live reloading correctly 2020-09-15 07:55:32 +01:00
Martin McKeaveney 4926665eeb v0.1.21 2020-09-14 17:11:47 +01:00
Martin McKeaveney 275a8e38a3 only build electron on releases 2020-09-14 17:02:42 +01:00
Martin McKeaveney 78e6a66543 import error with events panel 2020-09-14 17:00:16 +01:00
Martin McKeaveney d55d0c70c8 v0.1.20 2020-09-14 16:26:18 +01:00
Martin McKeaveney fb47ef6c2f fix pagination 2020-09-14 16:18:02 +01:00
Andrew Kingston e7c35aafd5 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 16:04:01 +01:00
mike12345567 ba52b10666 Small fix for last change, singular to plural in API definition. 2020-09-14 16:00:51 +01:00
Martin McKeaveney 44fcec5cc2 Merge pull request #609 from Budibase/frontend-bugs
fix frontend bugs
2020-09-14 15:51:38 +01:00
Andrew Kingston 8959e1ddf0 Add more explicit params to arrow functions 2020-09-14 15:46:21 +01:00
Martin McKeaveney 784fac5018 lint 2020-09-14 15:41:20 +01:00
Martin McKeaveney 37f539c5a9 update view schema when table updated 2020-09-14 15:40:45 +01:00
mike12345567 09565e41d0 Adding new API endpoint which provides all definitions in one. 2020-09-14 15:34:09 +01:00
Martin McKeaveney 4daabb6d55 remove map file 2020-09-14 15:23:08 +01:00
Martin McKeaveney 7dea1c1537 adding bbui styles into standard-components 2020-09-14 15:12:02 +01:00
Andrew Kingston 609b039d4c Revert formatting to 80 print width 2020-09-14 14:35:03 +01:00
mike12345567 b6209d044a Updating some test cases which were failing silently and changing how environment want handled. 2020-09-14 14:32:20 +01:00
Andrew Kingston fe97579d36 Merge in master 2020-09-14 13:55:40 +01:00
Michael Shanks b9c42c640b Merge pull request #605 from mjashanks/bugfixes
Bugfixes
2020-09-14 13:52:35 +01:00
Andrew Kingston 2d922d86be Remove standard components dist directory 2020-09-14 13:32:52 +01:00
Andrew Kingston 62d37254ea Fix cypress test for create workflow 2020-09-14 13:29:32 +01:00
Michael Shanks cacd735961 fix: override client context store on create 2020-09-14 12:46:49 +01:00
Andrew Kingston 12d44ffcad Fix workflow tests 2020-09-14 12:38:17 +01:00
Michael Shanks 4d56b4873c updated BBUI 2020-09-14 12:34:46 +01:00
Michael Shanks ade5527bd7 NavigateTo action: use DataList, so URLs are configurable 2020-09-14 12:32:44 +01:00
Michael Shanks 7fe7c9b286 fix: re-exposing store in component api, as form depends on it 2020-09-14 12:32:10 +01:00
Martin McKeaveney 7acaad11d1 fix frontend bugs 2020-09-14 12:07:08 +01:00
Andrew Kingston 590e7d810d Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 11:53:19 +01:00
Andrew Kingston 55f418bc95 Fix workflow select components which use objects as options and take initial state from API 2020-09-14 11:51:52 +01:00
Andrew Kingston 9d2f7ed874 Remove deprecated ComponentSelector component which was unique to client side workflow actions which no longer exist 2020-09-14 11:50:10 +01:00
Andrew Kingston 449122095e Show notification when testing workflow rather than feedback box 2020-09-14 11:49:29 +01:00
Andrew Kingston 4500388a08 Fix unsaved workflow blocks sharing same state 2020-09-14 11:48:08 +01:00
mike12345567 f213f567ef Adding delete record for when we build in contextual awareness. 2020-09-14 11:47:52 +01:00
Andrew Kingston 9df0dcb9ac Remove params from delete record workflow action as it is only a placeholder 2020-09-14 11:46:50 +01:00
Michael Shanks 2aca93ecf6 Event Modal - set padding to zero 2020-09-14 11:12:44 +01:00
Conor Mack a14e5dcee4 Icon and IconSelect Components 2020-09-14 11:08:03 +01:00
Martin McKeaveney 32771fe4e3 backend bug fixes 2020-09-14 11:03:27 +01:00
Andrew Kingston 4636d5e376 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 10:34:36 +01:00
mike12345567 53e4531c5b Making worker thread decision based on environment variable (BUDIBASE_ENVIRONMENT) and some general tidy up, as well as fixing delete event emitter 2020-09-14 10:30:35 +01:00
Andrew Kingston d166d8072b Merge in master 2020-09-14 10:16:09 +01:00
Andrew Kingston 757845c233 Add working test workflow button 2020-09-14 09:33:18 +01:00
Andrew Kingston 71388f47a4 Fix external workflow triggers not passing though instance ID 2020-09-14 09:12:17 +01:00
Andrew Kingston 56bbb645ad Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-11 21:33:05 +01:00
Andrew Kingston 5fedaced21 Hide workflow setup panel unless required 2020-09-11 21:32:32 +01:00
Andrew Kingston f405c92ce3 Improve selected workflow state labels 2020-09-11 21:32:11 +01:00
Michael Shanks 0982f627ef some mutating function parameter 2020-09-11 21:30:40 +01:00
Michael Shanks 0735eaa523 stop coercing values on the server - do on client instead 2020-09-11 21:24:52 +01:00
Andrew Kingston 085789ef1d Remove redundant test workflow tab 2020-09-11 21:22:46 +01:00
Andrew Kingston 731be7da2e Fix workflow editing state binding, fix transitions and fix select placeholder options 2020-09-11 21:14:58 +01:00
mike12345567 fc38871b66 Adding threading for when not running against PouchDB. 2020-09-11 18:47:22 +01:00
Michael Shanks d67b29d5d5 bugfix: events broken after views added to binding 2020-09-11 16:33:37 +01:00
Martin McKeaveney 4d411dec62 attachments 2020-09-11 15:09:56 +01:00
Andrew Kingston 643f58125e Fix workflow filter logic block tagline 2020-09-11 14:46:22 +01:00
Andrew Kingston 304e20428a Add better animations when editing workflow blocks and changing workflows 2020-09-11 14:31:01 +01:00
Andrew Kingston 494d38029f Rewrite workflow editing state for better UI sync 2020-09-11 14:23:31 +01:00
Michael Shanks 6b524caf9f Merge branch 'master' into event-panel 2020-09-11 12:04:25 +01:00
Michael Shanks 718f919354 cypress test fix : windows case-insensitive file path 2020-09-11 11:55:31 +01:00
Michael Shanks 062696958b removing feather icons - no longer used 2020-09-11 10:39:16 +01:00
Michael Shanks d951edad61 some comments 2020-09-11 09:53:02 +01:00
Michael Shanks 3b21b15259 fixing some broken tests 2020-09-11 09:29:23 +01:00
Michael Shanks 04f3ed5ec3 Merge branch 'master' into event-panel + binding fixes 2020-09-10 21:55:04 +01:00
Martin McKeaveney 8e3b3ca684 Merge pull request #592 from Budibase/dataform-datepicker
data form component date picker aware, form component refactor
2020-09-10 21:42:33 +01:00
Michael Shanks d3225cb51f events hooked up and working 2020-09-10 21:11:05 +01:00
mike12345567 b886c8f342 Adding joi validation to the workflow update and create to make sure structure is adhered to, this is built through a curried middleware, to validate on headers, body etc add multiple different validator middlewares to your endpoint. 2020-09-10 17:46:34 +01:00
Andrew Kingston 3bf0358716 Fix create user workflow action 2020-09-10 16:46:58 +01:00
Conor Mack cc154e3ca2 Line Chart - Prop Defaults, Custom Date Formats 2020-09-10 15:58:32 +01:00
Andrew Kingston 9077e89192 Fix record created trigger workflow block description 2020-09-10 15:29:35 +01:00
Andrew Kingston 52aaac8e44 Fix async loading of steps 2020-09-10 15:29:01 +01:00
Andrew Kingston e3707982de Update to use stepId for workflows and improve workflow UX when editing blocks 2020-09-10 15:27:39 +01:00
Andrew Kingston cc14ef2cc6 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-10 15:01:45 +01:00
mike12345567 3a591c13d0 Major update to server workflow backend, implementing a very basic queue API in between triggers and orchestration and then moving everything around to keep it generally more concise, creating a directory to handle all workflow related matters as they do not pertain to the API (running of workflows is a completely separate operation). 2020-09-10 15:00:21 +01:00
Andrew Kingston 06f1a7bbf1 Load workflow blocks from server and remove block definitions from builder 2020-09-10 14:16:43 +01:00
Martin McKeaveney c4eda0f1e7 bind checked 2020-09-10 13:10:57 +01:00
Martin McKeaveney 2abd6ed7b2 tidy up 2020-09-10 13:09:44 +01:00
Martin McKeaveney 44426b6bf8 data form component date picker aware, form component refactor 2020-09-10 13:04:45 +01:00
mike12345567 834a62934c Merge branch 'server-workflows' of https://github.com/Budibase/budibase into server-workflows 2020-09-10 11:44:59 +01:00
mike12345567 bd4afe891a Merge branch 'master' of https://github.com/Budibase/budibase into server-workflows 2020-09-10 11:44:33 +01:00
Andrew Kingston d41ffe3064 Tidy up unused code 2020-09-10 11:30:58 +01:00
Andrew Kingston 766d8ac8fc Add all workflow blocks to server and remove concept of workflow environment 2020-09-10 11:29:35 +01:00
Andrew Kingston 98ffd6f971 Remove client workflow execution 2020-09-10 11:27:31 +01:00
Andrew Kingston d15b8087e6 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-10 11:15:59 +01:00
mike12345567 08aa221d04 Implementing the block definitions as list APIs for the workflow, meaning client has to retrieve structure from API instead of inherently knowing it. 2020-09-10 11:06:13 +01:00
Michael Shanks d63e03b852 added PATCH record route 2020-09-10 09:36:14 +01:00
Andrew Kingston 42e7e82472 Remove console.log statement 2020-09-10 07:57:31 +01:00
Andrew Kingston 3f0fb2f258 Make workflow builder scrollable and improve UX around selecting and editing worflow blocks 2020-09-10 07:46:01 +01:00
Andrew Kingston e5afea0323 Fix arrow not transitioning out causing jumps when removing workflow blocks 2020-09-10 07:35:24 +01:00
Michael Shanks daba84abbe Create record added 2020-09-09 22:15:31 +01:00
Michael Shanks 93043c2ab3 events: Update record workings 2020-09-09 21:16:26 +01:00
Martin McKeaveney 3545808602 merge 2020-09-09 17:05:35 +01:00
Martin McKeaveney e41bdf7372 date picker component (#591)
* date picker component

* use bbui date picker in standard components

* using bbui component
2020-09-09 17:04:49 +01:00
Martin McKeaveney 9e93cf2dc5 remove yeet 2020-09-09 17:03:13 +01:00
Martin McKeaveney 3811917781 use full date to take TZ into account 2020-09-09 17:02:16 +01:00
Martin McKeaveney b177a36f89 lint, using bbui component 2020-09-09 16:27:46 +01:00
Michael Shanks e917d7467a Merge branch 'master' into event-panel 2020-09-09 15:59:57 +01:00
Michael Shanks 349f350ee4 backup before a merge 2020-09-09 15:56:31 +01:00
Conor Mack 8d3c7b3d0f Merge branch 'master' of https://github.com/Budibase/budibase into feature/screen-route-select 2020-09-09 15:08:41 +01:00
Conor Mack 6c24223aa8 Use BBUI selects for events and settings 2020-09-09 15:04:36 +01:00
Martin McKeaveney 9c62d0073b tidy up 2020-09-09 13:45:47 +01:00
Martin McKeaveney 6fc72330dc custom flatpickr styling, tidy up 2020-09-09 13:44:36 +01:00
Andrew Kingston 0b056bf469 Improve workflow block list design and UI consistency 2020-09-09 12:40:44 +01:00
Andrew Kingston 3897852d4c Improve layout and consistency of workflow block configuration 2020-09-09 12:36:19 +01:00
Martin McKeaveney 58fc6d291c using flatpickr, rollup config for CSS in the builder 2020-09-09 12:06:04 +01:00
Andrew Kingston ef9c5d9e1b Remove 1px border causing overflow and scrollbar in workflow page layout 2020-09-09 11:19:20 +01:00
mike12345567 7560a8dcfb Fixing component button styles, making all component dropdown menus buttons have the correct styling across the board. 2020-09-09 09:44:24 +01:00
mike12345567 682212a393 Fixing an issue where the buttons for the components hierarchy were overflowing outside of their parent panel, removing the specification of the width and height allows computed values to be used instead (including padding etc) - check this fixes it in windows, linux and electron app. 2020-09-08 18:38:47 +01:00
Martin McKeaveney 8f0656bd3d date field working with HTML5 inputs. Needs more sophisticated parsing 2020-09-08 18:03:41 +01:00
mike12345567 80bfbd08f0 Ignoring .idea (Webstorm) files and removing map file that was in gitignore (causing conflicts). 2020-09-08 16:52:09 +01:00
Andrew Kingston 403223411d Fix missing bbui dependency from standard components 2020-09-08 16:47:38 +01:00
Conor Mack 49a69b3b80 Tidyup 2020-09-08 16:15:14 +01:00
Conor Mack d0f48e3d0e Selects for Screens in Events and Settings 2020-09-08 16:03:04 +01:00
Victoria Sloan 229b05f47a removed redundant styles 2020-09-07 22:05:59 +01:00
Victoria Sloan 6ed3407a4f popover styles 2020-09-06 23:50:11 +01:00
Victoria Sloan 3bd3d71e1f removing uikit dependency 2020-09-06 23:21:40 +01:00
Victoria Sloan 620fd26fa6 changing UIkit dropdown to use bbui popover 2020-09-06 22:58:47 +01:00
Victoria Sloan 1e78aeafa9 remove UIkit imports 2020-09-06 22:41:46 +01:00
Victoria Sloan 7dca86a685 Merge branch 'master' into removing-uikit-06
# Conflicts:
#	packages/builder/src/components/common/DatePicker.svelte
2020-09-06 22:32:48 +01:00
Victoria Sloan 7de20f1dab upping the timeout for Create New Table test 2020-09-06 22:31:15 +01:00
Victoria Sloan 103dc5b780 Circle svelte-loading-spinner replacing uk-spinner 2020-09-06 22:19:16 +01:00