-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Group Stories in Example Apps by Addon or Feature #1750
Comments
I have had the same thoughts 👍 |
I like this approach! 👍 I would also discuss :
|
I think that's a great idea, but it's nice to have one example that checks backward compatibility so that it doesn't regress. At least until we deprecate the feature.
Yes, 100%! I was thinking a new file per top level group
I see the kitchen sink more as an example app and also a testing environment for us. But I think it's possible we can add a top level dev file that includes components for development as well. |
Maybe we could put all deprecated examples into a separate story file in order to switch it off easily?
I fully agree with this! In this point, it makes sense to keep all warnings with it. But if you run it as a dev tool it could be not very convenient. |
I think we can do it the really ugly way and have it require from the relative path of the source package. That way when a developer changes the source file, it's immediately reflected. The import paths might get really long, but I think it's the most ideal solution. I'd also like to get the examples working in a way that can showcase storybook usage so we can deploy it somewhere as well. I'm gonna be away for the next two weeks. If anyone wants to take a shot at refactoring, feel free. Otherwise, I'll start when I get back. |
#1750 CRA Example cleanup - knobs and notes
Changes are really hard to test right now on our example apps. It's hard to find which component uses which addon and what features of the addon where.
I think it'd be nice if we follow a hierarchy that reflects the example's feature set.
example:
cra-example-app todo:
future goals:
The text was updated successfully, but these errors were encountered: