[Meta] Compatibility with pouplar SDC themes

Created on 27 December 2024, 26 days ago

Problem/Motivation

Following this comment https://www.drupal.org/project/experience_builder/issues/3491021 Leverage HTML comment annotations, remove wrapping div elements Active :

And the release of UI Patterns 2.0.0-rc1.

Let's check if popular SDC themes are compatible with UI Patterns 2.

Proposed resolution

To be compatible with UI Patterns 2, a SDC needs to have clean SDC components, that's all:

  • every variable must be defined as prop or a slot
  • every prop or slot must be used, including attributes
  • each prop definition must be complete and clean

To improve the general compatibility with display builders, we can also push those advices

  • no early rendering
  • good understanding and usage of slots
  • no stateful functions
  • ...

Remaining tasks

Create an issue for each of those themes:

Also a good way of promoting https://www.drupal.org/project/sdc_devel

📌 Task
Status

Active

Version

2.0

Component

Miscellaneous

Created by

🇫🇷France pdureau Paris

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

Comments & Activities

Production build 0.71.5 2024