Files
ComfyUI_frontend/apps
Glary-Bot df3c3c7efc fix(website): preserve optional metadata when snapshot packs merge on slug
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.
2026-05-14 20:18:22 +00:00
..