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

1.0.0-beta.6: Improve code snippets and CD #16

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

JonahPlusPlus
Copy link
Collaborator

The changes I made in 1.0.0-beta.4 and 1.0.0-beta.5 were nice, but had a couple of bugs and weren't completely satisfactory.

There was a bug I didn't catch when passing expressions to children in stories that caused them to be rendered empty (due to a naming convention that I missed since Babel doesn't have types in the standalone version).

I also noticed in my own project that stories using args didn't play well with children that had complex types and so it was better to use a render function to make the story.

This PR fixes the bugs and allows for render functions to be used for code snippets.
It also attempts to fix the CD issues.

@JonahPlusPlus JonahPlusPlus marked this pull request as ready for review November 13, 2024 17:09
@JonahPlusPlus
Copy link
Collaborator Author

Interesting, in GH action expressions, nullish values need to be coerced to booleans.

@JonahPlusPlus JonahPlusPlus merged commit 12e4633 into storybookjs:main Nov 13, 2024
5 checks passed
@JonahPlusPlus JonahPlusPlus deleted the 1.0.0-beta.6 branch November 13, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant