plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
487 stars 664 forks source link

Client transforms for reducer data #6422

Closed sneridagh closed 1 month ago

sneridagh commented 1 month ago

I have no clue where to document this feature...


If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #

netlify[bot] commented 1 month ago

Deploy Preview for plone-components canceled.

Name Link
Latest commit 5804188435229d27c454c788a92723c22c4a734f
Latest deploy log https://app.netlify.com/sites/plone-components/deploys/6719548a4ff3b80008f91474
davisagli commented 1 month ago

I have no clue where to document this feature...

@sneridagh I guess either https://6.docs.plone.org/volto/backend/index.html or a new section in https://6.docs.plone.org/volto/blocks/index.html

stevepiercy commented 1 month ago

I have no clue where to document this feature...

@sneridagh I guess either https://6.docs.plone.org/volto/backend/index.html or a new section in https://6.docs.plone.org/volto/blocks/index.html

I would follow @davisagli's suggestion, as I have no clue what this thingie is!

davisagli commented 1 month ago

@stevepiercy It's an extension mechanism for addons to make changes to content data as it arrives from the backend.

stevepiercy commented 1 month ago

Gotcha. I think in Integration with the backend for sure.

However, I'm not sure how it relates to Blocks. Do we have a diagram and narrative similar to Pyramid's Request Processing, where one can see where this thingie fits into the entire process? I created that diagram, and its source is available as SVG, if we want to adapt it for Plone and Volto.

sneridagh commented 1 month ago

@davisagli @stevepiercy I added some docs.

sneridagh commented 1 month ago

@stevepiercy right now it's super simple, a function in the middle of the whole pipeline. I don't know if we need further bells and whistles for now...