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

  • 1
    What happens if the user archive more than one project ? The lines with "undo" action stay growing in number ? Or just the last one is avaible to perform this action ? Mar 27, 2017 at 10:34
  • 2
    If the user archives more than one, the number grows. I imagine they are unlikely to be archiving a large number in one go.
    – Jamie
    Mar 27, 2017 at 10:45
  • 2
    On Google's new tab page, when you click the X to remove a thumbnail, the undo dialogue stays until you refresh or navigate away.
    – SGR
    Mar 27, 2017 at 14:42
  • By "disappear", you just mean a visual effect, right? You're not proposing to silently discard archived data after a timeout, right? Mar 27, 2017 at 17:59
  • 2
    If you remove the line after a timeout for more than a second or so, the lines below will no doubt slide up. If the user is about to click on archive on a row below, it suddenly moving up will mean they likely click on the row below their intended target. Sure, they can undo in your example, but, as a user, it would be pretty annoying to have your rows move around "randomly" without direct user interaction.
    – fdomn-m
    Mar 28, 2017 at 7:37

4 Answers 4


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?

  • 2
    I would personally prefer "hide" over "clear", in case you work with a good number of less strong English speakers.
    – yo'
    Mar 27, 2017 at 20:21

I think that choosing when to remove a deleted item from view depends heavily on four things:

  • Impactfulness - Is the impact of the action high or low - are the consequences significant or trivial?
  • Immediacy - if it's impactful, is a user likely to realise they've made a mistake in taking this action straight away, or later on, when they've navigated away?
  • Frequency - Is it likely that the user will be moving down the screen clicking delete on many, many rows or just picking one out to remove?
  • Next Intent - What will the user be doing once they've deleted the row, and will the presence of residual content be in the way?

How do those affect things?

If it's impactful, then the residual undo message you suggest is helpful. But if they are going to be deleting many rows then multiple undo messages are likely to be unhelpful and intrusive. Especially if the next intent required the screen space that they expected deleting rows to provide.

If it's not impactful, then the residual undo message is just a requirement for an extra click before they can get their screen space back and get more rows they do care about back into view.

If it's immediate, then the residual undo message is helpful for a short time, and then just intrusive. In that situation, it could probably be displayed briefly (as a confirmation of the user's action) and then deleted. I'd suggest a very brief CSS animation (I'd go with .3 seconds as an upper limit) to shrink the height of the row to nothing and then remove it, rather than just deleting it - this allows the user to more easily track what's happening in the change and not lose their position with a sudden jump.

If it's a frequent action, and they'll be deleting (for example) 50 rows out of 80, then they probably don't want 50 residual undo messages - especially if they can't tell them apart. In that situation, they almost certainly want them to just go away - all at once and quite possibly without making subsequent items on the screen move around in unexpected or hard-to-follow ways. If mass actions like this are likely then you might want to consider a different way to handle them than per-row actions.

If their next intent is to move to the next item in the list and do something with that, then changing positions on the screen is likely to annoy... but if their next intent is to do a different task then it's not an issue.

Summing up

So, all in all - you have quite a lot of different options for how to move forward, many of which depend on the balance of those four factors.

Ultimately, to get a good answer to this question, you'd need to spend a reasonable amount of time working out the balance that's appropriate for the work you are doing.

If you want a course of action that will help you find that balance, I'd suggest using some clickable mockups (or some other easily-disposable prototype) and running some user tests and/or interviews to find that balance rather than guessing or assuming.


I suggest you keep the item in the list, with a notice it is archived and a button to Undo, but occupying the same height it has right now and modifying the item rather than adding an extra line. This way the user can:

  • archive several projects
  • decide to Undo any of those without having to change multiple times of screen
  • keep the layout with the same height
  • have the archived item with a different style (because right now archived/non-archived items look the same)

Project 1

Project 2 archived. Undo

Project 3

Project 4


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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.