Skip to content

[Aurora] Slots Manager View #8264

Description

@arybakov05

The viewlet manager of Plone's Classic UI (see https://classic.demo.plone.org/en/manage-viewlets) can be ported to Seven, providing a structured overview over existing slots, as well as their subslots.

PR #8268 implements a proof of concept (which will need refinement later) of a such slots manager view. It adds the access protected @@slots view, which offers two different representations.

The first one is a flat representation of all slots as can be read from config.slots that have or had components associated with them from component registration.
Image

The second one is more complex and renders the actual hierarchy of slots. Based on the use of the SlotRenderer inside components, a tree can recursively be created by following the rendered slots and the components registered for these slots. The result looks like this:
Image

In a later version, some more features of the viewlet manager can be added to the slots manager view, such as unregistering ("hiding") components or rendering a preview of them.

Metadata

Metadata

Assignees

Labels

proof of conceptA proof of concept, ready to lead to something great!

Type

No type

Projects

Status
PoC / Draft
Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions