Autodesk / molecular-simulation-tools

Web applications for molecular modeling using the Molecular Design Toolkit
http://molsim.bionano.autodesk.com
Apache License 2.0
16 stars 10 forks source link

Frontend App Session #280

Closed justinmc closed 7 years ago

justinmc commented 7 years ago

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.

justinmc commented 7 years ago

Where we're at now:

What needs to change for MVP:

justinmc commented 7 years ago

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.