Support complex SDC prop shapes: introduce (Storable)PropShape to compute field type storage settings

Created on 15 July 2024, 11 months ago
Updated 19 August 2024, 10 months ago

Overview

Allow specifying default props values when opting an SDC in for XB Fixed landed. Yay!

But Product Owner @lauriii's voiced usability & DX concerns at #3444424-13: [META] Configuration management: define needed config entity types .

Proposed resolution

  1. Allow specifying default props values when opting an SDC in for XB Fixed specified a default field type + default widget + default value for each component. We need to flip that around: gather all unique SDC prop shapes, and compute a default field type+field storage settings+widget for those.
  2. ✅ The XB module would compute default choices for all SDC prop shapes.
  3. ✅ → 📌 Auto-create/update Component config entities for all discovered SDCs that meet XB's minimum criteria Fixed

User interface changes

  1. Editing a {type: string, enum: …} now is possible:
  2. In fact, editing the all-props component becomes possible: — with most of its props supported 🚀 — which means this unblocks 📌 Create a component for testing form backend + frontend integration Active .
  3. Adjusted UI for Component config entities:
📌 Task
Status

Fixed

Component

Page builder

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024