Problem/Motivation

We have a baseline for all SDC YAML and README files that were generated from the script and manually fixed for linting issues.

We need to add required props, so someone to look at each component and make a judgement call to figure out which really should be required.

Steps to reproduce

Proposed resolution

Go through all YAML files for base theme and subtheme and add required props as needed.

Remaining tasks

  • Go through demo_design_system/components and demo_design_system/starshot_demo/components
  • Go through all [name].component.yml files
  • Review props and decide which props should be added as required props
  • Update YAML files with required section with correct props
  • Create MR
  • Review and test
  • Commit :)

User interface changes

When using XB, the required props will be required :)

API changes

Data model changes

Command icon 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:

Comments

kristen pol created an issue. See original summary.

sea2709’s picture

Assigned: Unassigned » sea2709
kristen pol’s picture

Thanks @sea2709!!!

kristen pol’s picture

Priority: Major » Normal

Note that for now I have removed all "required" from all components so this is less of a priority right now. Still important to do at some point though :) [but removes the urgency]

kristen pol’s picture

Title: Review required props for all SDDS baseline SDC YAML files » Add required props for all SDDS baseline SDC YAML files
Issue summary: View changes

Since we've removed required section for now, changing title and summary to reflect.

kristen pol’s picture

Assigned: sea2709 » joshua1234511

@sea2709 I'm going to assign this to Joshua for now as I see you've been working on XB issues which are more important right now :)

kristen pol’s picture

annmarysruthy’s picture

kristen pol’s picture

Thanks @annmarysruthy. I let @joshua1234511 know that someone was going to focus on this one.

annmarysruthy changed the visibility of the branch 3469522- to hidden.

annmarysruthy changed the visibility of the branch 3469522- to active.

annmarysruthy’s picture

Assigned: annmarysruthy » Unassigned
Status: Active » Needs review

Raised MR !34 for adding required props to component.yml files. Kindly review

kristen pol’s picture

Assigned: Unassigned » jacobadeutsch

Assigning to Jacob for review.

jacobadeutsch made their first commit to this issue’s fork.

kristen pol’s picture

Status: Needs review » Needs work

It's looking pretty good but I noticed a few things. I didn't get that drush cr error btw.

kristen pol’s picture

Assigned: jacobadeutsch » kristen pol
Status: Needs work » Needs review

Assigning for review.

kristen pol’s picture

Status: Needs review » Reviewed & tested by the community

Looks good for now. We can tweak as needed. I'll get this merged in. Thanks!

kristen pol’s picture

Assigned: kristen pol » Unassigned
Status: Reviewed & tested by the community » Fixed

Merged!

kristen pol’s picture

Note that there may have been XB-related issues with using required, so I've commented them out for now. But, they are there if we want to uncomment and test as we are testing individual components.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.