Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stories with meta id for permalinking #419

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Dec 21, 2023

This PR adds support for the use of ID in stories which we are used for permalinking, e.g.

export default {
    title: 'Components/Notifications/In-page Alerts',
    component: InPageAlert,
    id: 'in-page-alerts',
}
📦 Published PR as canary version: 0.16.1--canary.419.49762ec.0

✨ Test out this PR locally via:

npm install @storybook/test-runner@0.16.1--canary.419.49762ec.0
# or 
yarn add @storybook/test-runner@0.16.1--canary.419.49762ec.0

@yannbf yannbf added the patch Increment the patch version when merged label Dec 21, 2023
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dd7eb64) 93.72% compared to head (49762ec) 93.77%.
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next     #419      +/-   ##
==========================================
+ Coverage   93.72%   93.77%   +0.04%     
==========================================
  Files          15       15              
  Lines         271      273       +2     
  Branches       70       71       +1     
==========================================
+ Hits          254      256       +2     
  Misses         17       17              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/csf/transformCsf.ts Outdated Show resolved Hide resolved
Co-authored-by: Ian VanSchooten <ian.vanschooten@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged prerelease
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants