Describe the task
Currently, mosaic for a volume is generated with a one-off terminal command. The same logic should be hooked up to a celery task, and somehow triggered from the front-end, either automatically or with a button.
Completion criteria
One way this could be handled is every time the multimask is saved, then the mosaic json is regenerated. This isn't ideal, as it would be advisable for a user to save the multimask more than once during an editing session, and triggering the mosaic json creation again a second time before the first request has finished is not a clean solution.
For the completion of this ticket, I think an admin-only button in the multi-trim interface is good enough for now.
Describe the task
Currently, mosaic for a volume is generated with a one-off terminal command. The same logic should be hooked up to a celery task, and somehow triggered from the front-end, either automatically or with a button.
Completion criteria
One way this could be handled is every time the multimask is saved, then the mosaic json is regenerated. This isn't ideal, as it would be advisable for a user to save the multimask more than once during an editing session, and triggering the mosaic json creation again a second time before the first request has finished is not a clean solution.
For the completion of this ticket, I think an admin-only button in the multi-trim interface is good enough for now.