Question: Rather than show a confirmation dialogue when someone wants to archive a project (each row in the animation is a 'project'), I've decided to immediately archive, with the option to undo.

My question is, should this row disappear after a certain time? Or should it persist until the user visits another screen?

[![Archiving a row](https://i.stack.imgur.com/gxZEf.gif)](https://i.stack.imgur.com/gxZEf.gif)

Answer: 
I would lean towards suggesting that it should remain until the user leaves the page, or refreshes. It feels like it doesn't detract by having it there after the user performs the 'archive' action.

I'm making the assumption that the user wants to archive the project, rather than 'clean up' the list of projects - if this assumption is incorrect, perhaps a 'clear this message' option might be a good addition?
Based on the following :

* **Consistency**. Keep the message always in the same possition. Also, this kind of modelles feedback is usually located on the top (see gmail).
* **Relevancy**. The message should be visible only for as long it is relevant, otherwise it is noise to the user. It will not be relevant when the user switches to another task.

I recommend :

Display the message always on the top of the block. Hide the message after 20 seconds or when the user performs another action (change screen, select another item etc).