Make WordPress Core

Opened 18 months ago

Last modified 16 months ago

#39418 new enhancement

Make Empty Spam & Empty Trash AJAX

Reported by: johnjamesjacoby Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: needs-patch 2nd-opinion ui-feedback has-ux-feedback needs-screenshots
Focuses: ui Cc:

Description (last modified by johnjamesjacoby)

Now that plugins are doing more with post types, and dealing with sometimes hundreds of thousands of entries in the posts table, emptying spam and/or trash is starting to feel a little outdated.

When there is a need to empty many spam or trashed items, it's not uncommon for this page to timeout, or to reload in the browser in such a way that rendering is blocked while the server processes the mass deletion of content.

In my imagination, it would be a nice improvement to fallback to the current behavior for noscript, but to leverage the power of javascript being asynchronous to provide some kind of modal window to chug through the process, maybe with a progress bar and some basic error feedback if the empty action fails for any reason.

Change History (3)

#1 @johnjamesjacoby
18 months ago

  • Description modified (diff)

#2 @karmatosed
18 months ago

Experience wise this sounds like a really great idea. Any timeouts or stalling due to a large number is not a great experience. Beyond anything else we should be telling someone how long something has to go, if it takes long enough to notice.

I'm wondering if we can also bring in other visual experience improvements? Are there any good examples we can look at for inspiration outside of WP?

#3 @karmatosed
16 months ago

  • Keywords has-ux-feedback added; ux-feedback removed
Note: See TracTickets for help on using tickets.