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

CSF: Add base factories #30416

Draft
wants to merge 23 commits into
base: kasper/csf-factories
Choose a base branch
from
Draft

Conversation

kasperpeulen
Copy link
Contributor

@kasperpeulen kasperpeulen commented Jan 29, 2025

Closes #

What I did

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

name before after diff z %
createSize 0 B 0 B 0 B - -
generateSize 77.9 MB 77.9 MB 6.06 kB 2.06 0%
initSize 132 MB 132 MB 79.8 kB -0.44 0.1%
diffSize 53.8 MB 53.9 MB 73.8 kB -0.5 0.1%
buildSize 7.19 MB 7.22 MB 27.8 kB 28.57 0.4%
buildSbAddonsSize 1.85 MB 1.85 MB -422 B -3.47 0%
buildSbCommonSize 195 kB 195 kB 0 B - 0%
buildSbManagerSize 1.87 MB 1.87 MB 0 B 1.11 0%
buildSbPreviewSize 0 B 0 B 0 B - -
buildStaticSize 0 B 0 B 0 B - -
buildPrebuildSize 3.91 MB 3.91 MB -422 B 0.7 0%
buildPreviewSize 3.28 MB 3.31 MB 28.2 kB 100.57 0.9%
testBuildSize 0 B 0 B 0 B - -
testBuildSbAddonsSize 0 B 0 B 0 B - -
testBuildSbCommonSize 0 B 0 B 0 B - -
testBuildSbManagerSize 0 B 0 B 0 B - -
testBuildSbPreviewSize 0 B 0 B 0 B - -
testBuildStaticSize 0 B 0 B 0 B - -
testBuildPrebuildSize 0 B 0 B 0 B - -
testBuildPreviewSize 0 B 0 B 0 B - -
name before after diff z %
createTime 18.1s 7.9s -10s -168ms -1.28 🔰-127.4%
generateTime 26s 20.2s -5s -813ms -0.42 -28.7%
initTime 14.3s 13.7s -555ms -0.27 -4%
buildTime 9.8s 10.6s 832ms 0.93 7.8%
testBuildTime 0ms 0ms 0ms - -
devPreviewResponsive 4.8s 4.8s 8ms -0.49 0.2%
devManagerResponsive 3.5s 3.5s 89ms -0.25 2.5%
devManagerHeaderVisible 568ms 578ms 10ms -0.81 1.7%
devManagerIndexVisible 605ms 589ms -16ms -1.02 -2.7%
devStoryVisibleUncached 1.9s 2s 55ms 0.39 2.7%
devStoryVisible 606ms 609ms 3ms -0.82 0.5%
devAutodocsVisible 514ms 474ms -40ms -0.93 -8.4%
devMDXVisible 533ms 471ms -62ms -1.01 -13.2%
buildManagerHeaderVisible 536ms 525ms -11ms -0.73 -2.1%
buildManagerIndexVisible 542ms 529ms -13ms -0.72 -2.5%
buildStoryVisible 528ms 513ms -15ms -0.78 -2.9%
buildAutodocsVisible 433ms 433ms 0ms -0.67 0%
buildMDXVisible 397ms 401ms 4ms -1.24 1%

@kasperpeulen kasperpeulen changed the base branch from next to kasper/csf-factories January 29, 2025 15:56
Copy link
Contributor

Fails
🚫

PR is not labeled with one of: ["cleanup","BREAKING CHANGE","feature request","bug","documentation","maintenance","build","dependencies"]

🚫

PR is not labeled with one of: ["ci:normal","ci:merged","ci:daily","ci:docs"]

🚫 PR title must be in the format of "Area: Summary", With both Area and Summary starting with a capital letter Good examples: - "Docs: Describe Canvas Doc Block" - "Svelte: Support Svelte v4" Bad examples: - "add new api docs" - "fix: Svelte 4 support" - "Vue: improve docs"

Generated by 🚫 dangerJS against 8ceedc1

Copy link

nx-cloud bot commented Jan 29, 2025

View your CI Pipeline Execution ↗ for commit 1d637ec.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 49s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-31 16:26:52 UTC

@yannbf yannbf changed the title Kasper/base factories CSF: Add base factories Jan 30, 2025
@storybook-pr-benchmarking
Copy link

storybook-pr-benchmarking bot commented Jan 30, 2025

Package Benchmarks

Commit: 1d637ec, ran on 31 January 2025 at 16:35:59 UTC

No significant changes detected, all good. 👏

@kasperpeulen kasperpeulen added ci:merged Run the CI jobs that normally run when merged. and removed ci:normal labels Jan 31, 2025
@yannbf yannbf self-assigned this Jan 31, 2025
@yannbf yannbf added ci:normal and removed ci:merged Run the CI jobs that normally run when merged. labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants