Skip to content

Update getSketchExprsFromSelection to use codeRef.pathToNode #6737

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pierremtb
Copy link
Contributor

@pierremtb pierremtb commented May 7, 2025

Just a follow up from #6437

Part of #6650.

Copy link

qa-wolf bot commented May 7, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented May 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2025 6:41pm

const sketchVariable = getNodeFromPath<VariableDeclarator>(
ast,
path,
s?.codeRef.pathToNode,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jtran @Irev-Dev the tests that broke up there were in edit steps

Related https://github.com/KittyCAD/modeling-app/pull/6963/files#r2090752944

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like we're back to green after 7030

@pierremtb pierremtb marked this pull request as ready for review May 17, 2025 20:06
@pierremtb pierremtb requested review from jtran and Irev-Dev May 17, 2025 20:06
@pierremtb pierremtb enabled auto-merge (squash) May 18, 2025 15:14
@pierremtb pierremtb disabled auto-merge May 18, 2025 15:49
@pierremtb pierremtb marked this pull request as draft May 18, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant