Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(store-ui): Remove '@storybook/addon-storysource' #989

Merged
merged 1 commit into from Oct 18, 2021

Conversation

victorhmp
Copy link
Member

What's the purpose of this pull request?

Remove the Storybook add-on @storybook/addon-storysource. We are already using the @storybook/addon-docs add-on, which is already capable of generating the same code snippets we need, and these two packages being used at the same time caused some sort of conflict, as described in this issue: storybookjs/storybook#13362.

This issue came to light after @igorbrasileiro spotted a bug in the Table component stories: #987 (comment).

How to test it?

The bug mentioned above should be solved in the deploy preview below. And the source code for all other stories should be working the same way as before.

References

storybookjs/storybook#13362

@victorhmp victorhmp requested a review from a team as a code owner October 14, 2021 12:33
@victorhmp victorhmp self-assigned this Oct 14, 2021
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 14, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 949cc03:

Sandbox Source
Store UI Typescript Configuration

@igorbrasileiro
Copy link
Contributor

@victorhmp where's the storeui preview? 😄

@victorhmp
Copy link
Member Author

@igorbrasileiro Oooh! I think it won't show up because the base branch here is not master 😅

But here's how the table looks now (running locally):
Screen Shot 2021-10-14 at 10 40 51

@lariciamota
Copy link
Contributor

@igorbrasileiro Oooh! I think it won't show up because the base branch here is not master 😅

The other stories are also working as they should, right?

@victorhmp
Copy link
Member Author

@igorbrasileiro Oooh! I think it won't show up because the base branch here is not master 😅

The other stories are also working as they should, right?

Yes! Nothing changed in the others :)

Base automatically changed from feature/table to master October 18, 2021 18:07
@victorhmp victorhmp force-pushed the chore/remove-storybook-addon-storysource branch from 0b378f7 to 949cc03 Compare October 18, 2021 18:16
@netlify
Copy link

netlify bot commented Oct 18, 2021

✔️ Deploy Preview for storeui ready!

🔨 Explore the source changes: 949cc03

🔍 Inspect the deploy log: https://app.netlify.com/sites/storeui/deploys/616db9f090fb690008034e0f

😎 Browse the preview: https://deploy-preview-989--storeui.netlify.app/

@victorhmp victorhmp merged commit d606ca4 into master Oct 18, 2021
@victorhmp victorhmp deleted the chore/remove-storybook-addon-storysource branch October 18, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants