- Issue created by @Kristen Pol
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Assigning this one to Jacob, but I'll help figure out where this goes.
- Assigned to Kristen Pol
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
I played around with this a couple days ago and ran into road block so parking for the moment.
- Assigned to alan.cole
- Assigned to joshua1234511
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Assigning to Joshua since Alan is out most of this week.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Here's an example of how someone tested rendering of a component:
https://www.drupal.org/project/demo_design_system/issues/3465043#comment... ๐ Create automated script for converting components to SDC Fixed
- ๐ฎ๐ณIndia joshua1234511 Goa
I did play around with the code and could think of two approaches and a blocker
Creating a Demo Page: programmatically create a page that shows all components by adding paragraphs for each component. However, this approach requires creating an actual page with these paragraphs, which would need default content.
Alternative Using Views: Another approach could be to create a view that lists all paragraphs. If each field in the paragraph has a default value, you can list them directly in the view. This could serve as a dynamic display of components, though it still relies on having those paragraphs with default content in place.
In both cases the blocker: overriding the paragraph templates to embed/include the SDC components.
Needs to be done manually as done here https://www.drupal.org/project/demo_design_system/issues/3465043#comment... ๐ Create automated script for converting components to SDC Fixed
-- Once all components are updated paragraph templates to embed/include the SDC components. ie : reference https://git.drupalcode.org/project/demo_design_system/-/merge_requests/3... - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Thanks. Perhaps discuss this with Richard and Alan to get their thoughts on this
- ๐ฆ๐บAustralia RichardGaunt Melbourne
https://github.com/civictheme/civictheme_content
This is how CivicTheme generates content - can you utilise these methods to generate components to your needs.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Bummerโฆ I was hoping we didnโt need a separate moduleโฆ
- ๐ฎ๐ณIndia joshua1234511 Goa
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
We also need content for the custom components do we wouldnโt use that module. Weโd have to make a companion one for SDDS.
- ๐ฎ๐ณIndia joshua1234511 Goa
Proof of Concept (PoC) for content provisioning with Content & Callout Component.
- Merge request !18[3465585] Proof of Concept (PoC) for content provisioning with Content & Callout Component. โ (Closed) created by joshua1234511
- Assigned to jacobadeutsch
- Status changed to Needs review
5 months ago 6:35am 20 August 2024 - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Thanks. Assigning to Jacob to test.
- Issue was unassigned.
- Status changed to Postponed
5 months ago 9:33pm 21 August 2024 - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Let's hold off on this one for now because we also want to try to get rid of unnecessary dependencies for the demo so this might be at odds with that:
๐ฑ [META] Remove unnecessary dependencies before DrupalCon Barcelona Active
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Lowering priority. We are starting to be able to see components in XB so we might not need this.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Removing parent. This work might be considered post-Barcelona.
Note, later, there may be a way to pre-build all of these in XB for viewing/testing.
- Status changed to Closed: duplicate
5 months ago 5:30pm 9 September 2024 - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Closing this in lieu of:
๐ Create a front page template page that shows all the SDDS components Active
I'll add credit there.