Michael Shilman
331bb74d41
Update root, peer deps, version.ts/json to 6.4.0-beta.22 [ci skip]
2021-10-28 23:56:31 +08:00
Michael Shilman
ca55a29feb
Merge pull request #16488 from storybookjs/16174-fix-docs-args-hmr
...
Addon-docs: Track code-level args changes in `ArgsTable`
2021-10-28 10:02:40 +08:00
Michael Shilman
ad2a17bbdf
Update git head to 6.4.0-beta.21, update yarn.lock
2021-10-28 01:22:17 +08:00
Michael Shilman
eb83ef6aef
v6.4.0-beta.21
2021-10-28 01:19:13 +08:00
Michael Shilman
b0147d2452
Update root, peer deps, version.ts/json to 6.4.0-beta.21 [ci skip]
2021-10-28 01:09:54 +08:00
Michael Shilman
9814f81911
Merge pull request #16487 from storybookjs/16486-fix-non-selected-hmr
...
Core: Always update initial args when loading a story
2021-10-28 01:03:12 +08:00
Michael Shilman
2adb400670
Merge pull request #16476 from storybookjs/16260-rerun-loaders-on-rerender
...
Core: Rerun loaders when args/globals change
2021-10-28 01:02:41 +08:00
Yann Braga
e260ec5f38
Merge pull request #16481 from storybookjs/feature/interactions-feature-flag
...
Interactions: move step debugger behind a feature flag
2021-10-27 17:34:27 +02:00
Michael Shilman
32c477659d
Merge branch 'next' into 16260-rerun-loaders-on-rerender
2021-10-27 23:25:46 +08:00
Michael Shilman
1564b2c819
Merge branch 'next' into 16486-fix-non-selected-hmr
2021-10-27 23:24:21 +08:00
Tom Coleman
58cc5efdb0
Apply suggestions from code review
2021-10-27 08:28:29 +00:00
Tom Coleman
2504e5a3d2
Emit a STORY_ARGS_UPDATED
event whenever the current story's implementation changes.
...
This means things like the `ArgsTable` can keep up to date.
NOTE: this does not work if a different story to the the "selected" story is updated in docs mode, which can be visible on the screen. This is a symptom of a larger problem in the way that docs mode works.
2021-10-27 16:17:10 +11:00
Tom Coleman
12bc4b4988
Only bother doing the update check if the initial args have changed by ref
2021-10-27 15:50:33 +11:00
Tom Coleman
0a5466a32c
Always update initial args when loading a story
...
And also update the current args with the delta. This means both when we change story (to an HMR-ed story) and when we HMR the current story.
2021-10-27 15:48:39 +11:00
Yann Braga
217fa08e11
refactor(addon-interactions): rename flag
2021-10-26 21:11:50 +02:00
Michael Shilman
7e6bf86244
Merge pull request #16475 from storybookjs/tom/ch-661-addon-a11y-initializing-forever
...
Core: Ensure we don't reset `WebPreview` if calling `start()` in v7 mode
2021-10-27 00:34:14 +08:00
Michael Shilman
894fd20a90
Fix undefined FEATURES
2021-10-27 00:15:11 +08:00
Michael Shilman
8d6b0901aa
Fix clientAPi.raw API signature
2021-10-27 00:04:14 +08:00
Michael Shilman
ac753e340f
Add missing API
2021-10-26 23:57:13 +08:00
Yann Braga
46af46efdf
feat(core): add interactions debugging feature flag
2021-10-26 17:01:00 +02:00
Gert Hengeveld
05284d996e
Fix test
2021-10-26 13:09:36 +02:00
Gert Hengeveld
b36d6ac473
Only update globals if they're different
2021-10-26 12:45:52 +02:00
Tom Coleman
69eddcb03c
Rerun loaders when args/globals change
2021-10-26 16:48:31 +11:00
Tom Coleman
0de76c6e76
Missed one!
2021-10-26 16:30:05 +11:00
Tom Coleman
c3044911f2
Ensure we don't reset WebPreview
if calling start()
in v7 mode
2021-10-26 16:17:17 +11:00
Gert Hengeveld
897581e069
Update querystring on preview URL to mirror manager URL
2021-10-26 00:13:11 +02:00
Gert Hengeveld
e20427c999
Use existing globals storage
2021-10-26 00:13:11 +02:00
Gert Hengeveld
0343c810c7
Save and restore globals on preview init using the channel
2021-10-26 00:13:11 +02:00
Michael Shilman
d43cd0a69b
Update git head to 6.4.0-beta.20, update yarn.lock
2021-10-26 03:02:31 +08:00
Michael Shilman
1a9315fd39
v6.4.0-beta.20
2021-10-26 02:59:16 +08:00
Michael Shilman
87dad88cad
Update root, peer deps, version.ts/json to 6.4.0-beta.20 [ci skip]
2021-10-26 02:48:27 +08:00
Yann Braga
c3254778a4
Merge branch 'next' into fix/14619-react-router-upgrade
2021-10-25 18:10:20 +02:00
Norbert de Langen
680e71753f
fix stories
2021-10-25 12:28:21 +02:00
Gert Hengeveld
8645534547
Fix test
2021-10-24 22:55:15 +02:00
Gert Hengeveld
741722f231
Do not cleanup state when loading initial story
2021-10-23 23:26:27 +02:00
Norbert de Langen
c04e6ad20d
add a storyId to preview stories
2021-10-22 16:28:30 +02:00
Norbert de Langen
60925de313
no panel in app story
2021-10-22 16:27:24 +02:00
Norbert de Langen
2716baeb63
change the app component story
2021-10-22 15:51:26 +02:00
Michael Shilman
7b8bc510b9
Core: Fix optional global features in PreviewWeb
2021-10-22 21:49:07 +08:00
Norbert de Langen
1c11d3b8b8
do not wrap everything, just the components that need it
2021-10-22 13:00:41 +02:00
Norbert de Langen
15c2925f49
Merge branch 'next' into fix/14619-react-router-upgrade
...
# Conflicts:
# lib/api/package.json
# lib/router/package.json
# yarn.lock
2021-10-22 12:24:49 +02:00
Michael Shilman
80bc856728
Update git head to 6.4.0-beta.19, update yarn.lock
2021-10-22 14:36:27 +08:00
Michael Shilman
60b9bd1e51
v6.4.0-beta.19
2021-10-22 14:33:26 +08:00
Michael Shilman
d14e00e6ff
Update root, peer deps, version.ts/json to 6.4.0-beta.19 [ci skip]
2021-10-22 14:00:38 +08:00
Michael Shilman
d42f89a9d4
Merge pull request #16445 from storybookjs/16237-fix-windows-story-index
...
Core: Fix some slashes for windows
2021-10-22 13:42:33 +08:00
Michael Shilman
5532cb5b64
Fix bad merge
2021-10-22 13:16:52 +08:00
Michael Shilman
25b0542042
Update lib/core-common/src/types.ts
2021-10-22 13:12:08 +08:00
Michael Shilman
c8c00340a5
Merge branch 'next' into 16237-fix-windows-story-index
2021-10-22 11:55:43 +08:00
Abdelkader Boudih
ed4a30f4d4
chore: Add typing for StorybookConfig.refs
2021-10-21 20:51:43 +01:00
Norbert de Langen
007a7d1d2f
fix tests
2021-10-21 18:00:55 +02:00