Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
81e9c77
wip prototype for test fn plugin
yannbf May 22, 2025
1803fb0
continue prototype
yannbf May 25, 2025
78abf69
fixes
yannbf May 25, 2025
c2ecdb5
do not apply loader/plugin to svelte files
yannbf May 25, 2025
af298b5
no-op on non csf-factories
yannbf May 25, 2025
5dc7ef7
Merge branch 'next' into yann/test-fn-prototype
yannbf Jul 24, 2025
1086746
Handle type 'test' in Storybook UI
yannbf Jul 25, 2025
f455ffa
workaround
yannbf Jul 25, 2025
5a08df8
Merge pull request #32168 from storybookjs/shilman/add-dev-cancel-event
shilman Aug 1, 2025
d37b759
Merge pull request #31785 from storybookjs/jeppe/fix-global-settings-…
yannbf Aug 1, 2025
2390147
Merge pull request #32166 from storybookjs/docs-automocking-2
kylegach Aug 1, 2025
ba2ec9c
Merge pull request #32185 from storybookjs/shilman/tweak-survey
yannbf Aug 4, 2025
8fe5aa6
Write changelog for 9.1.1 [skip ci]
storybook-bot Aug 4, 2025
2a43712
Merge pull request #32175 from storybookjs/version-patch-from-9.1.0
yannbf Aug 4, 2025
a6bb54c
Bump version from "9.1.0" to "9.1.1" [skip ci]
storybook-bot Aug 4, 2025
ff40d89
Merge branch 'next' into yann/test-fn-prototype
yannbf Aug 4, 2025
bc01f93
add vitest integration support
yannbf Aug 4, 2025
5f9bb80
Make vitest integration work
yannbf Aug 6, 2025
ff6eb10
Update ./docs/versions/next.json for v9.2.0-alpha.2
storybook-bot Aug 6, 2025
462d8ba
Docs: Fix incorrect @next version specifiers
kylegach Jun 9, 2025
e6f92b8
Merge pull request #32213 from storybookjs/docs-snippets-next-to-late…
kylegach Aug 6, 2025
629bdff
Merge pull request #32156 from storybookjs/docs-after-each
kylegach Aug 5, 2025
e10f871
Merge pull request #32198 from storybookjs/docs-bad-upgrading-link
kylegach Aug 5, 2025
d73c129
Merge pull request #32108 from gingeekrishna/fix-storybook-webpack-32105
valentinpalkovic Aug 7, 2025
bed61ea
Merge pull request #32224 from storybookjs/docs_fix_essentials_refere…
jonniebigodes Aug 8, 2025
933b626
Merge pull request #32220 from storybookjs/yann/fix-jsx-issue-2
yannbf Aug 8, 2025
b53a9e1
Merge pull request #32218 from storybookjs/shilman/fix-cancel-telemetry
shilman Aug 8, 2025
9c44db6
Merge pull request #32230 from sk-pub/bugfix/32229
valentinpalkovic Aug 11, 2025
bbf1e77
Merge pull request #31937 from mrginglymus/fix-addon-detection-windows
valentinpalkovic Aug 11, 2025
190ceef
Merge pull request #32131 from JulioJ11/fix/nextjs-15-link-component
valentinpalkovic Aug 11, 2025
9476827
Merge pull request #31928 from kachurun/SolidJS
shilman Aug 11, 2025
b5bbb76
Merge pull request #32240 from storybookjs/yann/fix-e2e-tests
yannbf Aug 11, 2025
fb9266c
Write changelog for 9.1.2 [skip ci]
storybook-bot Aug 11, 2025
c07651f
Update ./docs/versions/next.json for v9.2.0-alpha.3
storybook-bot Aug 11, 2025
6f86c4a
Merge pull request #32197 from storybookjs/version-patch-from-9.1.1
yannbf Aug 11, 2025
99c205c
Bump version from "9.1.1" to "9.1.2" [skip ci]
storybook-bot Aug 11, 2025
dda2670
Merge branch 'latest-release'
storybook-bot Aug 11, 2025
3c00cc8
more experiments
yannbf Aug 19, 2025
cde0b32
cleanup
yannbf Aug 19, 2025
6cc74e2
cleanup
yannbf Aug 19, 2025
9d544a6
prepare for index type test
yannbf Aug 19, 2025
bef2d9e
update tests
yannbf Aug 19, 2025
87446ca
update types
yannbf Aug 19, 2025
110822c
update tests
yannbf Aug 19, 2025
b803204
support function references
yannbf Aug 19, 2025
5dce7ad
add test render phase
yannbf Aug 19, 2025
62cdd05
Update ./docs/versions/next.json for v10.0.0-beta.0
storybook-bot Aug 20, 2025
08b3fb2
prepare for the UI work
yannbf Aug 20, 2025
40df0de
updates
yannbf Aug 20, 2025
8acca71
fix
yannbf Aug 20, 2025
67643a8
fix
yannbf Aug 20, 2025
d7dc33d
fix
yannbf Aug 20, 2025
991b3b5
fixes
yannbf Aug 20, 2025
beb32bf
fix
yannbf Aug 20, 2025
4e90611
Fix types
kasperpeulen Aug 20, 2025
9719ea6
Refactor test prototype
kasperpeulen Aug 20, 2025
82b84e4
Improve a bit
kasperpeulen Aug 20, 2025
f8ff03a
Merge pull request #32238 from storybookjs/sidnioulz/issue-31436-table
valentinpalkovic Aug 12, 2025
b21eadc
Merge pull request #32216 from storybookjs/valentin/add-error-handlin…
valentinpalkovic Aug 7, 2025
2bae930
Merge pull request #32283 from storybookjs/shilman/readme-utm-params
shilman Aug 19, 2025
200d9bb
Merge pull request #32231 from storybookjs/docs_snippets_fix_incorrec…
jonniebigodes Aug 11, 2025
3f0e5d7
Merge pull request #32232 from storybookjs/docs_fix_type_imports_snip…
jonniebigodes Aug 11, 2025
633478c
Write changelog for 9.1.3 [skip ci]
storybook-bot Aug 21, 2025
0f86613
Merge pull request #32287 from storybookjs/shilman/error-utm
shilman Aug 20, 2025
bbb4ffe
Merge pull request #32286 from storybookjs/shilman/configure-utm
shilman Aug 19, 2025
730bbf0
Merge pull request #32284 from storybookjs/shilman/package-json-keywords
shilman Aug 19, 2025
2d729ed
Merge pull request #32228 from storybookjs/docs-addon-vitest-config-typo
kylegach Aug 18, 2025
a0151ef
Merge pull request #32306 from storybookjs/valentin/fix-nextjs-webpac…
ndelangen Aug 20, 2025
eca1ace
fix unit tests
yannbf Aug 21, 2025
ee34e40
fix chromatic failures
yannbf Aug 21, 2025
6ab99d4
Fix override in portable stories
kasperpeulen Aug 21, 2025
024cde6
Merge remote-tracking branch 'origin/kasper/refactor-test-prototype' …
kasperpeulen Aug 21, 2025
7def7d9
add fixes for portable stories and prepareStory
yannbf Aug 21, 2025
1dba824
Next.js: Avoid multiple webpack versions at runtime
valentinpalkovic Aug 21, 2025
2c99471
Merge pull request #32241 from storybookjs/version-patch-from-9.1.2
ndelangen Aug 21, 2025
ce39157
Bump version from "9.1.2" to "9.1.3" [skip ci]
storybook-bot Aug 21, 2025
3ab5db3
Improved doTest type
kasperpeulen Aug 21, 2025
8e74582
Improve test execution in StoryRender
kasperpeulen Aug 21, 2025
df6dce7
Merge pull request #32314 from storybookjs/kasper/refactor-test-proto…
yannbf Aug 21, 2025
ad68ec3
Next.js: Fix version mismatch error in Webpack
yannbf Aug 21, 2025
91f0fc4
bring back all tests
yannbf Aug 21, 2025
864ed55
update tests
yannbf Aug 21, 2025
d14ea0e
support story tests in single test run
yannbf Aug 21, 2025
32f7796
update comments
yannbf Aug 21, 2025
50fc0b7
fix vitest regex
yannbf Aug 21, 2025
512c1e6
Refactor to see stories as tests
kasperpeulen Aug 26, 2025
0358dcc
Remove some todos
kasperpeulen Aug 26, 2025
620663c
Rename
kasperpeulen Aug 26, 2025
91a0149
Fix
kasperpeulen Aug 26, 2025
68603a9
fix
yannbf Aug 26, 2025
a444184
fix tests and revamp test filtering
yannbf Aug 26, 2025
c47c4fa
Merge pull request #32328 from storybookjs/kasper/see-tests-as-stories
yannbf Aug 26, 2025
7b564ea
Add TestNode for sidebar
ghengeveld Aug 21, 2025
52a3cf3
implement test metrics
yannbf Aug 27, 2025
5c6ef7f
Some cleanup
ghengeveld Aug 27, 2025
d509fc3
Fix types, avoid any
ghengeveld Aug 27, 2025
05e57e6
Add missing deps
ghengeveld Aug 27, 2025
9c78432
Render test entries in sidebar and add-in wrapper entries for stories…
ghengeveld Aug 27, 2025
700ec5b
Add story with play function
ghengeveld Aug 27, 2025
cbbd7be
Ensure wrapper gets proper children and tags
ghengeveld Aug 27, 2025
5fe23d4
Fix filtering by test-fn tag
ghengeveld Aug 27, 2025
dfe2b36
Refactor sandbox generation script: streamline local registry handlin…
ndelangen Aug 28, 2025
5aa436a
Update Storybook CLI path in sandbox generation script to use CommonJ…
ndelangen Aug 28, 2025
6b8ea8f
Update SOLID generator options to disable component addition
ndelangen Aug 28, 2025
05a264c
fix search item icon for story tests
yannbf Aug 28, 2025
f6c090e
add more stories
yannbf Aug 28, 2025
ebe497a
Merge pull request #32335 from storybookjs/yann/test-metrics
yannbf Aug 28, 2025
e335dc4
Add subtype property to distinguish tests from stories
ghengeveld Aug 28, 2025
6fa8664
Add autodocs to test-fn stories for dev/test/debug
ghengeveld Aug 28, 2025
8dee332
Refactor story index transformation logic for improved filtering and …
ghengeveld Aug 29, 2025
d9bf94a
Fix sortStory
ghengeveld Aug 29, 2025
b6c82bc
fix tests
yannbf Aug 29, 2025
8e06a46
fix build/type issues
yannbf Aug 29, 2025
f70fbda
fix unit tests, write E2E
yannbf Aug 29, 2025
eefc73e
fix indexing of tests
yannbf Aug 28, 2025
5640b6e
Merge pull request #32337 from storybookjs/sidebar-test-type
yannbf Aug 29, 2025
5344b3f
fix snapshot
yannbf Aug 29, 2025
c166dc4
fix check
yannbf Aug 29, 2025
c0bad22
Merge pull request #32217 from storybookjs/docs-svelte-csf-improvements
kylegach Aug 21, 2025
55ac169
Merge pull request #32320 from storybookjs/jeppe/fix-vps-dependency-r…
JReinhold Aug 27, 2025
470f1fd
Merge pull request #32319 from storybookjs/copilot/fix-32318
JReinhold Aug 27, 2025
58752c6
Merge pull request #32350 from storybookjs/norbert/deduplicate-babel
ndelangen Aug 29, 2025
6b36e49
Merge pull request #32272 from storybookjs/kroeder/angular-config-mer…
valentinpalkovic Aug 29, 2025
035243a
Write changelog for 9.1.4 [skip ci]
storybook-bot Sep 1, 2025
07d688d
Update tags filter UI
ghengeveld Sep 1, 2025
37a5853
Update ./docs/versions/next.json for v10.0.0-beta.1
storybook-bot Sep 2, 2025
e1fcd14
Update sandbox generation script to include resolutions for react and…
ndelangen Sep 2, 2025
c1dd869
Update sandbox generation script to include resolutions for @types/re…
ndelangen Sep 2, 2025
2aca744
Merge pull request #32317 from storybookjs/version-patch-from-9.1.3
ndelangen Sep 2, 2025
9f02684
Bump version from "9.1.3" to "9.1.4" [skip ci]
storybook-bot Sep 2, 2025
6813ee2
Merge branch 'latest-release'
storybook-bot Sep 2, 2025
cf297c8
Enhance sidebar to support test entries and improve story handling
ghengeveld Sep 2, 2025
a95c291
Add default selection for tags in sidebar and update TagsFilter compo…
yannbf Sep 2, 2025
b6fbeda
add jsdocs
yannbf Sep 2, 2025
a632036
Remove console.log
ghengeveld Sep 2, 2025
0b3d490
Enhance Button story rendering and improve sidebar node expansion logic
ghengeveld Sep 2, 2025
9f16a26
Update VitestManager to use correct RegExp
ghengeveld Sep 2, 2025
5705bb5
update to use defaultSelection instead
yannbf Sep 2, 2025
24253d8
small rename
yannbf Sep 2, 2025
8d18419
cleanup
yannbf Sep 2, 2025
15e965e
Merge pull request #32373 from storybookjs/yann/add-tags-preset-to-main
yannbf Sep 2, 2025
4831e99
fix build
yannbf Sep 2, 2025
3e8c306
Implement indeterminate state for unrepresentable combination of defa…
ghengeveld Sep 3, 2025
1a4ee93
disable save from controls in story tests
yannbf Sep 3, 2025
cd66148
fix build
yannbf Sep 3, 2025
bab3780
Add story for non-initial state
ghengeveld Sep 3, 2025
f570532
Fix filtering out stories which have tests
ghengeveld Sep 3, 2025
7a03431
Fix default invert toggle setting
ghengeveld Sep 3, 2025
07e99ae
Refactor CsfFile to support test tags and update related methods for …
yannbf Sep 3, 2025
b6c6e94
Make it possible to distinguish tests from stories in StoryStore.extr…
ghengeveld Sep 3, 2025
85cf726
Update ./docs/versions/next.json for v10.0.0-beta.2
storybook-bot Sep 3, 2025
639042c
small refactor
yannbf Sep 3, 2025
3fa6097
Merge pull request #32385 from storybookjs/yann/fix-test-tags-extraction
yannbf Sep 3, 2025
9b7fa17
fix tests
yannbf Sep 3, 2025
d61fba2
Merge branch 'yann/test-fn-prototype' into update-storystore-extract
yannbf Sep 3, 2025
319ace2
Merge pull request #32388 from storybookjs/update-storystore-extract
yannbf Sep 3, 2025
48cb2d9
Merge branch 'latest-release' into feature/test-syntax-in-csf
yannbf Sep 3, 2025
478e4f1
undo some merge changes
yannbf Sep 3, 2025
7aa48c2
Fix regression and failing E2E tests
yannbf Sep 3, 2025
f5e829d
fix test-runner tests
yannbf Sep 3, 2025
0b21aff
fix unit tests
yannbf Sep 3, 2025
f793686
Fix focused test run in Storybook sidebar
yannbf Sep 4, 2025
2d64830
Revert "Fix focused test run in Storybook sidebar"
yannbf Sep 4, 2025
86db945
Fix focused test run in Storybook sidebar
yannbf Sep 4, 2025
07beaea
remove log
yannbf Sep 4, 2025
c22aa61
use double spaces instead
yannbf Sep 4, 2025
f0cfe33
only use double space in parent stories
yannbf Sep 4, 2025
3113762
fix tests
yannbf Sep 4, 2025
c2aedef
Merge pull request #32403 from storybookjs/yann/fix-focused-test-runs
yannbf Sep 4, 2025
d98408f
Implement include/exclude toggle for each tag to replace global inver…
ghengeveld Sep 4, 2025
54ecd3a
Enhance codemod tests and support for non-conventional story formats …
yannbf Sep 4, 2025
41c83af
Merge pull request #32414 from storybookjs/yann/fix-csf-factories-cod…
yannbf Sep 4, 2025
c652477
Update tags filter UI and fix filter function logic
ghengeveld Sep 4, 2025
6941da2
Merge pull request #32329 from storybookjs/norbert/proceed-if-playwri…
ndelangen Sep 2, 2025
4aaaeba
Merge pull request #32341 from storybookjs/docs-csf-next
kylegach Sep 3, 2025
246e3ef
Merge pull request #32169 from diagramatics/satisfies-as
shilman Sep 5, 2025
7a47f95
Write changelog for 9.1.5 [skip ci]
storybook-bot Sep 5, 2025
b52b74a
Merge branch 'feature/test-syntax-in-csf' into tags-filter-exclude
yannbf Sep 5, 2025
4c348d3
Copy the default included/excluded sets to avoid accidental mutation
ghengeveld Sep 5, 2025
d28127c
Rename defaultSelection to defaultFilterSelection for clarity
ghengeveld Sep 5, 2025
8a65895
Remove some built-in tags that will no longer exist
ghengeveld Sep 5, 2025
7985f43
Revert check icon when not hovering
ghengeveld Sep 5, 2025
67dfbfb
Delay tooltips
ghengeveld Sep 5, 2025
00e53ca
Merge pull request #32417 from storybookjs/tags-filter-exclude
yannbf Sep 5, 2025
8b9cc24
fix children calculation
yannbf Sep 5, 2025
87ddc71
fix children calculation pt. 2
yannbf Sep 5, 2025
3b12d84
Merge pull request #32390 from storybookjs/version-patch-from-9.1.4
shilman Sep 6, 2025
56c04b0
Bump version from "9.1.4" to "9.1.5" [skip ci]
storybook-bot Sep 6, 2025
9c1c6d9
Merge pull request #32356 from storybookjs/vy/sentry-release
vanessayuenn Sep 5, 2025
a9d51fd
Merge pull request #32438 from storybookjs/dannyhw/fix/react-native-w…
shilman Sep 11, 2025
4e32f28
Merge pull request #32439 from storybookjs/norbert/fix-type-event-slo…
ndelangen Sep 12, 2025
11b3884
Write changelog for 9.1.6 [skip ci]
storybook-bot Sep 15, 2025
c69e759
Merge pull request #32344 from storybookjs/shilman/init-version-speci…
ndelangen Sep 11, 2025
aac8a9d
Merge pull request #32448 from storybookjs/shilman/cli-integratino-te…
ndelangen Sep 15, 2025
ce2cc67
Merge pull request #32436 from storybookjs/version-patch-from-9.1.5
ndelangen Sep 15, 2025
2b1bbd2
Update GitHub Actions workflow: change node-version-file quotes and u…
ndelangen Sep 15, 2025
304edc3
Bump version from "9.1.5" to "9.1.6" [skip ci]
storybook-bot Sep 15, 2025
05a4d33
Merge branch 'latest-release' into feature/test-syntax-in-csf
ndelangen Sep 15, 2025
09c03f9
Merge branch 'next' into feature/test-syntax-in-csf
ndelangen Sep 15, 2025
de396c4
fix merge conflict
yannbf Sep 15, 2025
b5d65ed
fix e2e tests
yannbf Sep 15, 2025
9f1fa3f
Merge branch 'next' into feature/test-syntax-in-csf-sb10
yannbf Sep 15, 2025
b868eb1
Special handling for built-in tags
ghengeveld Sep 16, 2025
f3a4f4a
replace tags filter play icon
yannbf Sep 16, 2025
ed673f0
Merge pull request #32481 from storybookjs/built-in-tags-icons
yannbf Sep 16, 2025
25f0f92
Add missing subtype properties
ghengeveld Sep 17, 2025
9183a9b
Change property order
ghengeveld Sep 17, 2025
7913c9d
Remove subtype prop
ghengeveld Sep 17, 2025
ba4758a
Merge pull request #32490 from storybookjs/add-missing-subtype-props
ghengeveld Sep 17, 2025
0bac997
Merge branch 'next' into feature/test-syntax-in-csf-sb10
yannbf Sep 18, 2025
a163b78
Make csf-factories codemod bail on transformation when story is not f…
yannbf Sep 5, 2025
6c7eb65
fix tests
yannbf Sep 18, 2025
8df5a47
Merge pull request #32498 from storybookjs/yann/improve-csf-factories…
yannbf Sep 18, 2025
6aceace
Merge branch 'next' into feature/test-syntax-in-csf-sb10
yannbf Sep 18, 2025
fa3371d
fix types and import path handling
yannbf Sep 19, 2025
9c8103e
Fix focused tests for stories with tests
ghengeveld Sep 19, 2025
3942b0b
Remove tests from children of component, as they are attached to the …
ghengeveld Sep 19, 2025
999aa03
Ensure we show the correct status icon for stories with tests
ghengeveld Sep 19, 2025
9884d89
Merge pull request #32509 from storybookjs/fix-focused-tests
ghengeveld Sep 19, 2025
f31a74c
Merge branch 'next' into feature/test-syntax-in-csf-sb10
yannbf Sep 22, 2025
669680c
fix tests
yannbf Sep 22, 2025
2828dec
improve csf factories codemod
yannbf Sep 22, 2025
f0ce3fe
Fix built-in tags filtering
ghengeveld Sep 22, 2025
a1da280
add E2E tests for filter types
yannbf Sep 23, 2025
0a995fa
add addons field even when there are no addons installed
yannbf Sep 23, 2025
fefa45e
Merge branch 'next' into feature/test-syntax-in-csf-sb10
yannbf Sep 23, 2025
8a83592
only run e2e test in react
yannbf Sep 23, 2025
a25c124
fix keyboard shortcuts on e2e helper
yannbf Sep 23, 2025
2f19c9d
Merge pull request #32526 from storybookjs/fix-built-in-tags-filtering
yannbf Sep 23, 2025
dea672e
Add feature flag
yannbf Sep 23, 2025
bc54bb1
Improve error message
yannbf Sep 23, 2025
3f1f0b0
fix sandboxes
yannbf Sep 23, 2025
6d28374
Fix types
yannbf Sep 24, 2025
2e03469
fix lint
yannbf Sep 24, 2025
5e1c061
enable test syntax in storybook:ui
yannbf Sep 24, 2025
02995a7
provide features via the vitest integration
yannbf Sep 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix sortStory
  • Loading branch information
ghengeveld committed Aug 29, 2025
commit d9bf94aa0f4f4557eeebcaf4924cfa55f47b83b0
6 changes: 3 additions & 3 deletions code/core/src/preview-api/modules/store/sortStories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const sortStoriesV7 = (
Error sorting stories with sort parameter ${storySortParameter}:

> ${(err as Error).message}

Are you using a V6-style sort function in V7 mode?

More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
Expand All @@ -55,8 +55,8 @@ export const sortStoriesV7 = (
};

const toIndexEntry = (story: any): StoryIndexEntry => {
const { id, title, name, parameters, type } = story;
return { id, title, name, importPath: parameters.fileName, type };
const { id, title, name, parameters, type, subtype, parent } = story;
return { id, title, name, importPath: parameters.fileName, type, subtype, parent };
};

export const sortStoriesV6 = <TRenderer extends Renderer>(
Expand Down
Loading