Michael Shilman
|
8d7fa4249c
|
Merge pull request #15871 from storybookjs/on-demand-store
Core: On demand store
|
2021-09-14 17:13:46 +08:00 |
|
Michael Shilman
|
5a981b4bd5
|
Fix deepscan
|
2021-09-14 16:45:42 +08:00 |
|
Michael Shilman
|
7681f82e35
|
Merge pull request #16034 from storybookjs/fix/on-demand-store-addon-docs
Addon-docs: Bugfixes for new on-demand architecture
|
2021-09-14 16:39:47 +08:00 |
|
Michael Shilman
|
18f4c717db
|
Addon-docs/web-components: Handle no-manifest version check
|
2021-09-14 16:18:32 +08:00 |
|
Michael Shilman
|
adcc98ff9f
|
E2E force remove package-lock.json
|
2021-09-14 16:16:59 +08:00 |
|
Michael Shilman
|
84603ec403
|
Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs
|
2021-09-14 14:56:26 +08:00 |
|
Michael Shilman
|
ed17c1f1b4
|
Merge pull request #16037 from storybookjs/on-demand-store-fix-useEffect-sourceContainer
Fix `useEffect` in docs and `SourceContainer`
|
2021-09-14 14:54:41 +08:00 |
|
Michael Shilman
|
c4d2507fca
|
Fix failing sourceDecorator tests
|
2021-09-14 14:35:38 +08:00 |
|
Tom Coleman
|
65be218188
|
Fix tests and ensure channel is defined
|
2021-09-14 15:54:15 +10:00 |
|
Michael Shilman
|
2a16b7a1c9
|
Update story to new DocsContext
|
2021-09-14 13:31:56 +08:00 |
|
Michael Shilman
|
f2edc58755
|
Fix docs test
|
2021-09-14 13:05:59 +08:00 |
|
Tom Coleman
|
9bb98c90b3
|
Ensure we emit all SNIPPET_RENDERED in useEffect()
This also enables us to simplify `SourceContainer`.
|
2021-09-14 14:31:28 +10:00 |
|
Michael Shilman
|
acf0e9c141
|
Fix deepscan error
|
2021-09-14 12:29:37 +08:00 |
|
Michael Shilman
|
6af054700a
|
Update snapshots
|
2021-09-14 12:23:45 +08:00 |
|
Tom Coleman
|
90706309a4
|
Wait until all sub-stories have rendered in docs
We need to wait to emit DOCS_RENDERED until all the stories are rendered.
|
2021-09-14 14:23:03 +10:00 |
|
Michael Shilman
|
168e5466a5
|
Add simple docs tab e2e test
|
2021-09-14 12:21:57 +08:00 |
|
Tom Coleman
|
b38539253e
|
Hooks order fix
|
2021-09-14 14:21:12 +10:00 |
|
Tom Coleman
|
ebd1f934b8
|
Ensure we don't call configure for stories if we don't have any
|
2021-09-13 21:48:27 +10:00 |
|
Michael Shilman
|
c26cd6b9e4
|
Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs
|
2021-09-13 18:59:04 +08:00 |
|
Tom Coleman
|
faf1b429c7
|
Retain hooks between loads of the story store.
|
2021-09-13 19:21:21 +10:00 |
|
Michael Shilman
|
5bc3db4ea3
|
Fix stories.json auto-extraction for named exports
|
2021-09-13 17:18:35 +08:00 |
|
Michael Shilman
|
68e638a09e
|
Merge pull request #15996 from rmschindler/patch-1
Fix typos
|
2021-09-13 16:52:46 +08:00 |
|
Michael Shilman
|
825f435077
|
Fix modern inline rendering with absolutely positioned elements
|
2021-09-13 16:52:06 +08:00 |
|
Michael Shilman
|
0ae41ca27d
|
Clean up source snippet retrieval for arbitrary stories
|
2021-09-13 16:41:20 +08:00 |
|
Michael Shilman
|
ac1b4f5251
|
MDX: Rename mdxComponentMeta to mdxComponentAnnotations
|
2021-09-13 15:34:52 +08:00 |
|
Tom Coleman
|
c76a842271
|
Update Store APIs to be backwards-compatible
(Specifically to ensure the links addon works)
|
2021-09-13 17:24:54 +10:00 |
|
Michael Shilman
|
2c62434443
|
Fix unbalanced hooks error in ArgsTable
|
2021-09-13 15:20:31 +08:00 |
|
Tom Coleman
|
ca4108c53b
|
We need to track initialization now.
|
2021-09-13 17:15:45 +10:00 |
|
Tom Coleman
|
dcdf150b88
|
Update store/preview to take project annotations on init.
This way they can be set on `window` at boot time.
|
2021-09-13 17:08:07 +10:00 |
|
Michael Shilman
|
28d1fe2e42
|
Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs
|
2021-09-13 14:54:17 +08:00 |
|
Michael Shilman
|
a1e1ec6245
|
Fix docs rendering
|
2021-09-13 14:53:10 +08:00 |
|
Tom Coleman
|
58db776769
|
Update CSF to get rid of play context
|
2021-09-13 16:30:51 +10:00 |
|
Tom Coleman
|
58817dec00
|
Fix problem with prepareForInline
|
2021-09-13 16:30:09 +10:00 |
|
Michael Shilman
|
5ecdcce1b0
|
Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs
|
2021-09-13 13:18:57 +08:00 |
|
Tom Coleman
|
40a4e6ccea
|
Merge pull request #16008 from storybookjs/on-demand-store-uncached-stories-index
Story index: Uncache `stories.json` generation
|
2021-09-13 13:56:34 +10:00 |
|
Tom Coleman
|
a0acaccfad
|
Use to-require-context for glob generation after all
|
2021-09-13 09:08:55 +10:00 |
|
Tom Coleman
|
ff29a54115
|
Update CSF for AnyFramework
|
2021-09-11 19:54:15 +10:00 |
|
Tom Coleman
|
0c7a166636
|
Update most <any> to nothing which defaults to <AnyFramework>
|
2021-09-11 19:51:05 +10:00 |
|
Tom Coleman
|
75bad87ea0
|
Somehow missed this too
|
2021-09-11 16:31:50 +10:00 |
|
Tom Coleman
|
66e226e9eb
|
Somehow missed this
|
2021-09-11 16:28:37 +10:00 |
|
Tom Coleman
|
06c58d9d6e
|
Add presets for all frameworks
|
2021-09-11 16:04:56 +10:00 |
|
Tom Coleman
|
9473f4db90
|
Apply suggestions from code review
|
2021-09-10 18:36:52 +10:00 |
|
Tom Coleman
|
5c833834b2
|
Add warning if find old stories.json
b05020ce5c (r705834795)
|
2021-09-10 18:31:28 +10:00 |
|
Michael Shilman
|
5b5524babf
|
Recompute stories.json on each request in dev-mode
|
2021-09-10 13:27:01 +08:00 |
|
Michael Shilman
|
b76e744af4
|
Temporarily restore glob-base to fix importFn
|
2021-09-10 13:26:22 +08:00 |
|
Tom Coleman
|
18ed032164
|
Merge pull request #15987 from storybookjs/on-demand-store-sync-arg
Refactor to pass sync as an arg rather than using a separate method
|
2021-09-09 19:34:04 +10:00 |
|
Tom Coleman
|
18066d0ce8
|
Add migration notes about new features
|
2021-09-09 19:32:13 +10:00 |
|
Tom Coleman
|
d9679bbd59
|
Refactor to pass sync as an arg rather than using a separate method
Using TS overloads to deal with the type differences. It's a little awkward but probably avoids code duplication a little.
|
2021-09-09 13:47:19 +10:00 |
|
Tom Coleman
|
53e00b34ba
|
Fix exported type from .raw()
|
2021-09-09 02:33:32 +10:00 |
|
Tom Coleman
|
81838bd8a5
|
Arg fix lib/api
|
2021-09-09 02:19:10 +10:00 |
|