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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove deprecated small button prop usage from React stories #4831

Merged
merged 2 commits into from
Dec 6, 2019
Merged

docs: remove deprecated small button prop usage from React stories #4831

merged 2 commits into from
Dec 6, 2019

Conversation

jendowns
Copy link
Contributor

@jendowns jendowns commented Dec 6, 2019

There are two instances where the deprecated Button prop small is still used in storybook -- in the Button stories and in a FileUploader story.

The presence of this deprecated prop generates console errors in local development, so I wanted to suggest removing their usage in storybook. I understand the next to keep them in existing tests, but in this case I think it would be beneficial to remove them from demos.

Please let me know what you think -- thank you! 馃憤

Changelog

Removed

  • remove deprecated Button prop small usage from stories

Testing / Reviewing

Best way to view the console errors, in my experience, is to run the storybook environment locally & view the dev console in Chrome.

@jendowns jendowns requested a review from a team as a code owner December 6, 2019 20:30
@ghost ghost requested review from abbeyhrt and dakahn December 6, 2019 20:30
@netlify
Copy link

netlify bot commented Dec 6, 2019

Deploy preview for carbon-elements ready!

Built with commit 7c75414

https://deploy-preview-4831--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Dec 6, 2019

Deploy preview for the-carbon-components ready!

Built with commit 7c75414

https://deploy-preview-4831--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Dec 6, 2019

Deploy preview for carbon-components-react ready!

Built with commit 7c75414

https://deploy-preview-4831--carbon-components-react.netlify.com

Copy link
Contributor

@dakahn dakahn left a comment

Choose a reason for hiding this comment

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

Totally agree! Let's get em outta there 馃憤

Copy link
Contributor

@asudoh asudoh 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 @jendowns!

@asudoh asudoh merged commit 408cd59 into carbon-design-system:master Dec 6, 2019
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