You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
pat-contentbrowser mockup pattern. This will provide the same features and API as pat-relateditems. There will be added more convenience features (like multiselection) too. (pat-contentbrowser implementation mockup#1377)
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
The text was updated successfully, but these errors were encountered:
PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer: Maik Derstappen - MrTango
Seconder: Peter Mathis - petschki
Abstract
Add
pat-contentbrowser
as a replacement forpat-relateditems
and add plone.app.z3cformcontentbrowser
widget as a replacement forrelateditems
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 forplone.app.relationfield
related items behavior. The upload functionality will be enabled by default.Deliverables
pat-contentbrowser
mockup pattern. This will provide the same features and API aspat-relateditems
. There will be added more convenience features (like multiselection) too. (pat-contentbrowser
implementation mockup#1377)ContentBrowserWidget
inside plone.app.z3cform package. API and parameters are the same asRelatedItemsWidget
. (ImplementContentBrowserWidget
for the newpat-contentbrowser
pattern plone.app.z3cform#197)plone.app.relationfield
related items behavior. (Implement newContentBrowserWidget
plone.app.relationfield#51)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 newpat-contentbrowser
you have to update your addon templates/behaviors accordingly.Participants
Maik Derstappen
Peter Mathis
... add your name here
The text was updated successfully, but these errors were encountered: