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

Fix/issue 895 1119 #1158

Merged
merged 14 commits into from
Oct 25, 2018
Merged

Fix/issue 895 1119 #1158

merged 14 commits into from
Oct 25, 2018

Conversation

boygirl
Copy link
Contributor

@boygirl boygirl commented Oct 24, 2018

This PR:

@narinluangrath the fix for polar bar corner radius ended up being super fiddly!

Narin Luangrath and others added 13 commits October 16, 2018 20:33
Solve issue for vertical bars

Finish getVerticalBarPath, add comments

Remove edit to victory-bar story

remove circle2 dependency, add helper methods to replace it

Create helper geometry functions to reduce deplicated code in bar.js

Lint code
- Translate code from getVerticalBarPath to horizontal case
- Add Circle.ProtoType.solveY helper method
- Allow topLeft, topRight, bottomLeft, bottomRight fields
- Still need to make it functional
- modify getCornerRadius helper function to look for topLeft, topRight (not just top)
- create helper function getVerticalBarPoints to make getVerticalBarPath function smaller
- add temporary solution for getHorizontalBarPath and getPolarBarPath (see TODO)

Incorporate topLeft, topRight, etc. cornerRadius to horizontal bar

- Add temporary solution for getVerticalPolarBar since it normally doesn't accept topLeft, topRight, etc.
- Change cornerRadius function to satisfy linter
- Try to change getVerticalBarPoints to satisfy linter

Add cornerRadius topLeft, topRight etc to Polar Bars

Change Z to z to pass tests
@boygirl boygirl mentioned this pull request Oct 24, 2018
@boygirl boygirl merged commit 730a392 into master Oct 25, 2018
@narinluangrath
Copy link
Contributor

@boygirl Woohoo! Happy that this issue is finally resolved. 🎉

@boygirl boygirl deleted the fix/issue-895-1119 branch November 9, 2018 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants