grav-plugin-admin icon indicating copy to clipboard operation
grav-plugin-admin copied to clipboard

Move deleted pages to a "trash" folder

Open fvsch opened this issue 9 years ago • 2 comments

Yet another feature request for the sake of protecting content from careless deletions. :)

It could be interesting to change the the taskRemove implementation to (perhaps optionally) move the page's folder to a "trash" folder, perhaps in user/trash or user/pages/.trash.

This could be fairly easy to do when deleting the whole folder. When deleting a translation, it might be harder I guess.

This wouldn't be a small implementation since there would need to be a trash view, a restore option, messages for success and for "can't restore because X", etc.

fvsch avatar Apr 21 '16 09:04 fvsch

I think a Trash system would be a great feature. I'll make sure we look at this for Admin Plugin 1.3, or possibly 1.2.

rhukster avatar Apr 29 '16 16:04 rhukster

Does anyone know if this ever happened? I need to restore 2 pages that were accidentally deleted.

taramooreUT avatar Jan 09 '24 16:01 taramooreUT