[wp-trac] [WordPress Trac] #35429: Allow new plugins to be uploaded without having to go to a new page first.
WordPress Trac
noreply at wordpress.org
Sat Apr 16 11:58:27 UTC 2016
#35429: Allow new plugins to be uploaded without having to go to a new page first.
-------------------------------------+-------------------------------------
Reporter: Ipstenu | Owner: michaelarestad
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Comment (by afercia):
Replying to [comment:25 michaelarestad]:
> * JS for both themes and plugins is now almost identical.
>
> Thoughts:
> * Might be worth sharing the JS for the toggle. There's no difference.
Totally agree, I'd propose to open a new ticket to consider introducing a
small, generic, `togglePanel` utility. Just thinking it's probably better
to don't mix too many things in this ticket.
I'd like to bring this in now that we're at the beginning of the 4.6
release cycle so there's time to see if something breaks. I'd just change
a small thing, also to simplify a bit: thinking at the "toggle button",
well it's just a... toggle and probably there's no need to change its text
in "browse" when the uploader is open because the plugins list is already
there on the screen. Clicking "browse" doesn't do anything special about
"browsing plugins", you can already browse them. It just closes the panel
:) The button should change in "Browse Plugins" just when JavaScript is
off. Screenshot:
[[Image(https://cldup.com/k7MMHZ9Io5.png)]]
A similar change should be done also for the "Upload Theme" button, see
#35457
With JS off it is a real link that brings you back to the Plugins list
screen (doesn't apply to themes):
[[Image(https://cldup.com/Ewh1I57XqT.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35429#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list