mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-23 22:25:05 +00:00
Addresses CodeRabbit review: when normalizeSnapshotIds merged two snapshot packs whose ids slugified to the same value, only the nodes were combined and every other optional field (registryId, description, repoUrl, publisher, downloads, githubStars, license, ...) was silently dropped from the later alias. If the first row lacked metadata the second had, those fields were lost from the rendered detail page. mergeCollidedPacks now walks every key on the later pack and fills any undefined or null fields on the merged result, never overwriting metadata already present on the first row. The merge stays deterministic (first-wins for filled fields) and the rule covers the full Pack shape instead of an ad-hoc hand-listed subset.