- Issue created by @griffynh
- π«π·France pdureau Paris
A discussion has started in the meta issue: https://www.drupal.org/project/experience_builder/issues/3462705#comment... π [SPIKE] Comprehensive plan for integrating with SDC Active
where I shared this advice:This must not be a new SDC feature because a dynamic number of "columns" is already doable in a simple, solid and powerful way with a single slot where we are looping on the slot content (slots can have a renderable or a list of renderables)
- π«π·France G4MBINI BΓ¨gles
Here are some example components illustrating what @pdureau was explaining (a single slot where we are looping on the slot content) :
- https://git.drupalcode.org/project/ui_suite_daisyui/-/tree/4.0.x/compone...
- https://git.drupalcode.org/project/ui_suite_uswds/-/tree/4.0.x/component...
- https://git.drupalcode.org/project/ui_suite_dsfr/-/tree/1.1.x/components...
- https://git.drupalcode.org/project/ui_suite_bootstrap/-/tree/5.1.x/compo...
With that structure it's easy to map the component with, for example :
- the result of a view,
- nested paragraphs in a paragraph,
- multiple values field,
- ...
Everything that we don't know in advance the number of results ;)