Tom Coleman
|
fe95ffef3e
|
Typing fixes
|
2020-03-02 23:43:51 +11:00 |
|
Tom Coleman
|
d75b4e09a0
|
Added basic global args mechanism to story_store
|
2020-03-02 23:28:06 +11:00 |
|
Tom Coleman
|
c64b99d6b8
|
Fix merge issues that stopped stories rendering
|
2020-03-02 23:25:33 +11:00 |
|
Tom Coleman
|
cee92e2236
|
Fix merge issue
|
2020-03-02 22:46:28 +11:00 |
|
Tom Coleman
|
6c5b216be9
|
Merge remote-tracking branch 'origin/next' into feature/args
|
2020-03-02 17:42:51 +11:00 |
|
Tom Coleman
|
44e6f87f0a
|
Change arg initial values to come from parameters.args
|
2020-03-02 16:40:43 +11:00 |
|
Tom Coleman
|
b9af9f672b
|
Change ClientAPI HMR code to not call startConfiguring
|
2020-03-02 16:25:01 +11:00 |
|
Tom Coleman
|
6633c79d15
|
Change behaviour of parameter enhancers to not merge subkeys
|
2020-03-02 12:03:26 +11:00 |
|
Tom Coleman
|
95f84f00f0
|
Added tests for storyStore
|
2020-02-27 16:20:42 +11:00 |
|
Tom Coleman
|
7616d76326
|
Basics working
|
2020-02-26 22:46:44 +11:00 |
|
Tom Coleman
|
c4a8c869a0
|
First part of refactor -- pull StoryRenderer out of start.js
|
2020-02-20 21:41:03 +11:00 |
|
Tom Coleman
|
833c13becb
|
Type fixes
|
2020-02-18 17:30:32 +11:00 |
|
Tom Coleman
|
95f713e849
|
Add addParameterEnhancer export to client api
|
2020-02-18 17:22:28 +11:00 |
|
Tom Coleman
|
1f0de2670e
|
Implemented parameters.passArgsFirst
|
2020-02-18 17:09:04 +11:00 |
|
Tom Coleman
|
b386f301ca
|
Add parameterEnhancers
|
2020-02-18 16:35:22 +11:00 |
|
Tom Coleman
|
060f0d6263
|
Initialize arg values based on parameters.argTypes
|
2020-02-18 15:54:14 +11:00 |
|
Tom Coleman
|
cc41e48734
|
Change story state => story args
|
2020-02-18 15:40:43 +11:00 |
|
Tom Coleman
|
d2a7e63983
|
Ensure the story re-renders when the state changes
|
2020-02-18 15:06:17 +11:00 |
|
Tom Coleman
|
208b4462a9
|
Ensure that the state is passed to the story function
|
2020-02-18 15:05:50 +11:00 |
|
Tom Coleman
|
a784aa1b9b
|
Listen to CHANGE_STORY_STATE and change it in the store
|
2020-02-18 15:02:54 +11:00 |
|
Tom Coleman
|
8b08dc2080
|
Add STORY_STATE_CHANGED event
|
2020-02-18 15:02:33 +11:00 |
|
Tom Coleman
|
90adc9e373
|
Add very basic story state
|
2020-02-18 15:01:42 +11:00 |
|
Tom Coleman
|
b981877e78
|
Remove runtime parameters
|
2020-02-18 12:57:50 +11:00 |
|
Tom Coleman
|
35639aa4fb
|
Remove option to control merged fields on parameters.
Always merge to arbitrary depth.
|
2020-02-17 16:37:39 +11:00 |
|
Tom Coleman
|
b8f36d974f
|
Fix up client_api tests
|
2020-02-17 12:14:27 +11:00 |
|
Tom Coleman
|
7b6e9365d7
|
Add some basic tests of new story_store behaviour
|
2020-02-17 12:11:33 +11:00 |
|
Tom Coleman
|
3a54cd3114
|
Bring global/local metadata into the story store
Bring this handling all into one place and make it easier to understand what is going on. Still needs tests and to resolve some loose ends.
|
2020-02-17 11:40:30 +11:00 |
|
Tom Coleman
|
69e6f8cdd9
|
Don't use Object.assign
|
2020-02-12 09:59:02 +11:00 |
|
Tom Coleman
|
f94ae07269
|
Remove redundant stuff from story_store
|
2020-02-12 09:56:37 +11:00 |
|
Tom Coleman
|
3d512f7e87
|
Reproduce old behaviour
|
2020-02-11 16:31:53 +11:00 |
|
Tom Coleman
|
2357bca92b
|
Clean up Story Store and remove legacy data
Fixes #9507
|
2020-02-11 16:21:26 +11:00 |
|
Norbert de Langen
|
9ac9da64cd
|
Merge branch 'next' into next-6.0.0
# Conflicts:
# addons/cssresources/package.json
# examples/dev-kits/package.json
# examples/rax-kitchen-sink/package.json
|
2020-01-20 09:06:35 +01:00 |
|
Michael Shilman
|
a6c2a85183
|
Core: Fix legacy story URLs
|
2020-01-20 12:34:18 +08:00 |
|
Michael Shilman
|
77364bec0e
|
Core: Fix default sorting of docs-only stories
|
2020-01-17 12:26:59 +08:00 |
|
Michael Shilman
|
3716f17413
|
Core: Fix default story sort
|
2020-01-16 11:54:02 +08:00 |
|
Norbert de Langen
|
f318220458
|
Merge branch 'next' into next-6.0.0
# Conflicts:
# addons/cssresources/package.json
# examples/dev-kits/package.json
# examples/rax-kitchen-sink/package.json
|
2020-01-15 18:00:25 +01:00 |
|
Michael Shilman
|
8bfd191b49
|
Improve comment
|
2020-01-14 16:31:39 +08:00 |
|
Michael Shilman
|
f098e4c3b0
|
Core: Preserve kind load order on HMR when no sortFn is provided
|
2020-01-14 14:09:08 +08:00 |
|
JohnAlbin
|
9ef9e55ad1
|
Add alphabetical and easy-to-use custom sorting options to storySort parameter. #9185
|
2019-12-19 23:36:07 +08:00 |
|
Tom Coleman
|
6e483543af
|
Fix sync init render code + add test
|
2019-12-16 13:40:48 +11:00 |
|
Norbert de Langen
|
4a54facf7e
|
Revert "CLEANUP"
This reverts commit 87706bf044b08ad5f0d863e09decfea54a9bb91f.
|
2019-12-13 13:46:22 +01:00 |
|
Norbert de Langen
|
87706bf044
|
CLEANUP
|
2019-12-12 12:30:36 +01:00 |
|
Norbert de Langen
|
1f6f9bd030
|
CHANGE code to be more obvious what the goal is
try to render sync, if fails, render async
|
2019-12-09 12:25:46 +01:00 |
|
Norbert de Langen
|
d1c6696eff
|
render sync if possible
|
2019-12-06 21:23:21 +01:00 |
|
Tom Coleman
|
ee614e806a
|
Use the stable package to ensure story sorting is stable.
Fixes #8792
|
2019-11-12 10:33:15 +11:00 |
|
Michael Shilman
|
0dc14c33df
|
Docs: Removed condescending language (#8404)
Docs: Removed condescending language
|
2019-10-14 11:50:29 +08:00 |
|
Hypnosphi
|
5d141d3893
|
Clean preview hooks when removing a story
|
2019-10-13 19:20:52 +02:00 |
|
Carolyn Stransky
|
7e37a123a3
|
Removed instances of just, easily
|
2019-10-12 17:32:44 +02:00 |
|
Yann Pringault
|
44d8c8d153
|
Fix typo in duplicated story warning
|
2019-10-08 16:00:50 +02:00 |
|
Norbert de Langen
|
831dc9f2a4
|
storybook extract method doesn't care about hooks, now they don't need to be serialized & parsed over the channel
|
2019-10-01 15:46:30 +02:00 |
|