30678 Commits

Author SHA1 Message Date
Gert Hengeveld
e9f1ded662 Make sure Cypress can know when a story is selected. 2020-10-08 00:14:40 +02:00
Gert Hengeveld
651ae27b8f Prevent hijacking keyboard event listeners in unrelated sections of the UI. 2020-10-07 23:22:26 +02:00
Gert Hengeveld
008dd29947 Try to fix e2e test. 2020-10-07 22:18:33 +02:00
Gert Hengeveld
8d0651a094 Update e2e test for search. 2020-10-07 21:20:15 +02:00
Gert Hengeveld
f58d941f57 Better logo alignment. 2020-10-07 20:35:03 +02:00
Gert Hengeveld
abfe669001 Rename various props to clarify the distinction between storyId, itemId and the id with refId. 2020-10-07 20:31:42 +02:00
Gert Hengeveld
8a90cb2df6
Fix CSF export collision 2020-10-07 19:46:22 +02:00
Gert Hengeveld
3acf3ed902 Add missing id attributes. 2020-10-07 15:20:57 +02:00
Gert Hengeveld
ce7e5c11e8 Make sure leaf nodes always have args. 2020-10-07 15:02:28 +02:00
Michael Shilman
986f6d64c2
Merge pull request #12690 from mathieudutour/patch-1
Core: Log which CSF file is failing to load
2020-10-07 20:51:48 +08:00
Gert Hengeveld
0609779489 Revert "Update lib/ui/src/components/sidebar/Search.tsx"
This reverts commit ea9a9a84e556749c9c48373d2a1f1c5464079138.
2020-10-07 14:47:22 +02:00
Gert Hengeveld
871fe72376 Merge branch 'next' into 10757-better-search 2020-10-07 14:11:46 +02:00
Gert Hengeveld
fc8e6e226d Respect the enableShortcuts setting for focussing the search input. 2020-10-07 14:11:05 +02:00
Gert Hengeveld
ea9a9a84e5
Update lib/ui/src/components/sidebar/Search.tsx
Co-authored-by: Clément DUNGLER <clementdungler@gmail.com>
2020-10-07 13:54:43 +02:00
Mathieu Dutour
7657568dd7
log which story is failing to load 2020-10-07 13:31:18 +02:00
Gert Hengeveld
6ba2274886 Styling for keyboard shortcuts in menu. 2020-10-07 12:01:00 +02:00
Gert Hengeveld
c3602150c2 Add title attribute to reveal full path. 2020-10-07 11:21:21 +02:00
Gert Hengeveld
485402101f Fix clear button alignment. 2020-10-07 11:00:25 +02:00
Gert Hengeveld
595a812c34 Change path separator to '/'. 2020-10-07 10:55:18 +02:00
Gert Hengeveld
fd14623b4c Show 20 results by default, so the 'show more' button is visible on most desktop displays. 2020-10-07 10:54:55 +02:00
Gert Hengeveld
c55f14b3b0 'Show X more results' instead of 'Show all X results'. 2020-10-07 10:51:18 +02:00
Gert Hengeveld
d7d67476a8 Show 50 search results by default. 2020-10-07 10:51:18 +02:00
Gert Hengeveld
a15aeee579 Change default sidebar width to 230px (visually). 2020-10-07 10:51:18 +02:00
Andrew Salib
e645ae1ce7 Update snapshots 2020-10-07 17:50:40 +11:00
Andrew Salib
aa537af8e2 addon-docs: add destructuring to ForwardRefButton because we can! 2020-10-07 17:08:09 +11:00
Andrew Salib
b71a1c5a10 addon-docs: use new exotic components in docs stories
Now showing off that argstable works w/ Memo components & also Forward Ref w/ propTypes on render fn (inner) or on wrapped component (outer).
2020-10-07 16:41:50 +11:00
Michael Shilman
36dbbc27ad Simplify loader structure 2020-10-07 13:40:54 +08:00
Andrew Salib
9cb4f18458 addon-docs: small exotic components refactor
Consolidate forwardRef button components & fix MemoButton so its render fn has a displayName.
2020-10-07 16:40:51 +11:00
Andrew Salib
179ca8d7fb addon-docs: fix Memo props types & tiny refactor to jsxDecorator
jsxDecorator can now fetch component name from docgen & also using new helpers.
2020-10-07 16:37:45 +11:00
Andrew Salib
5d06c42100 addon-docs: add react componentTypes helpers to lib
For determining if a component isMemo or isForwardRef
2020-10-07 16:35:55 +11:00
Michael Shilman
6a0002b29e Small fixes 2020-10-07 13:35:53 +08:00
Michael Shilman
8c9e0ac23c Merge branch 'next' into 10009-poc-async-loaders 2020-10-07 13:10:34 +08:00
Michael Shilman
c1ff295246 Merge branch 'next' into 10009-poc-async-loaders 2020-10-07 12:23:34 +08:00
Michael Shilman
543da4527c
Merge pull request #12315 from storybookjs/tech/speed-up-ci-checks
Build: Speed up CI checks
2020-10-07 11:37:25 +08:00
Michael Shilman
ea7a28eb97
Merge pull request #12683 from kouts/patch-1
Removed semicolon
2020-10-07 11:36:00 +08:00
Michael Shilman
3231e8d755
Merge pull request #12277 from ankon/pr/source-loader-sourcemaps
Source-loader: Generate sourcemaps
2020-10-07 11:08:15 +08:00
Giannis Koutsaftakis
64520024cb
Removed semicolon
Semicolon breaks the code in this snippet.
2020-10-07 00:08:32 +03:00
Gaëtan Maisse
0c6de67547
Revert "ci: use a custom checkout step to avoid cloning the full repository"
This reverts commit c0cf960a

Sadly, the custom checkout steps wasn't working on fork.
2020-10-06 21:10:51 +02:00
Michael Shilman
934c08af05
Merge pull request #12679 from philmuze/fix/vue-snippet
Fix comment in vue global decorator snippet
2020-10-07 02:55:44 +08:00
Gaëtan Maisse
48574c5742
Merge pull request #12536 from fritzfde/patch-1
Core: Fix babel-loader path resolution
2020-10-06 20:34:31 +02:00
Philipp Munzert
73255fc79f fix comment 2020-10-06 19:54:01 +02:00
Michael Shilman
d25a96d2b7 Fix typings 2020-10-06 09:00:48 +08:00
Gert Hengeveld
272d623122 Allow clearing the last viewed history. 2020-10-06 01:16:43 +02:00
Gert Hengeveld
d9d43297a8 Use store2 instead of direct localStorage. 2020-10-06 00:41:09 +02:00
Gert Hengeveld
524ef1b4c2 Don't need excludeStories anymore. 2020-10-06 00:41:09 +02:00
Gert Hengeveld
0ec74a5ec1
Update lib/ui/src/components/sidebar/data.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-06 00:00:49 +02:00
Gert Hengeveld
be169ef90d
Update lib/ui/src/components/sidebar/data.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-06 00:00:39 +02:00
Gert Hengeveld
f2452b304d
Update lib/ui/src/components/sidebar/data.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-06 00:00:30 +02:00
Gert Hengeveld
1aa36d98e6
Update lib/ui/src/components/sidebar/data.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-06 00:00:22 +02:00
Gert Hengeveld
2966d9369b
Update lib/ui/src/components/sidebar/data.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-06 00:00:13 +02:00