Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLIP: Add contentbrowser as a replacement for relateditems #14

Closed
3 tasks
MrTango opened this issue Jul 17, 2024 · 1 comment · Fixed by plone/mockup#1377, plone/plone.app.z3cform#197 or plone/plone.app.relationfield#51
Labels
03 type: feature (plip) really new stuff or major change
Milestone

Comments

@MrTango
Copy link
Contributor

MrTango commented Jul 17, 2024

PLIP (Plone Improvement Proposal)

Responsible Persons

Proposer: Maik Derstappen - MrTango

Seconder: Peter Mathis - petschki

Abstract

Add pat-contentbrowser as a replacement for pat-relateditems and add plone.app.z3cform contentbrowser widget as a replacement for relateditems widget.

Motivation

The pat-relateditems is based on a very old and customized version of Select2 and does not provide a good user experience for selecting content.

Assumptions

Proposal & Implementation

We will introduce a new mockup pattern and a z3c.form widget. The old pattern and widget are still there and will continue to work.

The new pat-contentbrowser will be integrated into TinyMCE's link plugin.

The new ContentBrowserWidget will be used as the default widget for plone.app.relationfield related items behavior. The upload functionality will be enabled by default.

Deliverables

Risks

Since the old pat-relateditems functionality will be still available, there are no potential risks for addon developers. If you want to use the new pat-contentbrowser you have to update your addon templates/behaviors accordingly.

Participants

Maik Derstappen
Peter Mathis
... add your name here

@MrTango MrTango added the 03 type: feature (plip) really new stuff or major change label Jul 17, 2024
@MrTango MrTango added this to the Plone 6.1 milestone Jul 17, 2024
@MrTango MrTango changed the title Add contentbrowser as a replacement for relateditems PLIP: Add contentbrowser as a replacement for relateditems Jul 17, 2024
@MrTango MrTango closed this as completed Jul 17, 2024
@MrTango
Copy link
Contributor Author

MrTango commented Jul 17, 2024

@plone/classicui-team @mauritsvanrees @jensens @pbauer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 type: feature (plip) really new stuff or major change
Projects
None yet
1 participant