simularium / simularium-website

Front end website for the Simularium project, includes the Simularium viewer
https://simularium.allencell.org
Apache License 2.0
6 stars 3 forks source link

Restore previous trajectory state when cancelling auto-conversion request #525

Closed interim17 closed 3 weeks ago

interim17 commented 1 month ago

Use Case

We are currently clearing out previously loaded trajectories when conversion requests are initiated, so the viewer is empty if the conversion request is cancelled and the user goes back to /viewer.

Desired behavior: if the conversion process is cancelled, and the user navigates back to the viewer, the previously loaded trajectory should still be there.

Acceptance Criteria

A user can navigate back to their previously loaded trajectory when cancelling an autoconversion request.

Details

Should probably also retain time stamp, agent selections, and playback settings (looping) etc? Make sure we are correctly managing websocket connections and not opening and closing too many connections to the server.