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

MVP: RUN Widget #288

Closed justinmc closed 7 years ago

justinmc commented 7 years ago

Part of the MVP push: https://github.com/Autodesk/molecular-simulation-tools/issues/283

The RUN widget doesn't exist at all at the moment. It will need to consist of a very basic UI for now, probably just a button and some states like loading, error, and success. It needs to be hooked up to a generic execution endpoint, as well as a way to check the status of the job, and it needs to all work with pipeDatas. In the long term it may need to support streaming logs via a web socket.

Will be affected by the pipeDatas refactor: https://github.com/Autodesk/molecular-simulation-tools/issues/284

justinmc commented 7 years ago

@dionjwa When we get to this, I'll try to create an empty widget that I can hand to you and have you fill in the needed functionality, like we talked about.

justinmc commented 7 years ago

The component that contains the pane with the Run button and other UI is status_run.jsx.

If anything needs to change in the far right panel that usually has the molviewer in it, that would be in view.jsx. This component is not specific to the RUN widget right now, instead it's just passed the current input and output pipeDatas for the currently selected widget.

The action that handles clicking the run button is here in actions.js.

The apiUtils method that handles making the api call to start the run is here in api_utils.js.

@dionjwa let me know if you can get started connecting the backend with this. I will meanwhile try to skip this step and work on the results step if I can. If I can help writing UI stuff for the run step let me know. We will probably have to pair at some point as our work overlaps.

justinmc commented 7 years ago

Closing with https://github.com/Autodesk/molecular-simulation-tools/pull/299