plone / Products.CMFPlone

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

Reuse Volto components in Classic UI #4067

Open mauritsvanrees opened 2 days ago

mauritsvanrees commented 2 days ago

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

Participants

mauritsvanrees commented 2 days ago

cc @plone/classicui-team @plone/framework-team

petschki commented 2 days ago

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.

stevepiercy commented 1 day ago

I've added myself for documentation.