Problem/Motivation
This issue is for imalabya to test the SDC conversion script and the guide using:
- demo_design_system/components/01-atoms/video
Steps to reproduce
Proposed resolution
Go through the conversion guide and try to convert the component using the script and report any feedback.
Remaining tasks
- Review guide
- Follow guide to use the script
- Convert
demo_design_system/components/01-atoms/video - Report feedback here
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot 2024-08-15 at 12.55.52 PM.png | 121.34 KB | imalabya |
| #4 | Screenshot 2024-08-15 at 12.55.37 PM.png | 120.59 KB | imalabya |
Issue fork demo_design_system-3468118
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3468118-test-sdc-conversion
changes, plain diff MR !17
Comments
Comment #2
imalabyaComment #4
imalabya@Kristen Pol Below are the findings
- Used the conversion script to generate the yml file and README.md
- The
video.component.yml&README.mdfile were generated insidedemo_design_system/components/01-atoms/video- Copied the
demo_design_system/components/01-atoms/videotodemo_design_system/starshot_demo/components/01-atoms/video- Verified the SDC component in the SDC Registry
Comment #5
kristen polThanks!
Note: The video component doesn't need to be added to the starshot_demo subtheme.
Also, can you compare your work against the recent dev changes? There was recently a commit of all baseline yaml and readme files. It would be helpful to compare your results against that to see if they align or the files should be updated with some of your suggestions
Comment #6
imalabya@kristen pol Removed the component from the starshot_demo subtheme.
The recent dev changes have made the
title, sources, poster, width, height & fallback_textthe required prop in the component.yml for iframe. IMO, it should be the sources. Updated the MR with the same.Comment #7
kristen polThanks. I agree and have updated the required fields.