fix(i18n): preserve instance-level node display_name and description in syncNodeTranslations

Only sync field-level translations (template inputs and outputs).
Node titles and descriptions are instance-level identity — user and
template renames must not be overwritten by canonical registry values.
This commit is contained in:
RamGopalSrikar
2026-04-28 10:41:38 -04:00
parent 9f5c4db11b
commit 5dae32a1ef
2 changed files with 1 additions and 3 deletions

View File

@ -1433,8 +1433,6 @@ export function syncNodeTranslations(): void {
...node.data,
node: {
...node.data.node!,
display_name: freshDef.display_name,
description: freshDef.description,
template: updatedTemplate,
...(updatedOutputs && { outputs: updatedOutputs }),
},

View File

@ -41,7 +41,7 @@ withEventDeliveryModes(
.nth(0)
.fill("https://www.originaldiving.com/blog/top-ten-turtle-facts");
await page.getByTestId("textarea_str_input_value").click();
await page.getByText("Instructions", { exact: true }).last().click();
await page
.getByTestId("textarea_str_input_value")