plone / plone.classicui

0 stars 0 forks source link

PLIP: Remove `pat-relateditems` in Plone 7 #15

Open petschki opened 2 months ago

petschki commented 2 months ago

PLIP (Plone Improvement Proposal)

Responsible Persons

Proposer: Peter M. / petschki

Seconder: add your name here

Abstract

The mockup pattern pat-relateditems depends on an old and customized version of select2 (https://github.com/ivaynberg/select2.git#3.5.4 with mockup patch https://github.com/plone/mockup/blob/master/patches/select2.patch).

Since pat-relateditems gets replaced by the new pat-contentbrowser I propose to remove it completely in Plone 7.

Motivation

Get rid of the old select2 and keep the Classic-UI stack up to date.

Proposal & Implementation

The new pattern pat-contentbrowser has the same features as pat-relateditems so it should be easy to switch for addon developers but of course we need a migration documentation for this.

Deliverables

Risks

Possible breakage of addons which still depend on pat-relateditems -> mininmize risks with deprecation warnings in plone.app.z3cform.widgets.relateditems.RelatedItemsWidget

Participants

@plone/classicui-team