Closed justinmc closed 7 years ago
Where we're at now:
widgets
array at position 0.pipeDatas
map under run
. This is currently a flat map using a complicated string key. It should probably be a nested object, as long as it's not horrible to use the widgetId and then the pipeId to look it up.executeApp1Step0
. Instead it should use a generic execution route and the docker command/image should be specified in the widget. (code)What needs to change for MVP:
pipeDatas
needs a permanent solution.pipeDatas
.pipeDatas
.pipeDatas
.pipeDatas
and be a normal widget, not a special app state.I'm going to merge this PR earlier than I had expected in the initial description in order to help collaboration between @dionjwa and I.
At this point, pipeDatasByWidget
is a map keyed on widgetId containing a list of pipeDatas. The app should work up until the RUN step.
From here, the RUN step can be worked on by @dionjwa. I'll try to work on the RESULTS step by using dummy data for RUN.
This PR will probably sit for awhile while this project slows down, but I plan to start back up right here when I can!
When finished, this will use the session API to save state at every widget. It will also move the email entry to its own widget at the start to enable this.
It also requires a refactor of
pipeData
. I've hacked around this by keeping it as a flat Map, but keying it on a json string: { name, sourceWidgetId }. I may change this to match the server data, where it's nested by widgetId.Next step here is to get RUN to work. This probably means getting rid of the Thank You page, or moving that page into the View pane. This may be a good use case to start using the web socket.