1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00
Commit graph

2437 commits

Author SHA1 Message Date
Andrew Kingston 735e0e5f02 Add default props to confirm dialogue to silence warnings 2020-10-02 21:06:06 +01:00
Andrew Kingston cf9d261192 Remove deprecated portal implementation 2020-10-02 20:42:10 +01:00
Andrew Kingston d1512f202b Replace all usages of simple-modal with new modal 2020-10-02 20:41:21 +01:00
Andrew Kingston 774cd8e4ae Remove unused imports 2020-10-02 20:39:39 +01:00
Andrew Kingston 8a08383078 Update automations page to use new modal 2020-10-02 19:10:37 +01:00
Andrew Kingston 123b4394c3 Fix bug with deleting automations 2020-10-02 19:09:44 +01:00
Andrew Kingston 4d8e4061b3 Disable modal confirm button while async callbacks are being processed to avoid multiple executions 2020-10-02 19:09:19 +01:00
Andrew Kingston 2df104568d Fix error box styles 2020-10-02 18:49:00 +01:00
Andrew Kingston d2ec751891 Adjust modal styles 2020-10-02 18:37:24 +01:00
Andrew Kingston d7480b1535 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-02 18:35:27 +01:00
mike12345567 6922c1e090 Fixing cypress test broken by automation fixes. 2020-10-02 17:15:57 +01:00
mike12345567 e3b04b9bea Fixing cypress test broken by automation fixes. 2020-10-02 17:15:27 +01:00
mike12345567 d6e260a873 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 17:02:37 +01:00
mike12345567 89d609bdae Fixing test case broken by automation save record -> create record. 2020-10-02 17:02:18 +01:00
Andrew Kingston 31d31fcdda Fix multiselect crashing in certain circumstances 2020-10-02 16:53:41 +01:00
mike12345567 5540fa226c Fixing an issue with linked records showing up as models after id changes. 2020-10-02 16:49:36 +01:00
Andrew Kingston 4c18e93d8c Remove double 'no data' in empty tables 2020-10-02 16:48:01 +01:00
Martin McKeaveney cccc087727 merge 2020-10-02 16:45:59 +01:00
Andrew Kingston 812e4b891a Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-02 16:43:08 +01:00
mike12345567 4fbccfcc92 Some quick automation fixes. 2020-10-02 16:42:47 +01:00
Andrew Kingston e6db9aefd1 Add final version of multiselect 2020-10-02 16:38:33 +01:00
Martin McKeaveney 2dedafc90c v0.1.23 2020-10-02 16:24:39 +01:00
Martin McKeaveney ecb4cff96f CSV Import end to end 2020-10-02 16:16:06 +01:00
mike12345567 e24668253f Some quick fixes after merge. 2020-10-02 15:49:13 +01:00
Michael Shanks b8f759a15e fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
mike12345567 6b222ffbf0 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 14:49:23 +01:00
mike12345567 c69081f390 Changing the function that all get params builder functions are composed of to be better named. 2020-10-02 14:19:39 +01:00
Michael Shanks cb5e9f69a0 record value coersion - untested 2020-10-02 14:14:58 +01:00
kevmodrome e6ca68d1e9
merge master 2020-10-02 14:39:00 +02:00
mike12345567 e0e1cd7316 Some more test case fixes. 2020-10-02 13:04:44 +01:00
mike12345567 d4c3200322 Fix for an issue detected by user test case. 2020-10-02 12:52:15 +01:00
mike12345567 2aff68b245 Adding jsdoc to the db utils and removing the views, this is a breaking change for existing apps. 2020-10-02 12:37:46 +01:00
Andrew Kingston f53bf54929 Add close icon to modals 2020-10-02 12:27:52 +01:00
Andrew Kingston 337f0591b5 Update settings to use new modal 2020-10-02 12:22:49 +01:00
Andrew Kingston ccf41046d6 Add wide prop for modals 2020-10-02 12:22:34 +01:00
Andrew Kingston cfcfa0bb87 Rename linked rows to related rows and remove deprecated file 2020-10-02 12:02:11 +01:00
Andrew Kingston 42a7a21050 Add new modal to backend and fix backend file structure 2020-10-02 12:00:17 +01:00
Michael Shanks c94defdd45 mask user password on new app 2020-10-02 10:39:56 +01:00
Michael Shanks bb78c6bc9b unused imports 2020-10-02 10:07:43 +01:00
kevmodrome e501679813
data now syncs in the grid 2020-10-02 10:12:18 +02:00
kevmodrome 193f536834
adds add row functionality to grid component 2020-10-02 09:43:56 +02:00
Andrew Kingston d4ebd3bb63 Update multiselect component 2020-10-02 08:36:16 +01:00
Andrew Kingston f86e7b6c92 Add initial version of new modal (WIP) 2020-10-02 08:35:54 +01:00
Michael Shanks 9eec5d730f Calculate: stats is only option - remove select 2020-10-01 21:03:22 +01:00
Michael Shanks c91d9fed09 fix: View filter - handle change of field type 2020-10-01 17:34:25 +01:00
Michael Drury 0a80abfd0e Purging the use of views where possible, this update should remove the use of by_type and all model views. 2020-10-01 17:22:08 +01:00
Michael Shanks 3daaf88a74 Added datepicker to view filters 2020-10-01 17:07:53 +01:00
Michael Shanks 27015ebd17 fix: view filter handle bool, number & date 2020-10-01 16:55:17 +01:00
Martin McKeaveney 1fd749ce00 csv import functional 2020-10-01 14:48:07 +01:00
Michael Drury a891149b5b Fixing issues when adding and deleting records from the input record linking list. 2020-10-01 12:30:14 +01:00
Andrew Kingston 611793b32e Fix linked record selector 2020-10-01 11:56:06 +01:00
Andrew Kingston 3ddca769bb Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 11:53:57 +01:00
Andrew Kingston 6f0bcdcc72 Add hacked multiselect for testing 2020-10-01 11:53:43 +01:00
Michael Drury d1fa921c27 Adding validation so that a linked column and a primary display column cannot be renamed. 2020-10-01 11:49:49 +01:00
Michael Drury 0b97e4c8f3 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 11:33:53 +01:00
Andrew Kingston 928ff8c0bf Remove console.log statement 2020-10-01 11:33:40 +01:00
Michael Drury 58ff985a35 Resolving issues with deleting a linked column, should now be possible. 2020-10-01 11:33:37 +01:00
Andrew Kingston 708d127fef Prevent editing linked record columns 2020-10-01 11:33:26 +01:00
Andrew Kingston 71cc7a9059 Increase settings modal padding 2020-10-01 11:29:43 +01:00
Andrew Kingston 187cd89e35 Add functional backend UI for navigating relationships 2020-10-01 11:01:06 +01:00
Michael Shanks d54444d932 Merge branch 'master' into bugfix 2020-10-01 09:33:20 +01:00
Michael Shanks c50f2caedf bugfix: dont try to log to analytics when no config 2020-10-01 09:29:30 +01:00
Michael Shanks 50494e6136 bugfix: create app modal always appears on homescreen 2020-10-01 09:28:55 +01:00
Andrew Kingston 14457e5801 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 07:22:24 +01:00
Andrew Kingston d0ef67dee0 Use common Table component across backend UI and add initial empty page for relationships 2020-10-01 07:19:38 +01:00
mike12345567 aa59c9d41c Minor update to fully handle field deletion which is a linked field; from a model. 2020-09-30 23:14:39 +01:00
mike12345567 962ed5aaa6 Work towards handling linked record field updates, like the column being deleted from the model. 2020-09-30 17:52:57 +01:00
Martin McKeaveney fd47cf1624 v0.1.22 2020-09-30 17:05:19 +01:00
Martin McKeaveney 18a56b0290 fixing export styling 2020-09-30 16:53:11 +01:00
Andrew Kingston a4ccd75564 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-30 16:50:15 +01:00
mike12345567 5fd714d761 Fixing record editting. 2020-09-30 15:41:52 +01:00
mike12345567 709cdb5ea9 Changing relationship system around a little, to not work with fieldNames anymore in the view and simplifying quite a few of the update systems. 2020-09-30 15:37:38 +01:00
Martin McKeaveney 19a391f349 user creation CI 2020-09-30 15:20:26 +01:00
Andrew Kingston 8c0902f6a1 Add empty state when automations have no steps 2020-09-30 15:14:16 +01:00
Andrew Kingston c7cb8e4c68 Add empty state text to automate page and consistently style empty states 2020-09-30 15:06:47 +01:00
mike12345567 cf4b5a6fbf Fixing some missues with linked records after testing with the new UI. 2020-09-30 12:00:56 +01:00
Martin McKeaveney a35c4bca2a fix select elements 2020-09-30 11:57:42 +01:00
Andrew Kingston 2a3f4389b1 Update create automation modal to match other modal styles 2020-09-30 10:24:43 +01:00
Andrew Kingston 049426b399 Fix all styles in settings modal 2020-09-30 10:24:16 +01:00
Andrew Kingston dd4162dedf Update automation page with new form styles 2020-09-30 09:28:18 +01:00
Andrew Kingston 13f64d5b03 Bump BBUI version 2020-09-30 09:28:05 +01:00
Andrew Kingston e4ac832c32 Add WIP draft of linked records UI allowing single linked record selection 2020-09-29 18:27:35 +01:00
mike12345567 4073f354c8 Fixing issue with modelId being returned from API causing next model update to cause model to be returned as a record from model record view. 2020-09-29 18:03:29 +01:00
Michael Shanks e4ea9e608d Analytics enabled/disabled via specific ENV variable 2020-09-29 17:28:24 +01:00
mike12345567 ac7374662c A small performance enhancement, storing in the record that it does have links, so that when retrieving info for records it can exit the process early if a record has no mention of links. 2020-09-29 17:22:04 +01:00
mike12345567 31943cc66b Major update to linked record backend, now handling adding info about record links to all responses. 2020-09-29 16:40:59 +01:00
Michael Shanks a1db3bfecf Extra analytics logging from code review 2020-09-29 16:35:47 +01:00
Michael Shanks 838904d14e serve determines whether analytics are enabled 2020-09-29 16:23:34 +01:00
Michael Shanks f2a7ec83d7 added comment 2020-09-29 15:35:51 +01:00
Michael Shanks 69292c353c analytics - identify user + extra actions added 2020-09-29 15:26:56 +01:00
Andrew Kingston d446c9b1e5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-29 13:54:21 +01:00
Andrew Kingston 0d1a75b28d Add primary display column and update all backend UI popovers with new form styles 2020-09-29 13:54:04 +01:00
Andrew Kingston ecd5aa9eeb Bump BBUI version 2020-09-29 13:52:26 +01:00
Martin McKeaveney a91c86a4ac link 2020-09-29 12:31:41 +01:00
mike12345567 ecfca1dfab Adding routes for getting link records based on a record Id. 2020-09-29 12:02:06 +01:00
mike12345567 a76a7525e3 Update to make sure all linked record updates occur in sync with the API call. 2020-09-29 11:55:18 +01:00
Martin McKeaveney e7c3afb7f1 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney c83b1d4c35 organise async logic on homepage, style template cards and add images 2020-09-29 10:19:04 +01:00
kevmodrome 09a26a286a
adds events when records are deleted and adds more stylish controls 2020-09-29 11:05:55 +02:00
mike12345567 1b0b97d494 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-28 17:37:12 +01:00
mike12345567 eca5fad478 Adding main work to handle creating, deleting and managing the link docs between different linked records. 2020-09-28 17:36:59 +01:00
Martin McKeaveney c2321797f1 async templates working from S3 2020-09-28 17:04:08 +01:00
kevmodrome 0d68d40cfb
adds multiple selection delete functionality 2020-09-28 15:32:06 +02:00
Joe d96ea9424c Small UI update to the binding interface with automations
Heading fixed - size reduced.
Spacing updating with the list section
Placeholder added
Link to docs added
2020-09-28 12:19:11 +01:00
Joe ff5e0aa8cc UI update to the Table dropdown
Spacing within the dropdown improved. Utilised new components from bbui.
Attempted to change the dropdown button to a select so it was consistent with the other inputs but failed.
I did improve the dropdown button by ensuring the width remains the same when selecting different values.
2020-09-28 11:50:29 +01:00
kevmodrome 1068b067a8
bumps svelte-ag-grid component. 2020-09-28 11:51:37 +02:00
Michael Shanks 8aad7eb49d Fetching analytics userId, when api_key entered 2020-09-28 10:47:18 +01:00
Joe b79626450b Styling update to Binding Dropdown
Spacing improved
New Typography component added
Link pointing to docs added
Item hover improved
Textbox updated
2020-09-28 10:21:57 +01:00
kevmodrome 3d7bde554d
remove logs 2020-09-28 10:58:38 +02:00
kevmodrome 5505ad3cda
handle no data scenario 2020-09-28 10:58:06 +02:00
kevmodrome 3523b3dbf7
use Map() to handle renderers 2020-09-28 10:55:50 +02:00
kevmodrome b92ae95353
adds custom renderer for bool fields 2020-09-28 10:53:19 +02:00
kevmodrome 564192a525
updates grid componenet to use model schema insteady of first row keys of datasource 2020-09-28 09:15:43 +02:00
kevmodrome 8d5685c5e4
wip: add record saving functionality 2020-09-28 09:09:08 +02:00
Joe b4dc0708d1 Merge branch 'linked-records' of https://github.com/Budibase/budibase into linked-records 2020-09-26 00:46:30 +01:00
Joe eaef5d0419 Page titles and primary cta alignment and styling consistent
Data and automations page titles now use BBUI Heading component and Spacer component. They are not consistent in styling and spacing.

Welcome screen app cards buttons changed to text buttons. I made this change as there were too many buttons on the page. We want one primary button - create new app.

Early changes mage to binding popover. More to come.
2020-09-26 00:45:56 +01:00
mike12345567 a20ffd4c17 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-25 18:05:38 +01:00
mike12345567 b24ff486d8 Some groundwork for the linked records, building up a much more in-depth emitter for models and records to drive the record cleanup. 2020-09-25 18:05:26 +01:00
Andrew Kingston 24097184df Rename records to rows in automation definitions 2020-09-25 15:01:48 +01:00
Martin McKeaveney 97cf5c7b33 Merge branch 'master' of github.com:Budibase/budibase into template-export 2020-09-25 14:51:22 +01:00
Martin McKeaveney 7274d1dac7 re-add electron files 2020-09-25 14:51:04 +01:00
Martin McKeaveney db2d9af545 template export v1 2020-09-25 14:47:42 +01:00
Andrew Kingston 24e316f03d Fix cypress test 2020-09-25 13:12:16 +01:00
Andrew Kingston 7cd387527c Rename backend components file structure and standardise no table empty state 2020-09-25 13:11:57 +01:00
Andrew Kingston 1955e2f757 Unify all popovers and modals to the same styles and reuse common components. Fix filter options 2020-09-25 11:35:32 +01:00
kevmodrome b5359254ee
adds rudimentary form to handle input of new rows 2020-09-25 12:32:38 +02:00
Andrew Kingston 217529f3a4 Fix confirm dialogue inside table cell and standardise styles 2020-09-25 11:30:26 +01:00
kevmodrome 0e3e9d9f19
adds ag-grid component to display data 2020-09-25 11:44:05 +02:00
Andrew Kingston d2d68cbc40 Improve table pagination 2020-09-25 09:18:17 +01:00
Andrew Kingston d74cdf8261 Tidy backend table styles, fix layout and add scrolling 2020-09-25 09:17:58 +01:00
Andrew Kingston 4f763e536e Fix navigation on deleting views and use ConfirmDialog for view deletion to improve consistency 2020-09-24 16:33:21 +01:00
Andrew Kingston 9572167042 Use ConfirmDialog for table deletion to improve consistency 2020-09-24 16:32:35 +01:00
Andrew Kingston e3c2d9a34a Fix TablePagination crashing when non array data values are used 2020-09-24 16:32:02 +01:00
Martin McKeaveney 0b97930625 merge 2020-09-24 16:17:33 +01:00
Martin McKeaveney 408c814b26 Merge branch 'master' of github.com:Budibase/budibase into csv-export 2020-09-24 16:16:59 +01:00
Andrew Kingston 994dca1048 Standardise use of ConfirmDialog for automation deletion 2020-09-24 15:58:26 +01:00
Martin McKeaveney 9768a23ad4 merge 2020-09-24 15:52:09 +01:00
Martin McKeaveney 11c8010c91 use bbui component for dropzone 2020-09-24 15:50:51 +01:00
Andrew Kingston 5b08f4fb92 Tidy backend styles and improve consistency 2020-09-24 15:31:29 +01:00
Andrew Kingston 1d4a1b86ca Fix backend page height and improve style consistency 2020-09-24 15:11:40 +01:00
Andrew Kingston 6b50b47ee0 Fix font weight in create automation modal 2020-09-24 15:11:02 +01:00
Andrew Kingston 0593df0284 Bump bbui version 2020-09-24 15:09:16 +01:00
Martin McKeaveney 0c639bd1a2 providing ability to perform JSON and CSV export from popover 2020-09-23 23:56:26 +01:00
Martin McKeaveney e3c72c9020 tidy up 2020-09-23 21:03:13 +01:00
Martin McKeaveney 6d4ea5c627 ensuring s3 upload works in prod 2020-09-23 20:23:40 +01:00
Martin McKeaveney 329e885ab6 lint, tidy up and some simplification 2020-09-23 17:29:32 +01:00
Martin McKeaveney 938f675922 abstract local file upload logic 2020-09-23 17:02:06 +01:00
mike12345567 4bf40a976d Adding re-triggering of test case to help with running test case in GH actions. 2020-09-23 16:35:34 +01:00
mike12345567 8765c185af Running linter to cleanup formatting. 2020-09-23 16:20:39 +01:00
mike12345567 58f643bc30 Extending the possible time the test case can wait for the record to be updated into the database (automation trigger) and adding JSdocs to automation utilities as per PR suggestions. 2020-09-23 16:16:24 +01:00
Martin McKeaveney f40f388dd8 local file upload from apps 2020-09-23 16:15:09 +01:00
mike12345567 d5112c82c6 Fixing delay as it was causing test case to be inconsistent (triggering automation) 2020-09-23 15:29:25 +01:00
mike12345567 e7be9dd698 Fixing issue with test case. 2020-09-23 15:16:14 +01:00
mike12345567 98ce6dce33 Merge branch 'async-workflow-blocks' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-23 13:34:27 +01:00
mike12345567 5773107516 Adding clean up of records based on the model schema to save and update records. 2020-09-23 13:34:11 +01:00
Andrew Kingston 3caac561b8 Merge branch 'async-workflow-blocks' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-23 12:31:01 +01:00
Andrew Kingston 490183b2ab Treat automation step inputs of type number as string, and let server handle types 2020-09-23 12:30:38 +01:00
mike12345567 0a665e05c8 Update to include update record internal action option, seems very useful rather than having to delete and re-create records every time. 2020-09-23 12:29:20 +01:00
Andrew Kingston 725a041915 Merge branch 'async-workflow-blocks' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-23 12:25:20 +01:00
Andrew Kingston 56021cf4b2 Sort automation steps by name 2020-09-23 12:25:14 +01:00
Andrew Kingston e3fdd1ee46 Improve responsiveness, handle scrolling and tidy up CSS in automations page 2020-09-23 12:24:57 +01:00
mike12345567 93611d5d83 Implementing type cleanup based on the input schema, specifically for booleans and numbers. 2020-09-23 11:54:15 +01:00
Andrew Kingston 1c2d90fe3d Fix automation block taglines without bindings 2020-09-22 15:42:56 +01:00
mike12345567 dfe3257993 Fixing an issue with the fill in of test data when triggering. 2020-09-22 15:25:26 +01:00
Andrew Kingston b9cc3ac7cc Fix crashing when default inputs are undefined in block definition 2020-09-22 15:14:50 +01:00
mike12345567 8fe50febc4 Adding default options which will be used in the builder if no directory or bucket is specified as environment variables. 2020-09-22 14:37:09 +01:00
mike12345567 b1e1e06895 Updating async action loading based on new structure of S3 and manifest. 2020-09-22 14:07:22 +01:00
mike12345567 0c5f30a60b Merge branch 'rename-workflow-automation' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-22 13:00:04 +01:00
mike12345567 cef65a3d9a Removing log statement. 2020-09-22 12:56:48 +01:00
mike12345567 d6213912fd Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-22 12:00:54 +01:00
mike12345567 90027952ea Quick fix based on test case failure. 2020-09-22 10:41:56 +01:00
mike12345567 fca788f424 One final change, match is likely better than matchAll due to the global nature of the regex and its lack of capture groups currently (in workflow mustache cleansing). 2020-09-22 10:33:25 +01:00
mike12345567 5965a04979 Updating GH actions to use Node 12 LTS to be inline with Node version used in Docker. 2020-09-22 10:12:17 +01:00
mike12345567 944d9edbad Adding all fixes for prettier so that test will run. 2020-09-22 09:57:05 +01:00
mike12345567 cb08efdd5f Further testing. 2020-09-22 09:54:02 +01:00
mike12345567 42d9dd26d9 Confirming suspicions about why a testcase is failing in GH actions only. 2020-09-22 09:50:16 +01:00
mike12345567 84372c0100 Adding to test case to retry looking for entries out of the triggered workflow in the case of slow machines. 2020-09-22 09:13:19 +01:00
mike12345567 e10a8d1f05 Simplifying review comment changes. 2020-09-22 08:58:16 +01:00
mike12345567 0e932a1999 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 23:19:56 +01:00
mike12345567 0e4748003e Updates as per review comments. 2020-09-21 23:19:45 +01:00
Andrew Kingston 05d4b19300 Fix formatter 2020-09-21 16:45:55 +01:00
mike12345567 fdc653add8 Merge branch 'rename-workflow-automation' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-21 15:06:52 +01:00
mike12345567 aee21a75c6 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 15:05:42 +01:00
mike12345567 4b54edf02b Fixing a problem detected by a test case. 2020-09-21 15:05:24 +01:00
mike12345567 e41c77b5e2 Updating yarn lock. 2020-09-21 14:53:32 +01:00
mike12345567 37180a9d7f Merge branch 'rename-workflow-automation' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-21 14:51:48 +01:00
mike12345567 088c7440b6 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:49:15 +01:00
mike12345567 9274556a1b Fixing linting. 2020-09-21 14:48:24 +01:00
mike12345567 5f2acaff01 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:01:00 +01:00
mike12345567 c374bd48c8 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:53:06 +01:00
mike12345567 b2d06b7a06 Merge branch 'master' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:52:26 +01:00
mike12345567 88d22baf1a Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Andrew Kingston c3449141c8 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-18 20:31:39 +01:00
Andrew Kingston 7052ca2241 Allow numerical workflow block input types 2020-09-18 20:31:18 +01:00
Andrew Kingston 906dd7a0ec Bump bbui version 2020-09-18 20:30:35 +01:00
Andrew Kingston 634bf10bd2 Bump bbui to latest version 2020-09-18 17:41:36 +01:00
mike12345567 cfb10ebbe2 Outputting the input record so that it can be used in later steps. 2020-09-18 17:20:19 +01:00
Martin McKeaveney 9310b812d8
Update padding for attachment images 2020-09-18 16:52:20 +01:00
mike12345567 60b907054a Initial work towards async block loading, it will pull the manifest.json from a specified bucket and load packages in async when it does not have them - this will need another feature for when running in the cloud to pull all packages it doesn't currently have to the install directory (EFS). 2020-09-18 16:50:52 +01:00
mike12345567 d39a88e3dd Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-18 16:45:50 +01:00
mike12345567 17588d9f6b Fix for when table is deleted, was attempting to retrieve views for the table which no longer exists. 2020-09-18 16:45:03 +01:00
Martin McKeaveney b0aedd38ed lowercase file extension 2020-09-18 16:19:41 +01:00
Andrew Kingston aa05718766 Prevent datetime and boolean fields showing in workflow block setup until these are handled properly 2020-09-18 16:14:37 +01:00
Andrew Kingston 68c84438da Fix part of workflow cypress tests 2020-09-18 16:13:42 +01:00
Martin McKeaveney 8ce3d4124b file size limits 2020-09-18 15:08:36 +01:00
Andrew Kingston 446cd55d44 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-18 14:34:49 +01:00
mike12345567 85dcb28375 Fixing an issue where inputs from the builder send empty string when realistically it means no input. 2020-09-18 14:34:14 +01:00
Andrew Kingston 4dc2acc4b4 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-18 13:56:10 +01:00
mike12345567 0aa1c38878 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-18 13:52:17 +01:00
mike12345567 cba125256a Fixing an issue where any workflow would be triggered by the same type of event - now matching models. 2020-09-18 13:51:56 +01:00
Martin McKeaveney 881627ff7b tidy up 2020-09-18 12:43:45 +01:00
Martin McKeaveney 319fcabaa5 removing delete functionality - not necessary 2020-09-18 12:41:39 +01:00
Andrew Kingston 1aef879a62 Improve workflow block tagline rendering and support pretty printing enum bindings 2020-09-18 12:01:57 +01:00
Martin McKeaveney 28fd0e4831 remove magic numbers 2020-09-18 11:04:09 +01:00
Martin McKeaveney 14283a7b96 return processed file sizes 2020-09-18 11:01:39 +01:00
Martin McKeaveney 642662c8bc fix transition dropdown bug 2020-09-17 22:02:30 +01:00
Andrew Kingston 15cc7a2e6c Add component for rendering workflow mustache taglines 2020-09-17 17:50:54 +01:00
Andrew Kingston 6c4cf24a94 Fix filter workflow block tagline 2020-09-17 17:49:57 +01:00
Martin McKeaveney 5d3867558a merge with master 2020-09-17 16:40:09 +01:00
Martin McKeaveney 5150288e85 more lint 2020-09-17 16:38:33 +01:00
Martin McKeaveney bb2058a010 lint 2020-09-17 16:36:39 +01:00
mike12345567 53bbcd9928 Fixing an issue with deletion action. 2020-09-17 16:28:48 +01:00
mike12345567 22ef6eb4d3 Some fixes after playing around with the new Builder UI. 2020-09-17 16:16:05 +01:00
Andrew Kingston 076ed09c38 Fix delay workflow block setup 2020-09-17 16:00:55 +01:00
Andrew Kingston 6b11add939 Replace string.replaceAll due to bad support 2020-09-17 15:46:59 +01:00
Andrew Kingston 2287675c79 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-17 15:15:54 +01:00
mike12345567 dd0cffc226 Making the trigger endpoint detect if the trigger should have a model input and faking any properties that don't exist if required - this behaviour overridden by inputs from external client. 2020-09-17 15:14:08 +01:00
Andrew Kingston 162401143f Fix binding of nested fields in workflow save record action 2020-09-17 15:11:28 +01:00
Andrew Kingston 416e60bd3a Fix some small svelte warnings 2020-09-17 15:09:06 +01:00
Andrew Kingston 52dde35dee Rename user presentable strings from workflow blocks to steps 2020-09-17 15:08:37 +01:00
Martin McKeaveney 9032738ae8 delete local file upload when file deleted 2020-09-17 15:08:28 +01:00
Andrew Kingston b3693319f8 Rename user presentable strings from workflow blocks to steps 2020-09-17 15:08:22 +01:00
Andrew Kingston f9c616e3e8 Add labels to workflow blocks 2020-09-17 15:07:32 +01:00
Andrew Kingston aec7cb9cc6 Tidy up by using optional chaining 2020-09-17 14:19:14 +01:00
Andrew Kingston 26c952b9a2 Use user readable enums in workflow block setup fields 2020-09-17 14:18:22 +01:00
Andrew Kingston 063a774aee Add data binding to nested fields within workflow block setup 2020-09-17 14:05:53 +01:00
Andrew Kingston f42a001b89 Block deletion of workflow trigger unless it's the only step left 2020-09-17 14:04:45 +01:00
Andrew Kingston a1f52b733b Update save record block definition 2020-09-17 14:04:13 +01:00
Andrew Kingston f1696e08ea Fix nullish values in RecordSelector 2020-09-17 13:44:18 +01:00
Andrew Kingston a5a7ba68e3 Add data binding to workflow block setup 2020-09-17 13:43:52 +01:00
mike12345567 be67eaf9c8 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 494e04f19f allow deletion of images 2020-09-17 12:45:28 +01:00
mike12345567 8477ad8727 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 ec265f6821 Update to improve test cases and get JOI to work as expected. 2020-09-16 19:25:52 +01:00
Andrew Kingston 15e3b48f0a Remove full stop in email workflow block description 2020-09-16 15:39:19 +01:00
Andrew Kingston 6da25faaa4 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-16 15:04:58 +01:00
mike12345567 0c1ff2fd70 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 4e4e15eada Use bbui selects for all selects in workflow steps 2020-09-16 14:38:18 +01:00
mike12345567 1ab787afd7 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 7ef5d8a9b8 Update builder to support new block definitions with JSON schema 2020-09-16 13:55:28 +01:00
Andrew Kingston 4fed6c05d3 Make filter condition human readable since they're just strings 2020-09-16 13:54:56 +01:00
Andrew Kingston fdca9240e9 Fixing definition for filter workflow block 2020-09-16 13:54:27 +01:00
Martin McKeaveney bd3a604c7a more design updates on attachment picker 2020-09-16 13:29:18 +01:00
Martin McKeaveney b1dbc7cc62 Dropzone styling 2020-09-16 12:18:47 +01:00
Andrew Kingston 9f3ca42995 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-16 11:40:09 +01:00
mike12345567 cb1ff4ac3b 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 182b70135e 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 86ae8d038a file attachments and processing working, basic design for dropzone 2020-09-15 16:22:13 +01:00
mike12345567 4625b7a97e 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 79c4d1ed65 Update workflow block definitions 2020-09-15 14:45:37 +01:00
mike12345567 e2791d832b 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 611e77cf0a Merge branch 'master' of https://github.com/Budibase/budibase into feature/icon-component 2020-09-15 13:44:44 +01:00
Conor Mack ef52714e07 Tidyup 2020-09-15 13:28:51 +01:00
Conor Mack 655b39c39c Icon and Icon Select Component 2020-09-15 11:53:02 +01:00
Michael Drury 0d2f7759ee
Merge pull request #607 from Budibase/server-workflows
Server workflows
2020-09-15 09:09:55 +01:00
Andrew Kingston cff883503e Fix rollup not live reloading correctly 2020-09-15 07:55:32 +01:00
Martin McKeaveney b1725ec541 v0.1.21 2020-09-14 17:11:47 +01:00
Martin McKeaveney 132c83fb84 only build electron on releases 2020-09-14 17:02:42 +01:00
Martin McKeaveney 4d85b1610c import error with events panel 2020-09-14 17:00:16 +01:00
Martin McKeaveney d414e84748 v0.1.20 2020-09-14 16:26:18 +01:00
Martin McKeaveney e4e8d3be18 fix pagination 2020-09-14 16:18:02 +01:00
Andrew Kingston 980e35942d Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 16:04:01 +01:00
mike12345567 e14677fcff Small fix for last change, singular to plural in API definition. 2020-09-14 16:00:51 +01:00
Martin McKeaveney 4b43392d0f
Merge pull request #609 from Budibase/frontend-bugs
fix frontend bugs
2020-09-14 15:51:38 +01:00
Andrew Kingston 395575b4da Add more explicit params to arrow functions 2020-09-14 15:46:21 +01:00
Martin McKeaveney 8cd5076f96 lint 2020-09-14 15:41:20 +01:00
Martin McKeaveney 72e3070ad2 update view schema when table updated 2020-09-14 15:40:45 +01:00
mike12345567 b1a8837c0c Adding new API endpoint which provides all definitions in one. 2020-09-14 15:34:09 +01:00
Martin McKeaveney 618730fe21 remove map file 2020-09-14 15:23:08 +01:00
Martin McKeaveney 23353f2e60 adding bbui styles into standard-components 2020-09-14 15:12:02 +01:00
Andrew Kingston 76cfb5062d Revert formatting to 80 print width 2020-09-14 14:35:03 +01:00
mike12345567 c4683a3743 Updating some test cases which were failing silently and changing how environment want handled. 2020-09-14 14:32:20 +01:00
Andrew Kingston 82e73ae0ea Merge in master 2020-09-14 13:55:40 +01:00
Michael Shanks f6c5815d7c
Merge pull request #605 from mjashanks/bugfixes
Bugfixes
2020-09-14 13:52:35 +01:00
Andrew Kingston be3a10954f Remove standard components dist directory 2020-09-14 13:32:52 +01:00
Andrew Kingston 8befaee4d0 Fix cypress test for create workflow 2020-09-14 13:29:32 +01:00
Michael Shanks 03fe8983c6 fix: override client context store on create 2020-09-14 12:46:49 +01:00
Andrew Kingston 6fe55814c2 Fix workflow tests 2020-09-14 12:38:17 +01:00
Michael Shanks 61a882408b updated BBUI 2020-09-14 12:34:46 +01:00
Michael Shanks 4d146035de NavigateTo action: use DataList, so URLs are configurable 2020-09-14 12:32:44 +01:00
Michael Shanks 1a012515f9 fix: re-exposing store in component api, as form depends on it 2020-09-14 12:32:10 +01:00
Martin McKeaveney 454c913127 fix frontend bugs 2020-09-14 12:07:08 +01:00
Andrew Kingston 62d02c64c9 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 11:53:19 +01:00
Andrew Kingston 224aef3478 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 e7dcbd13f4 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 5141353b33 Show notification when testing workflow rather than feedback box 2020-09-14 11:49:29 +01:00
Andrew Kingston 8db6122416 Fix unsaved workflow blocks sharing same state 2020-09-14 11:48:08 +01:00
mike12345567 5c94210d72 Adding delete record for when we build in contextual awareness. 2020-09-14 11:47:52 +01:00
Andrew Kingston 24c9042824 Remove params from delete record workflow action as it is only a placeholder 2020-09-14 11:46:50 +01:00
Michael Shanks 60d9ae8343 Event Modal - set padding to zero 2020-09-14 11:12:44 +01:00