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

Add Layout Paragraphs module to GovCMS #184

Open
Benjen opened this issue Apr 30, 2021 · 4 comments
Open

Add Layout Paragraphs module to GovCMS #184

Benjen opened this issue Apr 30, 2021 · 4 comments

Comments

@Benjen
Copy link

Benjen commented Apr 30, 2021

What value does this module/package add to GovCMS?

Layout Paragraphs provides an intuitive drag-and-drop experience for building flexible layouts with paragraphs. It provides a much more intuitive interface for content editors to add layouts, and add and arrange content within paragraphs. The interface provides a much less cluttered UI for interacting with paragraphs (i.e. reduces the visual complexity of a form which has multiple layers of paragraph nesting). Content editors can also see in realtime how their content will look with respect to layout as then edit a page. Think of it as layout builder for paragraphs.

One great advantages of this module is that it doesn't override existing content pages already using paragraphs. If you enable the Layout Paragraphs module it will not affect any existing paragraphs already on a page. This means you don't have to retrofit existing content after enabling this module. They can keep working as before and you can just use the new layout method for new content. Of course you can go back and retrofit older content but that is optional.

Please provide a brief outline of what this module does.

  • Provides a new Field Widget and Field Formatter for paragraph reference fields.
  • Leverages Drupal’s Layout API for building layouts.
  • Uses the paragraphs behaviors API for storing layout data.

Who does this module benefit:
[ ] end users
[ * ] content editors
[ * ] site builders
[ ] themers
[ ] developers

How could you provide/replicate the functionality of this module using alternative methods, eg in your theme?

Not possible without a custom module and a lot of time and effort. This is not something which could easily whipped up as a custom module. It is possible to create layouts by creating paragraph types specifically for layouts, the UI is very cluttered and there is little indication of what the final paragraph will look like once it is displayed. The Layout Paragraphs module is designed to address this very issue by taking the very utilitarian paragraphs edit form and making it into something intuitive to use.

If this module styles or alters HTML or JavaScript output, can the functionality be provided via the theme? What alternatives have you considered.

No

What is the maintenance and support status of the module. Describe the issue queue activity.

Latest release: 2.0.8 (2 August 2024)
Security: covered by Drupal Security Team.
Bugs: 82 (243 open)
Issues: 429 (175 open)
Commits: are made regular by a number of different contributors.

What permissions are needed to utilise the module (and are any new permissions provided by the module)?

The module adds one new permission: "Allow access to the 'Layout plugin configuration' form when creating/editing a Layout". Other than that users need the same permissions as would be required for anyone working with paragraph based content.

Does the module modify the database structure and/or store additional metadata on nodes or other entities? If so, why? What are the risks for future updates?

No. All layout related data is stored within the paragraph object using the Paragraphs Behaviors API provided by the Paragraphs module. This information is stored in the behavior_settings field in the paragraphs_item_field_data table in the database. The behavior_settings field is provided by the Paragraphs module.

Is the module designed to capture anonymous user data?

No

Is the output of the module typically fully cacheable? Would the inclusion of this module potentially render pages uncacheable.

I believe so since it leverages the Paragraphs module.

What is your assessment of the quality of this module, the contribution history of the module's maintainers, and the uptake of the module within the Drupal community?

  • 10,278 website report using this module.
  • A number of users regularly make commits to this project.

Additional information

n/a

@thisisalistairsaccount
Copy link

Tied to Drupal 8 version at govCMS/GovCMS8#614

@Benjen
Copy link
Author

Benjen commented May 23, 2021

Version 1.0.0 was released on 20 May 2021. This means that the module is now covered by the Drupal Security Team. I have update the ticket description to reflect this change in the module's status.

@thisisalistairsaccount
Copy link

There's currently no security coverage for this module so I've marked it as Blocked in the inteirm

@thisisalistairsaccount
Copy link

Hi @Benjen it looks as though module is now stable and has Drupal 10 support.

I'll remove the blocked from this tag, and for those interested in this module, please leave a comment on this issue to show interest

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

No branches or pull requests

2 participants