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

new(brush): expose updateBrush method #934

Merged
merged 7 commits into from
Nov 23, 2020
Merged

new(brush): expose updateBrush method #934

merged 7 commits into from
Nov 23, 2020

Conversation

peterwiebe
Copy link
Contributor

@peterwiebe peterwiebe commented Nov 18, 2020

🚀 Enhancements

ezgif com-video-to-gif

@williaster - I know you already have a PR up but I was wondering what you think of this.
cc #577

@peterwiebe peterwiebe changed the title Update brush new(brush): expose updateBrush method Nov 18, 2020
onBrushEnd={this.handleBrushEnd}
onBrushStart={this.handleBrushStart}
handleSize={handleSize}
ref={innerRef}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the added line, the rest are just sorted by proptype & name

@coveralls
Copy link

coveralls commented Nov 18, 2020

Pull Request Test Coverage Report for Build 376396724

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 60.879%

Totals Coverage Status
Change from base Build 368243629: 0.07%
Covered Lines: 1632
Relevant Lines: 2535

💛 - Coveralls

@peterwiebe
Copy link
Contributor Author

peterwiebe commented Nov 19, 2020

@williaster if there aren't any issues with this implementation can this be added to the next release?

Copy link
Collaborator

@williaster williaster left a comment

Choose a reason for hiding this comment

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

Thanks for the PR and sorry for the delayed review @peterwiebe (catching up from being out 🌴 last week). This looks great and is much simpler than my previous thinking 💯

I had a couple of minor suggestions for the demo, but then yes we should be able to get this out in the next release 👍

packages/visx-brush/src/Brush.tsx Outdated Show resolved Hide resolved
packages/visx-demo/src/sandboxes/visx-brush/Example.tsx Outdated Show resolved Hide resolved
packages/visx-demo/src/sandboxes/visx-brush/Example.tsx Outdated Show resolved Hide resolved
@williaster williaster added this to the 1.1.1 milestone Nov 19, 2020
@williaster williaster linked an issue Nov 19, 2020 that may be closed by this pull request
@peterwiebe
Copy link
Contributor Author

@williaster thank you for your review 🙏 I updated the PR with your feedback, please let me know if there is anything else you think could use some tweaking.
ezgif com-video-to-gif

Copy link
Collaborator

@williaster williaster left a comment

Choose a reason for hiding this comment

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

This looks great @peterwiebe! 💯 Thanks for the addition, I'll merge it now and try and get a release out sometime today.

@williaster
Copy link
Collaborator

@peterwiebe sorry for the delay, this is now out as 1.2.0. demo site will be live tomorrow but sandbox works.

@peterwiebe
Copy link
Contributor Author

@williaster thank you for helping me get it in 🙏

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.

Controlled Brush
3 participants