[wp-trac] [WordPress Trac] #47607: Add a loader when adding a new category
WordPress Trac
noreply at wordpress.org
Sun Jun 30 14:18:24 UTC 2019
#47607: Add a loader when adding a new category
-------------------------+------------------------------------------------
Reporter: guddu1315 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui, accessibility, administration
-------------------------+------------------------------------------------
Comment (by andg):
I have inspected the code in that page, and found out that, actually,
there ''is'' a spinner element already in the markup. It just has
`visibility: hidden` by default, and is never shown. I thought it could be
a quick and easy way to add a class to the form while it's elaborating the
request, to show the spinner:
[[Image(https://i.imgur.com/6zVsQdv.png)]]
I am attaching a patch that does just that (and noops the button after
submit, as @afercia suggested).
This one was quick; concerning displaying additional visual feedback also
when deleting a term, I think that's a bit more complicated though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47607#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list