10 Commits
Author SHA1 Message Date
FairyRoot 2453383e12 Merge pull request #4 from asa-degroff/fix/widget-cleanup-crash
Fix widget cleanup crash on new ComfyUI frontend
2026-02-17 15:51:03 +03:00
Asa DeGroffandClaude Opus 4.6 4a9cd92618 Fix widget cleanup crash on new ComfyUI frontend
The populate() function set `this.widgets.length = 1` to preserve a
first widget, but the ShowText node has no initial widgets (its text
input uses forceInput), so this created an `undefined` entry at
index 0. The new ComfyUI frontend (comfyui-frontend-package >= 1.x)
iterates all widgets during layout (#arrangeWidgets) and crashes on the
undefined entry, causing the canvas to stop rendering entirely.

- Start cleanup loop at index 0 and clear to length 0
- Add safe-navigation when calling onRemove on potentially undefined widgets
- Fall back to w.element when w.inputEl is unavailable for
  forward-compatibility with the new frontend widget API

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:52:03 -07:00
FairyRoot b5e6f55fc6 Merge pull request #3 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2025-04-08 15:21:57 +01:00
fairy-root 4a86742cf3 Updated the name of the node to Show Text. 2025-03-27 04:10:36 +01:00
snomiao 3df6e4c53d chore(publish): update workflow for node publishing with permissions and version adjustments 2025-03-12 04:21:34 +00:00
fairy-root 183c491a99 Updated the whole functionality and fixed some bugs... 2025-02-28 03:14:40 +01:00
fairy-root d26e931231 ComfyUI registry Github workflow 2025-02-24 21:23:13 +01:00
fairy-root 5ad17ca773 Adding ComfyUI registery... 2025-02-24 21:17:29 +01:00
fairy-root 134e282522 Initial commit... 2025-02-24 00:25:32 +01:00
FairyRoot bd434b8c73 Initial commit 2025-02-24 00:20:49 +01:00