[later phase] [PP-2] Prepare for multiple component types: prefix Component config entity IDs with `sdc`

Created on 22 August 2024, 26 days ago
Updated 5 September 2024, 11 days ago

Overview

Blocker: 📌 Prepare for multiple component types: ComponentTreeStructure should contain Component config entity IDs, not SDC IDs Needs work .

  1. It should be trivial to identify a component type based only on the component ID (i.e. the Component config entity ID).
  2. It should be possible to have component type-specific settings.

Proposed resolution

  1. This issue should make this documentation change a reality:
    diff --git a/docs/data-model.md b/docs/data-model.md
    index 77eca2bd..72f94183 100644
    --- a/docs/data-model.md
    +++ b/docs/data-model.md
    @@ -243,22 +243,22 @@ Example:
     ```json
     {
       "ROOT_UUID": [
    -    {"uuid": "uuid-root-1", "component": "provider+two-col"},
    -    {"uuid": "uuid-root-2", "component": "provider+marquee"},
    -    {"uuid": "uuid-root-3", "component": "provider+marquee"}
    +    {"uuid": "uuid-root-1", "component": "sdc+provider+two-col"},
    +    {"uuid": "uuid-root-2", "component": "sdc+provider+marquee"},
    +    {"uuid": "uuid-root-3", "component": "sdc+provider+marquee"}
       ],
       "uuid-root-1": {
         "firstColumn": [
    -      {"uuid": "uuid4-author1", "component": "provider+person-card"},
    -      {"uuid": "uuid2-submitted", "component": "provider+elegant-date"}
    +      {"uuid": "uuid4-author1", "component": "sdc+provider+person-card"},
    +      {"uuid": "uuid2-submitted", "component": "sdc+provider+elegant-date"}
         ],
         "secondColumn": [
    -      {"uuid": "uuid5-author2", "component": "provider+person-card"}
    +      {"uuid": "uuid5-author2", "component": "sdc+provider+person-card"}
         ]
       },
       "uuid-root-2": {
         "content": [
    -      {"uuid": "uuid4-author3", "component": "provider+person-card"}
    +      {"uuid": "uuid4-author3", "component": "sdc+provider+person-card"}
         ]
       }
     }
    
  2. … and to do that, it will have to update config/schema/experience_builder.schema.yml.

Details TBD.

User interface changes

Zero changes.

📌 Task
Status

Postponed

Component

Config management

Created by

🇧🇪Belgium Wim Leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024