49 Commits

Author SHA1 Message Date
Norbert de Langen
ad8a245c85
MOVE event handlers into module init 2020-03-09 21:33:35 +01:00
Norbert de Langen
34784410d9
Merge branch 'next' into manager-options
# Conflicts:
#	lib/api/src/modules/stories.ts
#	package.json
#	yarn.lock
2020-02-28 09:51:54 +01:00
Norbert de Langen
9b0d2a1f08
Merge branch 'next' into manager-options
# Conflicts:
#	examples/official-storybook/manager.js
2020-02-11 17:26:02 +01:00
Norbert de Langen
e02eb48b89
CLEANUP 2020-02-11 17:25:12 +01:00
Norbert de Langen
6b5ff27acd
IMPROVE types 2020-02-11 17:19:52 +01:00
Norbert de Langen
1a3b4812c5
IMPROVE types 2020-02-11 16:55:15 +01:00
Norbert de Langen
0b40c8c7ad
MIGRATE preview some more 2020-02-09 09:25:18 +01:00
Norbert de Langen
b56e86f7db
FIX storySort defined in manager 2020-01-28 15:58:34 +01:00
Norbert de Langen
9944d5ac16
FIX problem with showRoots not working when defined in manager 2020-01-28 15:41:25 +01:00
Michael Shilman
615ce7f097 Merge branch 'next' into pr/9090 2020-01-28 13:05:15 +08:00
atanasster
2db3faa727 added viewmode parameter 2019-12-07 00:06:15 -05:00
Michael Shilman
bda3894004 Core: Fix api.selectStory in the case of component permalinks 2019-12-04 18:28:50 +08:00
Norbert de Langen
e018f67690 FIX linting 2019-11-15 21:48:31 +01:00
Michael Shilman
529b8470e5 Core: Fix showRoots behavior when there's no hierarchy 2019-11-13 18:06:12 +08:00
Tom Coleman
95f5cfc146 Small fix to warning messages 2019-11-12 13:30:18 +11:00
Tom Coleman
db9f277b4b Create a showRoots option and drive behaviour with it. 2019-11-12 12:43:33 +11:00
Tom Coleman
c72e7cad43 Implement warnings and new behaviour for hierarchy separators 2019-11-12 12:24:04 +11:00
lonyele
58b14133ac chore: remove unnecessary logic 2019-09-12 01:25:16 +09:00
lonyele
00383df4bd fix: failing regression tests 2019-09-12 00:48:08 +09:00
lonyele
20f3b50668 feat: improve finding leaf story from any given depth 2019-09-11 23:06:52 +09:00
lonyele
2e3503da3c feat: add test and fix regression test 2019-08-01 14:19:20 +09:00
lonyele
ee71fe05d4 feat: add default route when child is not specified on existing story 2019-08-01 12:54:16 +09:00
Michael Shilman
82dc91c3a3 Fix default separator inconsistency 2019-07-11 15:57:44 +08:00
lonyele
c6402a77ff fix: preserve previous architecture 2019-07-10 01:42:19 +09:00
lonyele
fcc99cc21d fix: typo and wrong function arguments name 2019-07-02 00:02:26 +09:00
lonyele
ce88952b66 feat: persist route after refreshing the settings page url 2019-07-01 23:51:50 +09:00
lonyele
1c2ff95046 feat: add showSettingsPage api for proper routing 2019-07-01 23:42:34 +09:00
Norbert de Langen
88ec8de571 Merge branch 'next' into core/managed-addon-state
# Conflicts:
#	.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt
#	docs/src/pages/addons/writing-addons/index.md
#	docs/yarn.lock
#	examples/official-storybook/package.json
#	lib/ui/src/containers/preview.js
#	package.json
2019-06-05 15:21:43 +02:00
Michael Shilman
bb3e7f71cd Github org rename to storybookjs 2019-06-03 11:06:42 -07:00
Norbert de Langen
e56fa60f62 ADD useParameter hook & apis && ADD a parameter addon devkit 2019-05-10 13:58:45 +02:00
Tom Coleman
1e7233892f Allow browsing to a kind and get the first story
See #5925
2019-05-06 15:15:00 +10:00
Michael Shilman
a85decfb2b
Fix infinite loop with special characters in kind names (#6607)
Fix infinite loop with special characters in kind names
2019-04-26 17:36:32 +08:00
Michael Shilman
dabc1612b8 Don't import from dist 2019-04-26 16:27:44 +08:00
Norbert de Langen
f939e1417a just a few little linting issues fixed 2019-04-25 17:59:37 +02:00
Michael Shilman
e6fb6fd822 Improve error logging 2019-04-24 18:24:05 +08:00
Michael Shilman
1c49d6558c Rename some utilities to better reflect their functions 2019-04-24 18:20:50 +08:00
Michael Shilman
212362acb5 Fix typescript type error 2019-04-24 18:00:20 +08:00
Michael Shilman
66052bc42d Fix an unrelated typo that probably causes a bug in RN server 2019-04-24 16:37:48 +08:00
Michael Shilman
9141b8ef43 Throw an error instead of running into an infinite loop 2019-04-24 16:37:11 +08:00
Michael Shilman
e90f70ad3b Refactor splitPath into router utils 2019-04-24 16:35:38 +08:00
Norbert de Langen
9744edb575 REMOVE the pure functionality as it's not really usable && ADD overloads for setState && ADD types for eventhandlers 2019-03-15 21:18:21 +01:00
Norbert de Langen
d689cdcc46 Merge branch 'next' into tech/api-package
# Conflicts:
#	lib/ui/src/containers/preview.js
#	lib/ui/src/core/init-provider-api.js
#	lib/ui/src/provider.js
#	yarn.lock
2019-03-15 12:24:04 +01:00
Norbert de Langen
de5e55acb7 Merge branch 'next' into tech/api-package
# Conflicts:
#	lib/api/src/modules/stories.ts
#	lib/router/package.json
#	lib/ui/package.json
#	yarn.lock
2019-03-09 22:44:30 +01:00
Norbert de Langen
2a3d7b0789 IMPROVE type coverage of api 2019-03-09 01:08:49 +01:00
Norbert de Langen
c924ae0884 FIX issue with SideBar staying in loading state 2019-03-07 11:51:40 +01:00
Norbert de Langen
f893431a8d Merge branch 'next' into tech/api-package
# Conflicts:
#	addons/cssresources/src/register.tsx
#	addons/notes/src/Panel.tsx
#	addons/notes/src/giphy.tsx
#	examples/official-storybook/stories/core/parameters.stories.js
#	lib/api/src/init-provider-api.ts
#	lib/api/src/lib/id.ts
#	lib/api/src/modules/addons.ts
#	lib/api/src/modules/layout.ts
#	lib/api/src/modules/stories.ts
#	lib/api/src/modules/url.ts
#	lib/api/src/modules/versions.ts
#	lib/api/src/store.ts
#	lib/api/src/tests/id.test.js
#	lib/api/src/tests/versions.test.js
#	lib/client-api/src/client_api.js
#	lib/client-logger/src/index.ts
#	lib/router/package.json
#	lib/router/src/tests/id.test.js
#	lib/router/src/typings.d.ts
#	lib/router/src/utils.ts
#	lib/theming/src/themes/dark-syntax.ts
#	lib/theming/src/themes/dark.ts
#	lib/theming/src/themes/light-syntax.ts
#	lib/theming/src/themes/light.ts
#	lib/ui/package.json
#	lib/ui/src/components/sidebar/treeview/utils.js
#	lib/ui/src/containers/nav.js
#	lib/ui/src/containers/preview.js
#	lib/ui/src/core/context.js
#	lib/ui/src/core/initial-state.js
#	lib/ui/src/index.js
#	lib/ui/src/libs/id.test.js
#	lib/ui/src/settings/__snapshots__/shortcuts.stories.storyshot
#	lib/ui/src/settings/about_page.js
#	lib/ui/src/settings/shortcuts.stories.js
#	lib/ui/src/settings/shortcuts_page.js
#	yarn.lock
2019-03-06 16:45:13 +01:00
Norbert de Langen
0c3791db0d SYNC prettier setting for line-length && FIX linting 2019-01-29 14:55:00 +01:00
Norbert de Langen
5380276d7d FIX tests & linting 2019-01-29 13:28:14 +01:00
Norbert de Langen
accb7ff476 REFACTOR context into it's own package && REFACTOR into typescript 2019-01-29 13:14:39 +01:00