Open mauritsvanrees opened 2 days ago
cc @plone/classicui-team @plone/framework-team
As discussed yesterday in the open space, there are (and will be more) potential parts of volto which should be reused in Classic-UI in order to avoid duplicated effort for the same tasks. We need to discuss this in the next Classic-UI meeting (Dec 11, 2024).
Personally I would not tend to replace backend rendered parts completely with volto components (eg. controlpanel) but as a first step, there are already dynamic parts (folder_contents, selects, ...) which totally make sense to be replaced with volto components because they are really outdated.
I'm willing to lead this ... will add myself here.
Offtopic: In general there should be a main discussion round about our Vision for Classic-UI for Plone 7 and beyond.
I've added myself for documentation.
PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer: Maurits van Rees
Lead: Peter Mathis
Abstract
The basic components of Volto are being extracted. Classic UI should make use of this where it makes sense, so we have a shared effort.
Motivation
We don't want to maintain two different code bases for parts that mostly do the same things.
Assumptions
Proposal & Implementation
For the following Classic UI parts it may make sense to use the Volto components:
This does not have to be done all at once of course.
Simple original control panels that are only a wrapper around some registry settings in an Interface could still be done the old way. The
plone.app.registry
control panel form wrapper would stay as a simple means for Classic UI add-on authors to use.Deliverables
Risks
plone.restapi
a hard dependency ofplone.classicui
.Products.CMFPlone
. But that would not have any control panels, or at least it would have less. The add-ons control panel may need to stay, otherwise there would be no way to start withProducts.CMFPlone
and later addplone.classicui
. (We will need to think carefully about which scenarios we can reasonably support here.)Participants