Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
1853097
Integrate launch-editor-middleware for enhanced editor support. Added…
yannbf Sep 15, 2025
b665876
Introduce open in editor and copy story name actions in sidebar conte…
yannbf Sep 15, 2025
534e35b
add open in editor action in interactions panel
yannbf Sep 15, 2025
e5bcac0
Add share tool functionality with QR code support in the preview comp…
yannbf Sep 15, 2025
90b7020
surface network address to Storybook's UI
yannbf Sep 15, 2025
c110aed
fix types and most tests
yannbf Sep 15, 2025
4c3209a
fix story
yannbf Sep 16, 2025
c83b79c
only hide tooltip on escape key
yannbf Sep 16, 2025
f16eb5d
update storybook icons and use new bug icon
yannbf Sep 16, 2025
f72aa77
fix exports
yannbf Sep 16, 2025
33f12f1
use share icon
yannbf Sep 16, 2025
983e479
in the interactions panel, show just story name as text on deployed/c…
yannbf Sep 16, 2025
7a74161
fix shortcuts fonts
yannbf Sep 16, 2025
22e796c
fix registering shortcuts with alt on macos
yannbf Sep 16, 2025
cceb627
fix tests
yannbf Sep 16, 2025
4ce4bfd
cleanup and add copyStoryLink shortcut
yannbf Sep 16, 2025
03ddcf9
temporarily disable copy story name shortcut
yannbf Sep 16, 2025
1af1dbb
small rename on measure addon shortcut
yannbf Sep 16, 2025
0036635
fix qr url
yannbf Sep 16, 2025
f252cdb
small refactor
yannbf Sep 16, 2025
383fe6f
fix types
yannbf Sep 16, 2025
f4bb5fa
fix types
yannbf Sep 16, 2025
09cdcc3
Merge branch 'next' into yann/open-in-editor-feature
yannbf Sep 16, 2025
6636c1d
make qrcode fallback to current url
yannbf Sep 16, 2025
809d220
add copy story link default shortcut
yannbf Sep 16, 2025
45daed4
skip vitest test
yannbf Sep 16, 2025
632561d
fix qr code url calculation
yannbf Sep 16, 2025
72d98b7
Merge branch 'next' into yann/open-in-editor-feature
yannbf Sep 17, 2025
5be73b1
update icons and use the new editor icon
yannbf Sep 17, 2025
c8e2ac3
Merge branch 'next' into yann/open-in-editor-feature
ndelangen Sep 17, 2025
6984ccd
Enhance exports: Add 'EditorIcon' to the list of exported icons in gl…
ndelangen Sep 17, 2025
e442493
Merge branch 'yann/open-in-editor-feature' of github.com:storybookjs/…
yannbf Sep 17, 2025
90817f1
rework the open in editor feature and add error handling
yannbf Sep 17, 2025
cf13e70
address PR feedback
yannbf Sep 17, 2025
244fac1
revamp context menu and support opening mdx stories
yannbf Sep 17, 2025
7fad5ab
Merge branch 'next' into yann/open-in-editor-feature
ndelangen Sep 17, 2025
cd1b6e5
replace qrcode library
yannbf Sep 17, 2025
43d966b
Merge branch 'yann/open-in-editor-feature' of github.com:storybookjs/…
yannbf Sep 17, 2025
a363ba8
more fixes
yannbf Sep 17, 2025
aeb30b3
Merge branch 'next' into yann/open-in-editor-feature
yannbf Sep 17, 2025
d0653ad
fix stories
yannbf Sep 17, 2025
8c61a23
Merge branch 'next' into yann/open-in-editor-feature
ndelangen Sep 17, 2025
1190cb5
fix: add missing newline in no-stories-of.md documentation
ndelangen Sep 17, 2025
efd5294
fix: update comments and formatting in test and CSS files
ndelangen Sep 17, 2025
7ebc251
Merge branch 'next' into yann/open-in-editor-feature
ndelangen Sep 17, 2025
e194a32
prebundle qrcode.react
yannbf Sep 18, 2025
c58e9e9
add "open in editor" action to component nodes
yannbf Sep 18, 2025
a744783
address PR feedback
yannbf Sep 18, 2025
bbfa9e9
write E2E tests
yannbf Sep 18, 2025
a6b51dc
revamp open in editor api and bring it into useStorybookApi
yannbf Sep 18, 2025
6c985c5
Merge branch 'next' into yann/open-in-editor-feature
yannbf Sep 18, 2025
21529d2
fix test
yannbf Sep 18, 2025
3b49d88
Merge branch 'yann/open-in-editor-feature' of github.com:storybookjs/…
yannbf Sep 18, 2025
af37fd7
fix tests
yannbf Sep 18, 2025
269c931
better structure E2E tests
yannbf Sep 18, 2025
cc2ffba
Merge branch 'next' into yann/open-in-editor-feature
yannbf Sep 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
yannbf committed Sep 16, 2025
commit cceb6276579d0cd1fdf052e39dcad84d4b919e98
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { global } from '@storybook/global';
import type { StoryObj } from '@storybook/react-vite';

import { ManagerContext } from 'storybook/manager-api';
import { expect, screen } from 'storybook/test';
import { expect, screen, waitFor } from 'storybook/test';

import { shareTool } from './share';

Expand Down Expand Up @@ -43,7 +43,9 @@ export const Default: Story = {
global.STORYBOOK_NETWORK_ADDRESS = 'http://127.0.0.1:6006';
},
play: async ({ userEvent, canvas }) => {
await userEvent.click(canvas.getByRole('button'));
await expect(await screen.findByText('Scan me')).toBeVisible();
await waitFor(async () => {
await userEvent.click(canvas.getByRole('button'));
await expect(await screen.findByText('Scan me')).toBeVisible();
});
},
};
Loading