Problem/Motivation
Currently XB is not working with Drupal CMS so we need to update the docs to use D10 standard profile for now.
It will be switched to D11 when this is unblocked:
#3471097: Switch SDDS to D11 components module once it's available
Or we remove the dependency on the components module:
#3469985: Reconcile components module vs SDC namespaces for SDDS includes/embeds
Steps to reproduce
Proposed resolution
Update docs to use D10 standard profile and D10 modules and themes.
Remaining tasks
- Finish #3465047: Remove unnecessary dependencies before DrupalCon Barcelona
- Remove steps for installing CT dependencies as they have been removed
- Figure out steps for installing with D10 with DDEV
- Figure out steps for installing XB
- Update development guide to use these steps
- Review and test
Comments
Comment #3
kristen polSee instructions from Simon Ramsay in Slack as well for XB install.
Comment #4
kristen polBumping priority now that the XB team wants us to focus on using D11 standard profile rather than Starshot / Drupal CMS.
Comment #5
kristen polThis has been completely refactored and simplified. It's working for me but needs more eyes.
https://www.drupal.org/community-initiatives/starshot-demo-design-system...
Comment #6
kristen polUpdate title and revise tasks.
Comment #7
kristen polNote that the XB part is just installing it and making sure it shows up. It is not testing the theme components with it. That needs to be in the testing guide which still needs to happen and is waiting on some more working on our side and the XB side.
#3464543: Create SDDS project testing guide
Comment #8
kristen polAssigning to Jacob for review.
Comment #9
sea2709 commentedThe documentation is shorter :-)
There is one thing we might need to pay more attention, in `composer.json` of the demo_design_system theme https://git.drupalcode.org/project/demo_design_system/-/blob/1.0.x/compo..., it requires some modules
These modules are included in Drupal CMS, but not in D11. I think missing these modules might break some features in the theme, and I don't see the inserting dummy data feature in the theme settings, probably because of the missing modules.
Comment #10
kristen polThanks!
Ah shoot... I guess I need to remove from composer.json... slammed today though o_O
The dummy content stuff was intentionally removed because the sitebuilding stuff that's in CT isn't relevant for the XB demo and it's not ideal to have those extra modules (and some aren't D11 compatible). The config for the extra modules was moved to optional per:
#3465047: Remove unnecessary dependencies before DrupalCon Barcelona
But, I want to make sure that those extra modules aren't getting added...
@sea2709 do you have time on your local to test removing from composer and seeing how it goes? If it works okay, then an MR here or on that issue ^ would be appreciated! :)
Comment #12
kristen polJacob is also reviewing.
Some notes based on things that have been going on in Slack and in other issues:
See related issues:
#3469985: Reconcile components module vs SDC namespaces for SDDS includes/embeds
#3465047: Remove unnecessary dependencies before DrupalCon Barcelona
#3454125: Implement temporary design system for the DrupalCon Barcelona demo
#3470024: Arrays in SDDS SDC YAMLs are causing fatal errors in XB
Comment #13
jacobadeutsch commentedInstructions were clear and I got XB running and everything. Not sure if the themes were working though, seemed like maybe they weren't.
Comment #14
kristen pol@jacobadeutsch Let's talk through that then. They should show up in list and storybook should work.
Comment #15
kristen polMoving to postponed as the guide is okay for now but we'll need to see about changing it to D11 if we drop the components module dependency or if it gets a D11 release.
Comment #16
kristen polWhoops... change status.
Comment #17
kristen polSwitch this from D11 to D10.
Follow-up issues to move this to D11:
#3471097: Switch SDDS to D11 components module once it's available
and
#3469985: Reconcile components module vs SDC namespaces for SDDS includes/embeds