Show WorkerRun details when confirming a worker results deletion in advanced mode
https://redmine.teklia.com/issues/7698
In the Delete worker results modal, clicking on Delete opens another modal to confirm your choices before starting the deletion. The only way to run a deletion using a specific worker run ID is to use the Advanced mode, and the confirmation modal there will only display the worker run ID that you entered without showing any details, preventing humans from checking that whatever they have is valid.
When clicking on Delete in advanced mode, if a WorkerRun ID is set, the component should set the button to appear as loading and try to retrieve the WorkerRun using the RetrieveWorkerRun
endpoint. No matter whether it succeeds or fails, the confirmation modal should then open.
When the WorkerRun has been successfully retrieved, the modal now shows its details, just like it would display the other filters: the worker version name, model version name and configuration name. It could also use links to the worker version and model version details pages, opening in a new tab, to allow getting more details on those.
When the WorkerRun could not be retrieved, a Bulma warning notification can be shown instead to note that the WorkerRun could not be retrieved. The deletion is still allowed, because it is possible to not have access to a WorkerRun that is linked to some results in a project and still have to delete it.