Compatibility with Paragraph Library module

Created on 8 March 2024, 4 months ago

Motivation

Paragraphs Library is a submodule of the Paragraphs library. It allows for reusing a paragraph multiple times.

High-level, the way it works is like this:

  • A paragraph type
    from_library<code> is added.</li>
      <li>This paragraph type has a field <code>field_reusable_paragraph

    with a cardinality of 1.

  • That field is used to refer to a paragraphs_library_item entity.
  • This entity, LibraryItem, has a field paragraphs.
  • It is this field that contains the actual paragraph.

It would be an excellent addition to this module if there was an option to make these library items transparent. For example, let's say I have a reusable content_gallery paragraph entity, and it's used across three nodes.

At the moment, this isn't reflected in the statistics. I only have a row for the from_library paragraph type in the main overview. Drilling down doesn't identify the paragraph type this is referring to.

My preference would be to make these from_library paragraph entities completely transparent: they are pointers to an actual paragraph. They should show up in those overviews.

If possible, we could have another column in the drilldown table that identifies whether it's a reusable paragraph or not. The SQL is probably already challenging enough, so I'll leave that as a nice-to-have :D

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium beerendlauwers

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024