qri-io / frontend

frontend application for our qri.cloud site
GNU General Public License v3.0
3 stars 2 forks source link

Cw/workflow refactor #650

Closed chriswhong closed 2 years ago

chriswhong commented 2 years ago

Refactors the workflow creation and editing UI, Closes #616

Automation happens via two components NewAutomationEditor and ExistingAutomationEditor which are children of their respective routes. Both of these render WorkflowPage, which incorporates the same EditorLayout we are using in the static dataset editor UI.

WorkflowPage then renders WorkflowEditor, which contains the code blocks, new sidebar, etc.

We have replaced "workflow" in the UI, but it is still present in the codebase. Should be seek to change all references to "workflow" into "automation"? This would carry over into the backend as well, and may not be worth the effort since workflow is still a thing in the behind the scenes.

In addition to reviewing the code, please pull this down and use it. Try to go through both creation of an automated dataset and editing the automation of an existing dataset.

TODO:

Found during review:

chriswhong commented 2 years ago