dafnifacility / user-feedback

A place for gathering user feedback and providing support.
3 stars 0 forks source link

Deleting workflows breaks dataset creator links #110

Open fmcclean opened 2 years ago

fmcclean commented 2 years ago

When a user deletes a workflow, the source of any datasets created using it is no longer traceable. This is very undesirable because one of the biggest advantages of DAFNI is that everything is traceable.

I propose two possible solutions:

  1. Hide the workflow when it gets deleted (using a deleted flag or something) but keep it accessible so that the links from datasets don't break
  2. Store a full copy of the workflow and parameters with the created datasets
roseDickinson commented 2 years ago

Thanks for this request

We have discussed the idea of allowing users to "archive" assets as well as deleting. Where archiving a workflow would essentially set that flag and archived workflows would be hidden from the catalogue but instances/datasets would still be able to find them. Hopefully that would address this request while also keeping the current deletion functionality for those who do want to fully delete a workflow (for example if a workflow was accidentally created).

We could further extend the feature by suggesting a user archive a workflow if they try to delete one that has datasets associated with it.

fmcclean commented 2 years ago

Sounds like a good idea to me