Commit Graph
7 Commits
Author SHA1 Message Date
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
jessesepandClaude e281f96475 Show preview directly on node instead of separate output
- Changed return format to use {"ui": {"text": [preview]}, "result": (value,)}
- Preview text now displays on the node itself like Show Text nodes
- Removed separate preview output port - cleaner node design
- Updated README to reflect on-node preview feature

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 01:39:13 +01:00
jessesep a4934d34fc Clean up: remove deprecated, add preview output, add ClearVariables
- Set/Get Variable now output preview string showing type + shape/value
- Added ClearVariables node
- Removed all deprecated type-specific nodes
- Simplified to 4 clean nodes
2025-12-05 01:33:16 +01:00
jessesep dc12f4f74d Add .gitignore 2025-12-05 00:36:07 +01:00
jessesep 632a99ee3f Simplify to universal Set/Get Variable nodes
- Main nodes: Set Variable, Get Variable, List Variables
- Works with ALL data types (Image, Mask, Latent, Model, etc.)
- Type-specific nodes moved to deprecated category
- Updated documentation
2025-12-05 00:35:55 +01:00
jessesep f6ee537ab6 Initial commit: ComfyUI Simple Variables node pack
Set/Get variable nodes for Image, Mask, Latent, Conditioning, Model, CLIP, VAE, String, Int, Float, and Any types.
2025-12-05 00:32:25 +01:00