department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
36 stars 55 forks source link

Storybook template docs not working for Process List component. #2799

Open adamwhitlock1 opened 2 weeks ago

adamwhitlock1 commented 2 weeks ago

Bug Report

I ran into some broken Storybook templates today and wanted to put it on the Design System's radar.

https://design.va.gov/storybook/?path=/docs/uswds-va-process-list--status

When viewing the expandable code section of the 'Status' variant of the process list I am not seeing anything other than 'StatusTemplate.bind(null)' The same thing happens for other variants like the Custom Sizing and Additional Styling for example.

Screenshot 2024-05-03 at 9 56 22 AM

What happened

Storybook not rendering doc code snippets for component variants.

What I expected to happen

Snippet section to have the appropriate sample code showing

Steps to reproduce:

  1. https://design.va.gov/storybook/?path=/docs/uswds-va-process-list--status
  2. Click the show code section of any variant of the process list
  3. View that the code doesn't appear

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

Details