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

chore: preserve manual component data if code unchanged #5482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

italojohnny
Copy link
Member

This PR updates the backend logic to preserve certain fields (display_name, description, and tool_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.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 30, 2024
Copy link

codspeed-hq bot commented Dec 30, 2024

CodSpeed Performance Report

Merging #5482 will improve performances by 26.7%

Comparing chore/preserve-component-data (2908eb4) with main (9ee6310)

Summary

⚡ 1 improvements
✅ 14 untouched benchmarks

Benchmarks breakdown

Benchmark main chore/preserve-component-data Change
test_successful_run_with_input_type_text 338.6 ms 267.2 ms +26.7%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant