21 Commits

Author SHA1 Message Date
Michael Shilman
8f89fbed39 CSF: Refactor to stabilize export to storyName transform 2019-08-29 10:25:48 +08:00
lonyele
5f74427261 fix: remove unnecessary guarding after making settings page to a route 2019-07-01 23:54:28 +09: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
Norbert de Langen
f939e1417a just a few little linting issues fixed 2019-04-25 17:59:37 +02:00
Michael Shilman
1c49d6558c Rename some utilities to better reflect their functions 2019-04-24 18:20:50 +08:00
Michael Shilman
2750e85ca4 Remove sanitization - this masks an error in the API layer 2019-04-24 16:40:50 +08:00
Michael Shilman
e90f70ad3b Refactor splitPath into router utils 2019-04-24 16:35:38 +08:00
Norbert de Langen
78a2470688 FIX router & desktop layout, which made it impossible to add custom viewmodes 2019-04-18 00:51:44 +02:00
Norbert de Langen
d22ac673ff Merge branch 'next' into tech/api-package
# Conflicts:
#	lib/router/package.json
#	lib/ui/package.json
2019-03-08 12:13:52 +01:00
Michael Shilman
bb254c028b Add more punctuation chars 2019-03-08 17:47:37 +08:00
Michael Shilman
c61171d8ce Support unicode chars in story IDs 2019-03-08 17:21:38 +08:00
Norbert de Langen
d287d1fac1 FIX an error of storyDataFromString not coping with empty path 2019-03-07 11:48:50 +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
54faca3793 CHANGE storysource addon to use storyId instead of kind + name && ADD toId to router package
CHANGE storysource to use toId from router package
CHANGE core tp use toId from router package
CHANGE client-api to use toId from router package
CHANGE storyshots-puppeteer to use toId from router package
2019-02-19 20:14:15 +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
accb7ff476 REFACTOR context into it's own package && REFACTOR into typescript 2019-01-29 13:14:39 +01:00
Norbert de Langen
a2679be97f FIX current can be undefined in test 2019-01-17 03:03:50 +01:00
Norbert de Langen
8a0c29dd21 MOVE docs to code && IMPROVE getMatch 2019-01-17 02:09:47 +01:00
Norbert de Langen
0f6caa176b Merge branch 'next' into tech/router
# Conflicts:
#	lib/components/package.json
#	lib/components/src/preview/preview.js
#	lib/components/src/router/router.js
#	lib/ui/package.json
2019-01-16 19:48:36 +01:00
Norbert de Langen
3f9e4d8b97
IMPROVE typings && OPTIMIZE by hoisting regex and util constants 2019-01-16 00:44:36 +01:00
Norbert de Langen
4f4204897e
REFACTOR router into @storybook/router
- ensure we can migrate to a different router without updating all users
- ensure single version
- easier api
- separate from @storybook/component makes it lighter
2019-01-15 17:16:15 +01:00