Flow 4.1.0

Thu Jan 18 2018 23:58:37 GMT+0100 (CET), Peter Širka

Total.js Flow 4.1.0

Improved importing components from templates

If you'll install components from preddefined templates then Flow shows additional form with all registered Flow components in the selected template. Now you can choose which components you want to install.

Importing components

A quick update of component

You can update a Flow component to a new version quickly, just click on the Database section on the button defined in the component.

Qucik Refresh/Update Flow componennt

Changing a default color for component

It was a missing feature. This feature can be helpful for multiple same components in designer, you can easily change colo of each component, just open Settings.

Component colors

BTW: color is saved in component.color property. Default color is a color defined in the component declaration.

Notes

Components can create additional notes dynamically. Notes can be very helpful in different cases and notes are rendered in the Info panel. Important: components need to support this feature.

Notes

Notes can be created in settings in two ways:

ON('save.yourcomponent', function(component, options) {
    component.notes = 'Your notes';
});

or in the Settings directly:

<div data-jc="textbox" data-jc-path="comnotes">Notes</div>

User-defined templates

I have added a new option into the Flow options called templates2. This property can contain addtional link to user-defined templates. The file needs to have same structure as this file.

/config:

package#flow       (Object)  : { url: '/', templates2: 'https://yourdomain.com/templates.json' }

Updated traffic info

Traffic show % percentage from the count of all messages and now it shows a count of processed messages in input and output for the specific component.

Traffic

Finding components

This was a missing feature. Just press F1 and type find. A slick animation highlights the component in the Flow designer.

Find

Backing up

New version supports backing up of settings for Flow designer. Backup can be enabled in the Flow settings:

package#flow       (Object)  : { backup: true }

Backup

Starter kit

I have prepared a starter kit for newbies. Just choose a project and download it. Then follow instructions in readme file.


Tags

Follow us

Latest blogs
How do I transform ErrorBuilder output?
Mon Jan 29 2018 09:22:49 GMT+0100 (CET)
Flow: REST API components
Mon Jan 22 2018 10:11:14 GMT+0100 (CET)
New Total.js Eshop v11
Fri Jan 19 2018 09:55:09 GMT+0100 (CET)
New Total.js CMS v11
Fri Jan 19 2018 00:24:05 GMT+0100 (CET)
Flow 4.1.0
Thu Jan 18 2018 23:58:37 GMT+0100 (CET)

Latest comments
Total.js is amazing! ;)
Leonardo Hessel
Tue Dec 19 2017 19:51:15 GMT+0100 (CET)
It's easy, just set e.g. `res.status = 404`.
Peter
Thu Nov 16 2017 07:54:11 GMT+0100 (CET)
Yes, it's valid.
Peter
Thu Nov 16 2017 07:53:06 GMT+0100 (CET)
How do we set the status code in custome middleware?
Nabeel
Mon Oct 02 2017 10:31:40 GMT+0200 (CEST)
Node... Awesome applications.
oscar
Thu Aug 31 2017 02:21:59 GMT+0200 (CEST)
Awesome!
Tema
Wed May 10 2017 06:33:13 GMT+0200 (CEST)
Awesome, thanks!
Tema
Tue May 02 2017 14:13:03 GMT+0200 (CEST)