13 Commits
Author SHA1 Message Date
digital-divas-admin 1a226c1b1f Merge pull request #5 from digital-divas-admin/claude/relaxed-wilbur
Fix toggle states not being sent to backend during execution
2026-02-15 23:18:05 -05:00
digital-divas-adminandClaude Opus 4.6 f9ed41d89f Fix toggle states not being sent to backend during execution
The toggle_states widget was being removed from the widgets array to
hide it visually, which also prevented ComfyUI from reading its value
when building the prompt for execution. The backend always received
the default "{}" so all images were treated as ON.

Fix: Keep the widget in the array but make it invisible using
converted-widget type, zero-height computeSize, and no-op draw.
Also make the backend more defensive - handle toggle_states arriving
via kwargs, and gracefully handle JSON parse errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 23:14:18 -05:00
digital-divas-admin 94e5b58250 Merge pull request #4 from digital-divas-admin/claude/relaxed-wilbur
Fix toggle alignment using getConnectionPos for exact slot positions
2026-02-15 22:54:05 -05:00
digital-divas-adminandClaude Opus 4.6 00ccfd4cc1 Fix toggle alignment using getConnectionPos for exact slot positions
Instead of manually calculating slot Y positions with a formula that
varies across LiteGraph versions, use getConnectionPos() which returns
the exact coordinates LiteGraph uses for drawing slot connectors. This
guarantees perfect alignment between toggles and their input slots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:50:37 -05:00
digital-divas-admin 460a6100a6 Merge pull request #3 from digital-divas-admin/claude/relaxed-wilbur
Claude/relaxed wilbur
2026-02-15 22:45:59 -05:00
digital-divas-adminandClaude Opus 4.6 5c4345778c Fix toggle Y-position alignment with input slots
Use the standard LiteGraph slot positioning formula:
NODE_SLOT_HEIGHT * (index + 0.5) + 4
instead of the incorrect (index + 0.7) offset that caused
each toggle to appear one slot below its actual input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:44:26 -05:00
digital-divas-adminandClaude Opus 4.6 16f05b0e7e Fix toggle_states widget visibility and serialization
- Remove toggle_states widget from the widgets array entirely instead of
  just hiding it, so it never renders as a visible text field
- Use requestAnimationFrame to handle widget removal timing (widget may
  not exist yet when onNodeCreated fires)
- Override serialize() to temporarily re-inject the widget for proper
  workflow save/load
- Restore toggle states from widgets_values during onConfigure for
  workflow reloading
- Add right-click context menu with Toggle All ON/OFF options
- Guard against duplicate slot creation on configure vs onNodeCreated

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:42:04 -05:00
digital-divas-admin b11cdd5406 Merge pull request #2 from digital-divas-admin/claude/relaxed-wilbur
Add DD Image Power Selector node with dynamic toggleable image inputs
2026-02-15 22:22:35 -05:00
AikaKittieandClaude Opus 4.6 79b04110c5 Add DD Image Power Selector node with dynamic toggleable image inputs
Adds a new node that lets users dynamically add/remove image input slots
via +/- buttons, with per-slot toggle switches to include or exclude
images from the output batch — similar to rgthree's Power Lora Loader UX.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:10:25 -05:00
digital-divas-admin 5f45b67918 Merge pull request #1 from digital-divas-admin/claude/create-branch-1-dd-nodes-ARs83
Claude/create branch 1 dd nodes a rs83
2026-02-15 21:21:02 -05:00
Claude a7f64f4535 Clean up boilerplate: add pyproject.toml, standardize node structure
- Add pyproject.toml for ComfyUI registry with project metadata
- Add requirements.txt placeholder
- Remove premature WEB_DIRECTORY (no JS extensions yet)
- Standardize all node FUNCTION names to "execute" for consistency
- Clean up input type definitions (remove unnecessary min/max bounds)
- Move math import to module level
- Rename "replace" param to "replace_with" to avoid shadowing builtin
- Tighten README with table format

https://claude.ai/code/session_01PdwEaTFxk45a8FjpqWqZbK
2026-02-16 02:20:34 +00:00
Claude 4e5c1184c5 Add initial DD Nodes custom nodes package structure
Set up the ComfyUI custom nodes package with text, image, and math
utility nodes including text concatenation/replace/display, image
resize/batch/size, and integer/float math operations with type
conversions. Includes package entry point and updated README.

https://claude.ai/code/session_01PdwEaTFxk45a8FjpqWqZbK
2026-02-16 02:10:47 +00:00
digital-divas-admin 2501084451 Initial commit 2026-02-15 18:17:49 -05:00