Statement of work

This project aims to develop a proof of concept for a decoupled layout builder for Drupal.

Initial development funded by Pitchburg 2023

There are several sub-tasks:

Must have items

Could have items

The main deliverable will be usage documentation and recommended next steps to continue this project.

Milestones and Timelines

This project aims to be delivered alongside other Pitchburg ’23 approved projects and should be completed by the end of 2023.

Discovery / Alignment - August, 31st 2023

N/A

Decoupled API endpoints for manipulating layouts without Form/AJAX API - September, 15th 2023

  • All of the code for this is here
  • The API is documented here
  • You can see the routes here
  • And test coverage is here

Javascript APIs for components to fetch and update block and layout data - September, 30th 2023

All of this code is in the decoupled LB project. Specifically this Redux slice which has methods for:

  • reorderLayoutSections
  • loading the layout
  • moveBlock
  • addNewSection
  • addNewBlockAndSection
  • addNewBlock
  • saving the layout

Working MVP for content-editors editing layouts - October, 15th 2023

Rest of deliverables and project completion - October, 31st 2023

Adding support for bundling/externals:

Future considerations

Whilst this project focuses on editing layouts, the work done to create React versions of widgets and formatters has future applications for decoupled editing of any content entities, and could even power live preview.

Other links

Related projects

Related news

Comments

griffynh created an issue. See original summary.

griffynh’s picture

Issue summary: View changes
griffynh’s picture

Title: [meta] Pitchburgh decoupled layout builder » [meta] Pitchburgh - Decoupled Layout Builder
Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes
griffynh’s picture

Issue summary: View changes

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.