Skip to content

chore: standardize stories#2016

Draft
sacrosanctic wants to merge 1 commit intonpmx-dev:mainfrom
sacrosanctic:planned-shark
Draft

chore: standardize stories#2016
sacrosanctic wants to merge 1 commit intonpmx-dev:mainfrom
sacrosanctic:planned-shark

Conversation

@sacrosanctic
Copy link
Contributor

@sacrosanctic sacrosanctic commented Mar 10, 2026

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

My notes

  • enable autodics
    • need support for dark mode
    • i18n is causing errors
  • remove snapshot story (replaced by autodocs)
  • add a playground story
    • autodocs has this but requires scrolling

types of stories

  • visual stories - only show in autodocs
  • interactive stories only show in sidebar
  • test focused stories - only show in sidebar (or not at all? if it isnt visually apparent)

!dev do not show in sidebar
!test do not run test
!autodocs do not show in autodocs
https://storybook.js.org/docs/writing-stories/tags
https://storybook.js.org/addons/storybook-addon-tag-badges

812c3f5#diff-4897215af822c794e6551f7d720b2035ef72d004f1cfc36e60238cf2e8b6bd98L18
#1270

problems

  • double playground component in autodocs
  • double evnts in story actions

🔗 Linked issue

🧭 Context

📚 Description

@vercel
Copy link

vercel bot commented Mar 10, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Mar 10, 2026 4:01am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Mar 10, 2026 4:01am
npmx-lunaria Ignored Ignored Mar 10, 2026 4:01am

Request Review

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

### My notes
- enable autodics
  - need support for dark mode
  - i18n is causing errors
- remove snapshot story (replaced by autodocs)
- add a playground story
  - autodocs has this but requires scrolling

#### types of stories
- visual stories - only show in autodocs
- interactive stories only show in sidebar
- test focused stories - only show in sidebar (or not at all? if it isnt visually apparent)

### 🔗 Linked issue

<!-- Please ensure there is an open issue and mention its number. For example, "resolves npmx-dev#123" -->

### 🧭 Context

<!-- Brief background and why this change is needed -->

<!-- High-level summary of what changed -->

### 📚 Description

<!-- Describe your changes in detail. Why is this change required? What problem does it solve? -->

<!-- If you used AI tools to help with this contribution, please ensure the PR description and code reflect your own understanding.
     Write in your own voice rather than copying AI-generated text. -->

<!----------------------------------------------------------------------
Before creating the pull request, please make sure you do the following:

- Check that there isn't already a PR that solves the problem the same way. If you find a duplicate, please help us reviewing it.
- Ensure that PR title follows conventional commits (https://www.conventionalcommits.org)
- Update the corresponding documentation if needed.
- Include relevant tests that fail without this PR but pass with it.
- Add any additional context, tradeoffs, follow-ups, or things reviewers should be aware of.

Thank you for contributing to npmx!
----------------------------------------------------------------------->
@codecov
Copy link

codecov bot commented Mar 10, 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!

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