Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Make selectors Storybook 8 compatible #81

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Make selectors Storybook 8 compatible #81

merged 1 commit into from
Dec 27, 2023

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Dec 27, 2023

Closes storybookjs/storybook#25288

This PR makes it so that the selectors used for the "interactive playground" step are compatible with both SB 7 and 8. Because react joyride can't highlight two elements as if they're one, there will be visual differences in Storybook 8, given that what used to be a single element now is a combination of two.

Storybook 7
image

Storybook 8
image

@yannbf yannbf added the patch Increment the patch version when merged label Dec 27, 2023
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!! 😊

@yannbf
Copy link
Member Author

yannbf commented Dec 27, 2023

@cdedreuille FYI this is not the most ideal solution but it's what will get us unblocked. Feel free to propose another solution when there is availability!

@yannbf yannbf merged commit b82da02 into main Dec 27, 2023
7 checks passed
@yannbf yannbf deleted the fix/storybook-8 branch December 27, 2023 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Onboarding broken in SB8
2 participants