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 switching between KCL arguments #5512

Merged
merged 10 commits into from
Feb 27, 2025

Conversation

franknoirot
Copy link
Collaborator

@franknoirot franknoirot commented Feb 25, 2025

Fixes #5484. Just needed to imperatively send a transaction to the editor, since it doesn't get re-rendered when switching from one KCL-type arg to another.

Completely developed while using ✨Windows✨

Demo

Screenshare.-.2025-02-25.6_12_51.PM-compressed.mp4

Needed to imperatively send a transaction to the editor, since it
doesn't get re-rendered when switching from one KCL-type arg to another.
Copy link

vercel bot commented Feb 25, 2025

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

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Feb 27, 2025 9:41am

Copy link

qa-wolf bot commented Feb 25, 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

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.42%. Comparing base (1104d90) to head (7bab3be).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5512   +/-   ##
=======================================
  Coverage   86.41%   86.42%           
=======================================
  Files          97       97           
  Lines       37194    37194           
=======================================
+ Hits        32143    32144    +1     
+ Misses       5051     5050    -1     
Flag Coverage Δ
wasm-lib 86.42% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lf94
Copy link
Contributor

lf94 commented Feb 27, 2025

Looks fantastic!

@pierremtb pierremtb enabled auto-merge (squash) February 27, 2025 09:28
@pierremtb pierremtb merged commit da236d9 into main Feb 27, 2025
33 checks passed
@pierremtb pierremtb deleted the franknoirot/5484/fix-switching-kcl-arguments branch February 27, 2025 10:01
@franknoirot
Copy link
Collaborator Author

Thanks @pierremtb!

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.

Default value from last-open KCL input argument stays when switching arguments
4 participants