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

breaking(Image): Inconsistent prop usage between Image and Icon for circular shape #2225

Merged
merged 5 commits into from
Oct 22, 2017

Conversation

RetroCraft
Copy link
Contributor

@RetroCraft RetroCraft commented Oct 20, 2017

Fixes #2217.

Why?

Make properties more concistent with other elements. See #2217 for more details.


Image

Before After
<Image shape="rounded" /> <Image rounded />
<Image shape="circular" /> <Image circular />

Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

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

@RetroCraft Please fix lint errors, yarn run lint:fix

  126:1  error    Trailing spaces not allowed                                                                                no-trailing-spaces
  138:1  error    Trailing spaces not allowed                                                                                no-trailing-spaces
  171:1  error    Trailing spaces not allowed                                                                                no-trailing-spaces

@layershifter
Copy link
Member

@RetroCraft Also this PR should be marked as breaking in title and initial comment. We also need to provide before/after usage example in the initial comment. See #2145 for example.

@RetroCraft RetroCraft changed the title Image: Inconsistent prop usage between Image and Icon for circular shape breaking(Image): Inconsistent prop usage between Image and Icon for circular shape Oct 20, 2017
Sorry...I'm using github online as I'm out
@codecov-io
Copy link

Codecov Report

Merging #2225 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2225   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files         151      151           
  Lines        2624     2624           
=======================================
  Hits         2617     2617           
  Misses          7        7
Impacted Files Coverage Δ
src/elements/Image/Image.js 100% <ø> (ø) ⬆️

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 20e9a63...57e9aa8. Read the comment docs.

@RetroCraft
Copy link
Contributor Author

I think everything is good now.

@levithomason levithomason merged commit 64b1ebf into Semantic-Org:master Oct 22, 2017
@levithomason
Copy link
Member

Released in semantic-ui-react@0.76.0

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.

4 participants