Undeletion in Midgard

cover image for Undeletion in Midgard

A trash can feature for Midgard was discussed originally in the 2006 Komorniki Midgard developer meeting, and the APIs for it made their way into the 1.8.0 release. Yesterday I added trash can browsing and undeletion support into Asgard, the new administrative interface.

To use it, first delete a folder:

Folder-Delete-Toolbar

Currently we ask for confirmation, but now that undeletion works we’re going to move to undo instead.

Folder-Delete-Confirm

Then, to undelete it we enter Asgard:

Enter-Asgard-Toolbar

And there to folders (topics), where we see that there are items in trash:

Asgard-Topic-Trash

Clicking the trash can reveals more details:

Asgard-Topic-Trash-List

Clicking undelete will undelete the folder and things under it, giving a set of informative status bubbles:

Asgard-Topic-Trash-Undelete-Status

Going back to the site we can see that the folder and articles under it are there, with even images retrieved from trash:

Midcom-Undeleted-Folder-Is-Back

Technorati Tags: , ,


Read more Midgard posts.