Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

feat: add storyName to composed story #65

Merged
merged 1 commit into from
Dec 4, 2021
Merged

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Dec 4, 2021

Issue: #49

What Changed

The composedStory now contains the storyName property, which comes from:

  • Story.storyName. If undefined,
  • Story.name (if using CSF1 or CSF2). If undefined,
  • The exported key name from the stories module

Also added a recipe for automated testing, thanks a lot @synaptiko

Checklist

Check the ones applicable to your change:

  • Tests are updated
  • Documentation is updated

Change Type

Indicate the type of change your pull request is:

  • documentation
  • patch
  • minor
  • major

@yannbf yannbf self-assigned this Dec 4, 2021
@yannbf yannbf added patch Increment the patch version when merged release Create a release when this pr is merged labels Dec 4, 2021
@yannbf yannbf merged commit 25b96f2 into main Dec 4, 2021
@yannbf yannbf deleted the feat/support-story-name branch December 4, 2021 12:24
@github-actions
Copy link

github-actions bot commented Dec 4, 2021

🚀 PR was released in v1.2.0 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant