Improve task selection in process status view
Based on some feedback related to the current Ceph issues allowing the process status view to DoS Arkindex on its own, as well as my own experience restarting tasks repeatedly while working on backend#1872 (closed), I made some small changes to the process status view:
- Clicking on a task in the graph allowed to either select or deselect it, but not clicking on a task in the list. Now, clicking on a selected task deselects it when it's the only one currently selected.
- When loading the page, tasks that have been restarted are not shown automatically. You can still select them manually.
This reduces the amount of unnecessary RetrieveTask
calls, and even allows the view to make 0 calls if you don't need the logs of any task, which can reduce the load on Ceph.