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

Feature: more intuitive radius (SVG) #23

Merged
merged 4 commits into from
Sep 11, 2022

Conversation

aruZeta
Copy link
Owner

@aruZeta aruZeta commented Sep 10, 2022

I think it's very unintuitive to have the the radius parameters be an absolute size instead of a percentage, like 60%, 40%, etc. At least for SVGs, where rx will always be a value from 0 to 0.4 for modules since it's a vector.

I'm not making the commit directly to develop since I want to know what you guys think about this.

Mainly @enthus1ast @EyeCon @tandy-1000

I think it's very unintuitive to have the the radius parameters be an
absolute size instead of a percentage, like 60%, 40%, etc. At least
for SVGs.
@aruZeta aruZeta added the feature This PR adds a new feature to the next major or minor release. label Sep 10, 2022
@aruZeta
Copy link
Owner Author

aruZeta commented Sep 10, 2022

Will have to fix the that action.

aruZeta added a commit that referenced this pull request Sep 10, 2022
It already gets the pushed commit, and fixes an issue found in #23.
@aruZeta
Copy link
Owner Author

aruZeta commented Sep 10, 2022

That did the trick

@tandy-1000
Copy link

This makes sense to me :) Thank you.

@aruZeta aruZeta force-pushed the feature/more-intuitive-radius/1 branch from 4d21394 to 18806bf Compare September 10, 2022 14:53
@aruZeta
Copy link
Owner Author

aruZeta commented Sep 10, 2022

I will wait till enthusiast shares his opinion on this, and also I would like to ask if this should be released to 2.0.0 or 1.1.0, I don't know if this is actually breaking backwards compatibility or not (I mean, it breaks rounded SVGs written before this PR, but is it that huge of a break? I'm trying to follow https://semver.org/).

And also the same goes to the SVG class names changes.

@enthus1ast
Copy link
Contributor

Much better!
When I understand semver correctly it should be a major version change.

@aruZeta
Copy link
Owner Author

aruZeta commented Sep 11, 2022

Okay then I will merge this into develop and next release will be 2.0.0.

Main breaking changes will be (for the moment):

  • This one, change how roundness is set
  • Class names for svg

@aruZeta aruZeta merged commit 93bedf4 into develop Sep 11, 2022
@aruZeta aruZeta deleted the feature/more-intuitive-radius/1 branch September 11, 2022 13:21
@aruZeta aruZeta added the breaking change This PR adds main API breaking changes to the next major release. label Sep 11, 2022
@aruZeta aruZeta mentioned this pull request Sep 15, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This PR adds main API breaking changes to the next major release. feature This PR adds a new feature to the next major or minor release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants