Entity type agnostic

Created on 7 May 2024, 8 months ago
Updated 12 September 2024, 3 months ago

Currently, Gutenberg configuration is stored in a simple configuration item: gutenberg.settings This holds all configuration for all node bundles.

We want to move Gutenberg configuration to any entity type and to be stored at entity level.

Proposed configuration structure:

Gutenberg settings (configuration type)

[entity_type].[bundle] (configuration name)

In terms of entity UI, there should be a checkbox at “Edit” page to enable/disable Gutenberg and if enabled it would add a new tab “Manage Gutenberg” to configure the editor.

Work done previously: https://git.drupalcode.org/project/gutenberg/-/tree/8.x-2.x-3163200-enti... - the approach on that branch was to store the configuration on “Content type” configuration. This is limiting because, for example, if you want Gutenberg in content blocks, we would need to implement that integration.

Status 03/09/2024

All settings have moved to entity's third party settings and a migration script was made for upgrades (included in .install file).
But there's still some stuff left:

  • When loading an entity with Gutenberg enabled, nothing happens currently. The logic for loading the configuration settings must be implemented and apply this to the entity edit form. See https://git.drupalcode.org/project/gutenberg/-/blob/3.0.x/gutenberg.modu...
  • Update the configuration form with the latest options added on 3.x.
  • Update tests.
  • Nice-to-have: Add a field to choose which text field from the entity should be Gutenberg enabled upon on the entity edit form.
📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇵🇹Portugal marcofernandes

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

Merge Requests

Comments & Activities

  • Issue created by @marcofernandes
  • Assigned to maciek.kaczmarski
  • 🇵🇱Poland maciek.kaczmarski

    maciek.kaczmarski made their first commit to this issue’s fork.

  • 🇳🇴Norway thorandre

    Nice work! Looking forward to testing it further.

  • Pipeline finished with Failed
    5 months ago
    Total: 247s
    #239213
  • Pipeline finished with Failed
    5 months ago
    Total: 240s
    #240773
  • Pipeline finished with Failed
    5 months ago
    Total: 252s
    #241432
  • Pipeline finished with Failed
    5 months ago
    Total: 324s
    #241647
  • Pipeline finished with Success
    4 months ago
    Total: 200s
    #246518
  • Pipeline finished with Success
    4 months ago
    Total: 200s
    #246667
  • Pipeline finished with Failed
    4 months ago
    Total: 255s
    #252735
  • Pipeline finished with Failed
    4 months ago
    Total: 213s
    #252749
  • Pipeline finished with Failed
    4 months ago
    Total: 533s
    #255760
  • Pipeline finished with Failed
    4 months ago
    #257503
  • Pipeline finished with Failed
    4 months ago
    Total: 334s
    #257509
  • Pipeline finished with Failed
    4 months ago
    Total: 349s
    #257922
  • Pipeline finished with Failed
    4 months ago
    Total: 420s
    #257931
  • Pipeline finished with Failed
    4 months ago
    Total: 454s
    #258025
  • Pipeline finished with Failed
    4 months ago
    Total: 373s
    #258035
  • Pipeline finished with Failed
    4 months ago
    Total: 440s
    #258041
  • Pipeline finished with Failed
    4 months ago
    Total: 715s
    #258067
  • Pipeline finished with Canceled
    4 months ago
    Total: 271s
    #258073
  • Pipeline finished with Failed
    4 months ago
    Total: 420s
    #258075
  • Pipeline finished with Failed
    4 months ago
    Total: 587s
    #258222
  • Pipeline finished with Failed
    4 months ago
    Total: 1269s
    #259046
  • Pipeline finished with Failed
    4 months ago
    #259109
  • Pipeline finished with Failed
    4 months ago
    Total: 389s
    #259120
  • Pipeline finished with Failed
    4 months ago
    Total: 619s
    #259140
  • Pipeline finished with Failed
    4 months ago
    Total: 466s
    #259245
  • Pipeline finished with Failed
    4 months ago
    Total: 342s
    #260085
  • Pipeline finished with Failed
    4 months ago
    Total: 258s
    #260241
  • Pipeline finished with Canceled
    4 months ago
    Total: 115s
    #260243
  • Pipeline finished with Failed
    4 months ago
    #260245
  • Pipeline finished with Failed
    4 months ago
    Total: 262s
    #260420
  • Pipeline finished with Canceled
    4 months ago
    Total: 189s
    #260422
  • Pipeline finished with Canceled
    4 months ago
    Total: 320s
    #260427
  • Pipeline finished with Failed
    4 months ago
    Total: 510s
    #260431
  • Pipeline finished with Canceled
    4 months ago
    Total: 200s
    #260447
  • Pipeline finished with Failed
    4 months ago
    Total: 409s
    #260448
  • Pipeline finished with Failed
    4 months ago
    #260559
  • Pipeline finished with Failed
    4 months ago
    #260566
  • Pipeline finished with Failed
    4 months ago
    Total: 408s
    #260572
  • Pipeline finished with Failed
    4 months ago
    Total: 374s
    #260852
  • Pipeline finished with Success
    4 months ago
    Total: 388s
    #260859
  • Pipeline finished with Success
    4 months ago
    #261083
  • Pipeline finished with Success
    4 months ago
    Total: 410s
    #261097
  • Pipeline finished with Success
    4 months ago
    #261130
  • Pipeline finished with Failed
    4 months ago
    Total: 430s
    #261147
  • Pipeline finished with Success
    4 months ago
    #261156
  • Pipeline finished with Success
    4 months ago
    #261178
  • 🇳🇴Norway thorandre

    There are a few days of work left on this. Specially the work for node entities. The other entity types will need adjustments for the generic entity type edit form. So we won't have anything ready for testing before a couple of weeks from now.

  • Pipeline finished with Failed
    3 months ago
    Total: 213s
    #287336
  • Pipeline finished with Failed
    3 months ago
    Total: 212s
    #288314
  • 🇵🇹Portugal marcofernandes

    Although the work with the configuration is done and just needs some tests, we need to change the way the editor is loaded on a entity edit form. This will be addressed here: New entity form when Gutenberg is enabled Active

  • Pipeline finished with Canceled
    2 months ago
    Total: 314s
    #301601
  • Pipeline finished with Success
    2 months ago
    Total: 183s
    #307260
  • Pipeline finished with Failed
    2 months ago
    Total: 163s
    #307269
  • Pipeline finished with Success
    2 months ago
    Total: 163s
    #307273
  • Pipeline finished with Failed
    about 1 month ago
    Total: 683s
    #329325
  • Pipeline finished with Failed
    about 1 month ago
    Total: 876s
    #329355
  • Pipeline finished with Failed
    about 1 month ago
    Total: 856s
    #329378
  • Pipeline finished with Failed
    about 1 month ago
    Total: 625s
    #329418
  • Pipeline finished with Failed
    about 1 month ago
    Total: 2267s
    #329432
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 137s
    #329471
  • Pipeline finished with Success
    about 1 month ago
    Total: 1265s
    #329473
  • Pipeline finished with Skipped
    about 1 month ago
    #329671
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 84s
    #333367
  • Pipeline finished with Success
    about 1 month ago
    Total: 564s
    #333371
  • Pipeline finished with Success
    about 1 month ago
    Total: 789s
    #333873
  • Pipeline finished with Success
    about 1 month ago
    Total: 544s
    #334455
  • Pipeline finished with Success
    about 1 month ago
    Total: 588s
    #334462
  • Pipeline finished with Success
    about 1 month ago
    Total: 217s
    #340830
Production build 0.71.5 2024