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

viewport-addon: configure => configureViewport #3414

Merged
merged 1 commit into from
Apr 15, 2018

Conversation

mshaaban088
Copy link
Contributor

@mshaaban088 mshaaban088 commented Apr 12, 2018

Issue:
configureViewport is more convenient by following a naming convention for addons and to avoid aliasing. (and to make @igor-dv happy 😉 )

What I did

Added configureViewport function (should we drop the other one as it's an alpha version anyways?)

How to test

yarn test

Is this testable with Jest or Chromatic screenshots?
Yes

Does this need a new example in the kitchen sink apps?
No

Does this need an update to the documentation?
Yes

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

Please tag your pull request with at least one of the following:
["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@Hypnosphi
Copy link
Member

should we drop the other one as it's an alpha version anyways?

Yes, I think so

@codecov
Copy link

codecov bot commented Apr 14, 2018

Codecov Report

Merging #3414 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3414   +/-   ##
=======================================
  Coverage   36.69%   36.69%           
=======================================
  Files         458      458           
  Lines       10135    10135           
  Branches      892      887    -5     
=======================================
  Hits         3719     3719           
- Misses       5872     5890   +18     
+ Partials      544      526   -18
Impacted Files Coverage Δ
addons/viewport/src/preview/index.js 100% <ø> (ø) ⬆️
addons/viewport/preview.js 100% <100%> (ø) ⬆️
addons/a11y/src/components/Report/Item.js 0% <0%> (ø) ⬆️
addons/jest/src/components/Indicator.js 0% <0%> (ø) ⬆️
lib/ui/src/modules/ui/components/layout/usplit.js 38.7% <0%> (ø) ⬆️
addons/info/src/components/types/PropertyLabel.js 78.94% <0%> (ø) ⬆️
addons/actions/src/lib/types/infinity/index.js 80% <0%> (ø) ⬆️
addons/a11y/src/components/Report/index.js 0% <0%> (ø) ⬆️
...-native/src/preview/components/OnDeviceUI/style.js 0% <0%> (ø) ⬆️
addons/storysource/src/loader/parsers/index.js 44.44% <0%> (ø) ⬆️
... and 67 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d35cf58...33a38ef. Read the comment docs.

@mshaaban088 mshaaban088 force-pushed the master branch 2 times, most recently from 922e17d to 491718c Compare April 14, 2018 16:31
Copy link
Member

@igor-dv igor-dv left a comment

Choose a reason for hiding this comment

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

I ain't happy, I'm feeling glad 😉

@mshaaban088
Copy link
Contributor Author

Awesome!
Thanks @igor-dv

@Hypnosphi Hypnosphi merged commit 1932ec2 into storybookjs:master Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: viewport maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants