-
Notifications
You must be signed in to change notification settings - Fork 56
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
3-point circle interactive component #4982
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4982 +/- ##
==========================================
- Coverage 85.99% 85.96% -0.03%
==========================================
Files 88 88
Lines 31470 31480 +10
==========================================
Hits 27062 27062
- Misses 4408 4418 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Just a few notes:
- The click target for dragging seems very small, is there some way to make it more forgiving?
- The "snap to axis" draft points appear if the user mouses over the axes even after the circle has been added.
- I think we talked about adding the constraint overlays in a follow-up PR, just want to note it
- And I just want to note that it's a known issue that the circle button doesn't activate while this tool is active, same issue faced by center rectangle and will be addressed elsewhere
009f654
to
3a71837
Compare
Uses our talked about technique of calling Rust functions to calculate new geometry coordinates and parameters. It works very well! Need to have the modeling app show "edit sketch" still.
3a71837
to
aab4d91
Compare
@franknoirot I fixed points 1 and 4 - I think 2 is related to a class of bugs around Circle in general which we can fix later (keeps axis indicator up). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing stands out for me in the code changes and it works great locally. Thank you!
* Add dragging behavior to 3 point circle Uses our talked about technique of calling Rust functions to calculate new geometry coordinates and parameters. It works very well! Need to have the modeling app show "edit sketch" still. * Cargo fmt * cargo fmt * Address Jon's comments * Fix clippy * Dont use isNaN * Make points easier to select (enlarge) * Fix circle button not being activated * Ensure efficiency of updating editor vs execution * Make cargo clippy happy
2025-01-08_20-54-28.mp4