mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-07-17 09:18:26 +00:00
## Summary Move node-definition locale serialization into a focused, testable module while preserving generated locale behavior. ## Changes - **What**: Extract locale key normalization and Vue I18n escaping from the Playwright collector into `nodeDefLocaleSerializer.ts`. - **What**: Keep input and output tooltips raw while escaping fields compiled by Vue I18n. - **What**: Replace broad utility tests with behavioral serializer coverage for escaping, output shapes, ordering, and missing values. ## Review Focus Check parity with the generator introduced in #13631, especially raw tooltips, runtime widget labels, known data-type output elision, and normalized keys. Validation: `pnpm typecheck`, focused Vitest, oxlint, ESLint, and oxfmt.