Add deletion confirmation message for all files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Yuliya Bozhko |
Bug Description
Currently, Mahara 1.9, when you delete a file, you only get a confirmation message when the file is used in one or more pages. However, when the file has not yet been used, a click on the trashbin in Content -> Files deletes the file immediately.
Since we don't have a trash where you could get things back that you deleted accidentally, your file is lost forever. The delete button is very close to the edit button making it easy to click on the wrong button.
It would be better if file deletions are confirmed at all times. I think we should keep the information about the number of pages that a file is used in to alert the user that they actually do use the file already and don't just have it sitting in their account.
With the introduction of artefact-level sharing, Yuliya and I briefly discussed whether users should be alerted to the fact that they have shared an artefact that they are about to delete. I think that is not necessary because we also don't let users know when they delete a page that they have shared with somebody else. Or would we need to let them know?
Since we already have the functionality of "about to delete a file that you use in a page", maybe it would be easy to implement also "about to delete a file that you have shared with someone"?
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
assignee: | nobody → Yuliya Bozhko (yuliya.bozhko) |
milestone: | none → 1.10.0 |
tags: | added: usermanualupdate |
tags: |
added: nominatedfeature removed: usermanualupdate |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
https:/ /reviews. mahara. org/#/c/ 3437/