I'm fixing the delete model behavior. The new delete behavior will skip the approval workflow and allow users to delete models directly after confirming. On delete now creates a delete draft and directly publishes that draft. Publishing a delete draft removes the model (i.e. Campaign) from the list of models that is shown in the CASEI UI.
Users are prompted with a modal to confirm deletion of the model directly:
The deleted model is still listed with the other models:
Only the historical drafts are now available to be viewed. Users cannot edit deleted drafts.
This fixes issue #551
What I'm changing
I'm fixing the delete model behavior. The new delete behavior will skip the approval workflow and allow users to delete models directly after confirming. On delete now creates a delete draft and directly publishes that draft. Publishing a delete draft removes the model (i.e. Campaign) from the list of models that is shown in the CASEI UI.
Users are prompted with a modal to confirm deletion of the model directly:
The deleted model is still listed with the other models:
Only the historical drafts are now available to be viewed. Users cannot edit deleted drafts.