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

JSON fields in content types - Improve the overall story #1842

Open
sneridagh opened this issue Nov 14, 2024 · 2 comments
Open

JSON fields in content types - Improve the overall story #1842

sneridagh opened this issue Nov 14, 2024 · 2 comments
Assignees

Comments

@sneridagh
Copy link
Member

sneridagh commented Nov 14, 2024

It is quite common to use in Volto content type fields that are stored in JSON using JSONField field type. This is useful to store structured data (as in the old Datagridfield). We would like to be able to apply the some of the transforms in that data structures, and being able to process resolveIds and image scales, etc in there too, like in the blocks.

Also, being able to apply them in a "smart" way, so that transforms apply to some fields that are marked as so. For example, we have a small use case working in the blocks transforms already:

{
  "blocks": {
    "asdadasd": {
      "@type": "URL",
       "value": "https://myserver/foo/bar"
    }
  }
}

but it would be great to expand this to other use cases, like images or for text indexing.

See also: plone/volto#2252

@Divyansh200102
Copy link

@sneridagh are there any good first issues i can start contributing to or i can pick up any open issues?

@stevepiercy
Copy link
Contributor

@Divyansh200102 please read and follow First-time contributors, especially Things not to do, Contributing to Plone, and Contributing to Volto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants