plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
245 stars 188 forks source link

Hide/Show buttons in manage-viewlets are unintuitive #3831

Closed mauritsvanrees closed 1 year ago

mauritsvanrees commented 1 year ago

This was Plone 5.2 with one viewlet hidden and two shown: Screenshot 2023-08-01 at 17 26 11

On Plone 6.0 it is this: Screenshot 2023-08-01 at 17 30 08

Can you easily tell which viewlet is hidden and which is shown?

Currently the button that you can actually click on, gets the active class, making it blue. This is the other way around from the main menu, where the active class is for the current item/path you are in. There is something to be said for both approaches.

Can we let this look more like how it did in Plone 5.2? Specifically:

I am testing a change in plone.app.viewletmanager to make it look like this: Screenshot 2023-08-01 at 17 35 30

Is that better? Thanks to Bootstrap, this is just a few classes.