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(weave): Unbreak editing and deleting choices #3287

Merged
merged 5 commits into from
Dec 18, 2024

Conversation

jwlee64
Copy link
Contributor

@jwlee64 jwlee64 commented Dec 18, 2024

Description

on any state change we would reload the intial trace

deleting choices was broken
if you deleted all the choices it would break as well

Testing

How was this PR tested?

@jwlee64 jwlee64 requested review from a team as code owners December 18, 2024 21:41
@circle-job-mirror
Copy link

circle-job-mirror bot commented Dec 18, 2024

setPlaygroundStateFromTraceCall,
callWithCosts.result,
]);
// Only set the call the first time the page loads, and we get the call
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 was rerunnning every render because of callwithCosts.result

Copy link
Member

Choose a reason for hiding this comment

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

hmmm, but isn't callwithCosts.result expensive? shouldn't that not be changing?

@jwlee64 jwlee64 changed the title fix(weave): Unbreak deleting choices fix(weave): Unbreak editing and deleting choices Dec 18, 2024
@jwlee64 jwlee64 merged commit 7d1d212 into master Dec 18, 2024
118 of 120 checks passed
@jwlee64 jwlee64 deleted the josiah/unbreak-deletion branch December 18, 2024 22:58
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants