-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: preserve manual component data if code unchanged #5482
Conversation
CodSpeed Performance ReportMerging #5482 will improve performances by 12.57%Comparing Summary
Benchmarks breakdown
|
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.
Nice! I think we will just have to change it so that the parameters are maintained when the user updates the code manually as well. Also, could you maybe implement a logic to just update the description if the description of the new code is different than the description of the old code please?
Thanks!
bdc0b74
to
b1d9f0d
Compare
This PR updates the backend logic to preserve certain fields (
display_name
,description
, andtool_mode
) of frontend components when their code has not been modified. This ensures that user-provided values are not overwritten unnecessarily.Frontend adjustments will be required to properly utilize the preserved data.