Ticket #9286 (closed PLIP: fixed)
Allow to show/hide portlets
|Reported by:||igbun||Owned by:||igbun|
Description (last modified by erikrose) (diff)
Proposer: Ricardo Alves
Currently, only the static text portlet can be hidden. This option should be available to all portlets in a more UI friendly away.
The need to hide/disable portlets is very common. Most portlets have persistent settings, so the ability to keep them configured but hidden can make a difference. The portlets themselves may implement this feature individually (as the static portlet does), but there should be a more generic solution, allowing to show/hide portlets at the management screen.
Allow the user to hide individual portlets using the portlet management interface with a single click. Hidden portlets should be easily identified, e.g. using a different background color (gray), suggesting that the portlet is disabled.
This can be done using a simple, clickable show/hide icon, and some AJAX to perform the server changes. The show/hide option should be stored as an annotation (not at the portlet schema as currently implemented by the static portlet).
The "hide" field should be removed from the static text portlet schema.
The GenericSetup import/export handler at plone.app.portlets should be updated, allowing to set the hidden flag to portlet assignments via GenericSetup.
In regarding to backwards compatibility, it should be fairly easy to keep old static text portlets working, based on the old value stored or, if necessary, using a specific migration.
A new release of plone.app.portlets including these features.
A new release of plone.portlet.static which removes the hide option.
Updated documentation about the static portlet and the portlet management screen to explain the new features.
The problem of users expecting to find the "hide" field when editing static text portlets, which is negligible considering the gains in usability.
- Ricardo Alves (igbun)
Not implemented yet.
comment:37 Changed 7 years ago by esteele
- Status changed from assigned to closed
- Resolution set to fixed