"Developer-created components": mark which SDCs should be exposed in XB

Created on 30 April 2024, 7 months ago
Updated 24 June 2024, 5 months ago

Problem/Motivation

As a technical builder, I want to have an easy way to expose components written in SDC to the experience builder. This is to provide a great onboarding experience for Drupal developers. Note: not all SDCs should be exposed automatically to the experience builder.

Proposed resolution

  • Reuse: SDC components only (initially)
  • New: Config entity type to create component categories
    type: page_builder_component_category
    name: entity_reference
    label: …
    color: …
    weight: …
    		
  • New: Config entity type to flag/opt in SDC components.
    type: page_builder_component
    kind: sdc
    component: umami/card
    opted_in: true/false
    
    # NEAR FUTURE: "categories" -> for good component placement UX
    category: entity references/media/card/… 
    <whatever the user creates>
    
    # DISTANT FUTURE: "tags" ->  for advanced permission checking (e.g. user can only use/place components with certain tags)
    tag: 
    			
  • New: UI that surfaces all available SDC components and allows opting them in (== creating config entities). Built using the existing config entity listing UI/API infra.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Component

Code

Created by

🇺🇸United States tim.plunkett Philadelphia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024