1670 Commits

Author SHA1 Message Date
Tom Coleman
d9bb26e146 Various fixes 2021-09-06 16:37:19 +10:00
Tom Coleman
eeb3708c16 Update CSF version to pass Args through to stories 2021-09-06 15:35:14 +10:00
Tom Coleman
64724a21e1 Add sorting to back-compat store 2021-09-06 12:14:00 +10:00
Tom Coleman
d31cca366c Move sorting types back to addons 2021-09-06 12:13:30 +10:00
Tom Coleman
67f882735c Deal with multiple storiesOf in the same file 2021-09-06 10:39:03 +10:00
Tom Coleman
263b005669 Don't use title exports in non v7 store 2021-09-06 09:22:26 +10:00
Tom Coleman
1567164519 Remove a lot of TODOs, clean up 2021-09-06 08:26:48 +10:00
Tom Coleman
088ea7631e Change Framework => TFramework 2021-09-03 14:18:30 +10:00
Tom Coleman
e4236c1452 Repair globals/globalTypes in legacy 2021-09-02 20:57:18 +10:00
Tom Coleman
6f584a212c Fixed up getStorybook/raw and made storyshots work 2021-09-02 12:34:24 +10:00
Tom Coleman
8dfe9f9fde Added a "sync" init path to allow storyshots to be sycn 2021-09-01 15:01:41 +10:00
Tom Coleman
462115395d Cleanup 2021-08-31 23:00:52 +10:00
Tom Coleman
275155fa46 Got core-client going too 2021-08-31 23:00:24 +10:00
Tom Coleman
922e5ee802 Update types in core-client 2021-08-31 22:56:59 +10:00
Tom Coleman
a09a5317a9 Fixed up ClientApi types 2021-08-31 22:56:44 +10:00
Tom Coleman
53ed7b4e4d Throw from client api exports if using storyStoreV7 2021-08-31 19:25:19 +10:00
Tom Coleman
b9c8b873a1 Don't export ConfigApi any more -- not sure it could be used directly anyway 2021-08-31 19:10:41 +10:00
Tom Coleman
e1268c751d Clean up some exported APIs 2021-08-31 19:00:56 +10:00
Tom Coleman
82d2b57228 Upgrade CSF again 2021-08-31 19:00:41 +10:00
Tom Coleman
bee50c8149 Add errors for removed APIs 2021-08-31 16:21:18 +10:00
Tom Coleman
e88f66e958 Fix type 2021-08-31 16:20:07 +10:00
Tom Coleman
966a023322 Somehow this got lost 2021-08-31 16:18:41 +10:00
Tom Coleman
ecf335e66e Got getStorybook() going, refactor start + client-api 2021-08-31 16:07:29 +10:00
Tom Coleman
54d3cd06fc Implemented .extract() and better getSetStoriesPayload() on store 2021-08-30 22:50:05 +10:00
Tom Coleman
ac043f9011 We need to refetch the story list when the import fn changes 2021-08-30 21:42:13 +10:00
Tom Coleman
1290b1e733 Small cleanups 2021-08-30 21:41:57 +10:00
Tom Coleman
5921d52627 Maintain component order on HMR 2021-08-30 17:33:49 +10:00
Tom Coleman
18a6e51136 HMR tests for start 2021-08-30 17:06:25 +10:00
Tom Coleman
86847d9126 Handle HMR in storiesOf 2021-08-30 15:37:57 +10:00
Tom Coleman
22db095cdc Clean code up a little 2021-08-30 14:59:17 +10:00
Tom Coleman
b2a7949fcc Added forceReRender to start 2021-08-30 14:18:31 +10:00
Tom Coleman
6dfe70cac8 Fixed some problems and added some tests for start.ts 2021-08-29 22:57:25 +10:00
Tom Coleman
7137e772ab Some improvements 2021-08-28 18:17:41 +10:00
Tom Coleman
5772eb6780 Got old-style working 2021-08-27 20:01:53 +10:00
Tom Coleman
a905b091fa Got things bootstrappign 2021-08-27 16:56:50 +10:00
Tom Coleman
d05a6c1442 Close to bootstrapping again 2021-08-27 14:41:07 +10:00
Tom Coleman
93d1669208 Update CSF 2021-08-27 13:34:58 +10:00
Tom Coleman
5b974e9a15 Got first version of storiesOf shim in. Not yet running 2021-08-26 22:16:00 +10:00
Tom Coleman
56ac92fe04 Sorted out inferArgTypes 2021-08-25 21:56:43 +10:00
Tom Coleman
a1568c39bf Types + tests working in store 2021-08-25 16:10:59 +10:00
Tom Coleman
18d3633ab4 A lot of type changes, not quite building yet 2021-08-24 23:17:07 +10:00
Tom Coleman
4064148962 Migrate a lot of types in the on-demand-store 2021-08-24 00:15:16 +10:00
Tom Coleman
a9e9a08410 Fix up inferControls 2021-08-20 19:12:32 +10:00
Tom Coleman
5e31fd903d Semi fix/hack client-api/core-client types so they build 2021-08-19 17:13:25 +10:00
Tom Coleman
890623cb6e Move new files from client-api => store 2021-08-19 14:25:35 +10:00
Tom Coleman
26abe9ae3f Move tests around selection specifier + HMR over 2021-08-18 11:26:32 +10:00
Tom Coleman
ce7411e284 Remove tests that have been ported 👍 2021-08-18 10:58:46 +10:00
Tom Coleman
3aa4fc897a Ensure we don't keep "spurious" changes on implementation updates
Also this ensures weird stuff doesn't happen when we change arg/global names.
2021-08-17 22:59:27 +10:00
Tom Coleman
f04c9cabec Updated globals behaviour on HMR to mirror args 2021-08-17 22:04:36 +10:00
Tom Coleman
a036c23475 Retain a delta of arg changes on HMR
If you update an arg value, then change the underlying (initial) args, we look at what you've changed, then try and apply it over the new initial args.
2021-08-17 21:12:10 +10:00