plone / plone.classicui

0 stars 0 forks source link

PLIP: Update `pat-select2` to latest `select2` in Plone 7 #16

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

pat-select2 depends on an old and customized version of select2. Lets either

Motivation

Keep the Classic-UI stack up to date.

Proposal & Implementation

There are two possible implementations:

  1. update pat-select2 to the latest select2 version and document the API changes.
  2. create a new pattern pat-select which uses the latest version of select2 and remove pat-select2 with documentation how to migrate to the new pattern.

Deliverables

I've started upgrading pat-select2 here a while ago (https://github.com/plone/mockup/pull/1295) but depending on the discussion here its maybe better to start off with a new pattern for the new version.

Risks

case 1: updateing pat-select2 -> the select2 API changes radically and addons will not work anymore. case 2: adding new pattern: addons will also have to migrate their code to the new api

Participants

@plone/classicui-team