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

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.

None yet

4 participants