kendraio / kendraio-app

Kendraio App
https://app.kendra.io
MIT License
22 stars 6 forks source link

Flow Editor #131

Open darrenmothersele opened 4 years ago

darrenmothersele commented 4 years ago

Future plans for creating and editing flows.

darrenmothersele commented 3 years ago

Editing of nested flows gets tricky using the current Flow editor, for example:

Screenshot 2021-03-11 at 09 34 19

1) this is just a simple example of a flow within a grid 2) within the grid config hides the flow for the "workflow cell renderer" 3) the cell renderer takes a "blocks" param which is an embedded flow 4) each of the buttons within the "actions" block also have a "blocks" param with an embedded flow for when the button is pressed

darrenmothersele commented 3 years ago

Proposal: split the editor pane into three parts:

1) The Flow metadata (as currently seen at the top) 2) A simplified "tree" view of the current flow 3) A properties pane below for the block currently selected for editing

This should allow a better control over the flow hierarchy, and easier editing of the blocks deeply nested within the Flow.

totorogendut commented 3 years ago

Dropping off my suggestions here, which is mostly UX improvement:

1. Allow user to name Flow block

If I'm trying to work with a Workflow with multiple Mapping blocks, there's a slight unnecessary mental work to identify which one of the Flow that I'm trying to edit. Sometimes this can even opening and closing the blocks several times until I found the one I'm looking for.

2. Allow Flow to show error states

EXAMPLE:

blocks state

Show problematic flows with abnormal state (throwing error, null input from previous block, etc) will help users quickly assess and prioritize where they should put extra care (which also probably can play quite nice with #135). This can be automatic, but I think there should be a button to validate Flow on demand since a few glaring red blocks would be scary for first time users who haven't a clue what was going on.

3. When opening "Create a new Task", put Flows into separate categories

EXAMPLE:

blocks separate category

I'm still hovering for tooltips all over the Flow icons to find something I wanted...

4. (Bug & Enhancement) Updating HTTP Flow doesn't refetch data with new endpoint

But dragging the order of the Flow does refetching the API.

darrenmothersele commented 3 years ago

some great suggestions here, thanks

darrenmothersele commented 3 years ago