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

[Tracking]: Storybook Test onboarding via storybook init #30196

Open
1 of 20 tasks
ghengeveld opened this issue Jan 6, 2025 · 0 comments
Open
1 of 20 tasks

[Tracking]: Storybook Test onboarding via storybook init #30196

ghengeveld opened this issue Jan 6, 2025 · 0 comments

Comments

@ghengeveld
Copy link
Member

ghengeveld commented Jan 6, 2025

πŸ§‘β€πŸ€β€πŸ§‘ Who: @ghengeveld and @ndelangen

This is a tracking issue for the Onboard to Storybook Test via init project. Its purpose is to keep track of the overall status of the project and tasks and plan everything around it.

🏁 Goals

  1. Simplify installation of Storybook Test by offering a zero-config setup in more complex projects. This includes Next.js users and custom Vite or Vitest setups. Right now the addon will fail to finish its postinstall step if it detects an unsupported scenario.
  2. Improve visibility & awareness of Storybook Test. By making testing more prominent during initial Storybook setup, new users are more likely to adopt this capability, or at least be aware of its existence.
  3. Gain insight into what users intend to use Storybook for, by explicitly asking this question during setup. Do they plan on using Storybook for testing, documentation, both, or just development?
  4. Avoid installing unnecessary dependencies. Based on the intended use, we can intelligently install only the packages the user will need.
  5. Improve the usability and maintainability of the Storybook CLI. Right now the CLI is poorly designed, hard to maintain, and not user-friendly. Its output is verbose, cluttered and inconsistent. This is an opportunity to address all those issues by completely reimplementing the init command of the CLI. We plan to use Ink which allows us to provide a rich, interactive experience while being able to develop in Storybook and use known React patterns.

🚩 Milestones

New init CLI

Preview Give feedback

Compatibility resolvers

Preview Give feedback

Showcase testing in template stories

Preview Give feedback

create-storybook optimizations

Preview Give feedback

Other expandable scope

Preview Give feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants