[wp-trac] [WordPress Trac] #15973: Searching, sorting and paginating don't clear messages

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 24 13:22:09 UTC 2010


#15973: Searching, sorting and paginating don't clear messages
-------------------------+-------------------------------------------------
 Reporter:  nacin        |      Owner:
     Type:  defect       |     Status:  new
  (bug)                  |  Milestone:  3.1
 Priority:  high         |    Version:  3.1
Component:  UI           |   Keywords:  ux-feedback dev-feedback needs-
 Severity:  normal       |  patch
-------------------------+-------------------------------------------------
 Trash a post. Then search. You'll still see the "Item moved to the Trash."
 message.

 Granted, in the case of trashing there is still an undo link. However,
 that's not going to be the case for many other actions. For example,
 plugin or theme activation/deactivation. I'm searching for a theme and
 paginating among many themes, and yet still see "2 themes enabled" staring
 me down. It's very distracting.

 If this is not the proper UX -- I can't imagine it is -- then an ajax
 action (searching, sorting, paginating) needs to unhook div.updated and
 div.error. I'm not sure of a clearer or cleaner way to do it.

 Maybe not a blocker for 3.1, but it is a regression. In 3.0 all of these
 actions resulted in page refreshes, clearing the slate. Here though, it
 doesn't, and it's really tough to follow a message that lingers.

 (NB: It also probably should reset the pop state URL to remove whichever
 arguments are left, but it's too difficult to detect which arguments need
 to go, even just across our screens. We'd need to encapsulate the typical
 remove_querg_arg from wp_get_referer logic.)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15973>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list