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

Addon-docs: Add classnames for Preview block #14685

Merged
merged 3 commits into from
Apr 29, 2021
Merged

Conversation

frassinier
Copy link
Contributor

@frassinier frassinier commented Apr 21, 2021

Issue: #14673

What I did

I've added className for Show/Hide code toggle and for Copy button of the Preview block

How to test

  • Is this testable with Jest or Chromatic screenshots? no
  • Does this need a new example in the kitchen sink apps? no
  • Does this need an update to the documentation? no

If your answer is yes to any of these, please make sure to include it in your PR.

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.

LGTM! thanks @frassinier !!! 🙏

Copy link

@Ayushsunny Ayushsunny left a comment

Choose a reason for hiding this comment

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

Awesome idea looks good to me!

You can say it's working from this message in the build: https://github.com/storybookjs/storybook/pull/14685/checks

But make sure that finishes with ✔️. After that, it should be good to merge

lib/components/src/blocks/Preview.tsx Outdated Show resolved Hide resolved
@ndelangen
Copy link
Member

ODD CI failure, asking @shilman to take a look.

@nx-cloud
Copy link

nx-cloud bot commented Apr 29, 2021

Nx Cloud Report

CI ran the following commands for commit 19c2934. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

@shilman shilman merged commit 63ae907 into next Apr 29, 2021
@shilman shilman deleted the classnames_for_preview_block branch April 29, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants