Commit Graph
6 Commits
Author SHA1 Message Date
jessesep 79ca91b113 Simplify: rename to SimpleSet/SimpleGet, clean code 2025-12-05 02:17:48 +01:00
jessesep e4f449910e Add debug logging and fix node type paths 2025-12-05 02:15:01 +01:00
jessesepandClaude fef6ef6c2c Fix: capture node reference for dropdown callback
The 'this' context was wrong inside the values callback.
Now uses 'node' reference like KJNodes does.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:12:50 +01:00
jessesepandClaude d2a4ffdd3b Rewrite as pure JavaScript frontend nodes - no trigger needed
- Nodes are now isVirtualNode = true (no Python execution)
- GetVariable uses getInputLink() to redirect to SetVariable's input
- Data flows directly through the graph, no execution order issues
- Get Variable has dropdown showing available variable names
- Node titles update to show variable name (Set: foo, Get: foo)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:08:10 +01:00
jessesepandClaude 700ac580cc Fix JS loading - add WEB_DIRECTORY and absolute imports
- Added WEB_DIRECTORY = "./web" to __init__.py (required for ComfyUI to find JS)
- Added __all__ export
- Changed JS imports to absolute paths (/scripts/app.js)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 01:47:35 +01:00
jessesepandClaude ff25769955 Add JavaScript for on-node text display
- Added web/simplevariables.js to handle displaying preview text
- Registers extension that hooks into node execution
- Creates a read-only text widget on the node when executed
- Automatically resizes node to fit content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 01:43:10 +01:00