Add grouping for paragraph types on storage/configuration level

Created on 9 March 2017, almost 8 years ago
Updated 13 September 2024, 5 months ago

Problem/Motivation

From #2831762: Add grouping for Paragraph types in "Modal" add mode , #4 comment.
In #2831760: Introduce a "Modal form" mode for adding Paragraphs
Grouping of paragraphs needs to be displayed in the modal form.

Proposed resolution

Add grouping for the paragraph types

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇨🇭Switzerland Ginovski Bern

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada pavlosdan

    A few years ago I was working on a small paragraphs_enhancements module for the needs of my project back then. The option we went with at the time was a new config entity (to facilitate the exportability as Taxonomy terms wouldn't work for that use case and we don't want site building tasks like that to be taking places in an environment they shouldn't).

    Site builders could create their paragraph groups and assign paragraphs to them, which would then be displayed in optgroups in the select add mode. We did this by extending the (back then) experimental paragraphs widget. We could add this functionality to the current paragraphs widget for the select and modal add modes.

    If there's still desire for this I could get the code from https://git.drupalcode.org/project/paragraphs_enhancements and adjust it for the latest paragraphs module and open a merge request for review and discussion. Ideally this would solve the grouping issue for paragraphs and allow us to retire the https://www.drupal.org/project/paragraphs_enhancements module.

Production build 0.71.5 2024