Skip to content

Comments

feat: add storybook#1270

Open
sacrosanctic wants to merge 32 commits intonpmx-dev:mainfrom
sacrosanctic:storybook
Open

feat: add storybook#1270
sacrosanctic wants to merge 32 commits intonpmx-dev:mainfrom
sacrosanctic:storybook

Conversation

@sacrosanctic
Copy link
Contributor

@sacrosanctic sacrosanctic commented Feb 9, 2026

In this PR

  • setup storybook
  • outline how storybook will integrate with the project

todo

  • setup chromatic @JReinhold
  • mocks for nuxt modules

considerations

  • story scope and converage
  • storybook and vitest has redundant tests
  • define component boundaries

notes

notes to self

  • LicenseDisplay - should handle the nullish case internally
  • DownloadAnalytics - should be multiple components
  • Button - full width block is not full width
  • Button - ariakeyshortcut is unused

@vercel
Copy link

vercel bot commented Feb 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Feb 24, 2026 2:45pm
npmx.dev Ready Ready Preview, Comment Feb 24, 2026 2:45pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Feb 24, 2026 2:45pm

Request Review

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@JReinhold JReinhold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my suggestions here could potentially be a longer-term solution to the unsupported parts of nuxt.

Copy link
Collaborator

@JReinhold JReinhold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great job! I didn't look too much into the stories themselves, but it looked good.

@sacrosanctic
Copy link
Contributor Author

great job! I didn't look too much into the stories themselves, but it looked good.

No worries, the stories will be iterative. I will be removing them so they can be discussed in their own PR.

Copy link
Collaborator

@JReinhold JReinhold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏎️

Copy link
Contributor

@cylewaitforit cylewaitforit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very much looking forward to this!

const meta = {
component: Component,
// component scope configuration goes here
} satisfies Meta<typeof Component>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion(non-blocking): Could we use eslint-plugin-storybook's meta-satisfies-type rule to enforce this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be done in a separate PR

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.

4 participants