department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

BUG - Sev-3 - Storybook - Fix Code Snippets #261

Closed narin closed 1 month ago

narin commented 3 months ago

What happened?

In Storybook, on each component's Docs page, it shows examples of each variant of our component. Previously, there was a button on the bottom right of each variant that would allow the user to see a code snippet of the implemented component. At some point (probably during the Storybook 7 upgrade, this broke and it now says 'No code available' instead. We want to fix this so that developers browsing our docs can see code examples.

Specs:

Steps to Reproduce

  1. Go to the Docs page of any component (e.g. Alert)
  2. Notice that each of the examples are showing 'No code available' on the bottom right

Desired behavior

Acceptance Criteria

Bug Severity - BE SURE TO ADD THE SEVERITY LABEL

See [Bug Tracking](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA#issue-severity) for details on severity levels

Linked to Story

Screen shot(s) and additional information

image

Full JSON response for services related to issue (expand/collapse)

Ticket Checklist

bischoffa commented 1 month ago

Unable to add severity label to this ticket. @narin can you please add it