Fix dashboard losing track of jobs when refreshing during launch
Summary of Changes
This syncs job state to window.localStorage. This should fix the bug where a user launches a job, refreshes the page, and then the page shows another launch button instead of a spinner.
Checklist
-
The MR has a clear and concise title -
Code is self-documented and follows style guidelines. -
Automated tests are written and pass successfully. -
Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable) -
Readme file is present and up-to-date.
Documentation Updates
Additional Notes
Closes #23