Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Widget Input Socket #9

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

RFC: Widget Input Socket #9

wants to merge 7 commits into from

Conversation

huchenlei
Copy link
Member

@huchenlei huchenlei commented Jan 13, 2025

Summary

This RFC proposes replacing ComfyUI's current widget-to-socket conversion system with a simpler, more intuitive "widget input socket" design. Instead of requiring users to manually convert widgets to sockets through context menus, widgets will automatically display an input socket when hovered over. This socket behaves like any other input socket - allowing users to drag connections to and from it. When connected, the widget becomes disabled (grayed out) to indicate it's receiving an external input.

This change aims to:

  • Simplify the codebase by removing complex conversion logic
  • Improve usability by making connections more discoverable and intuitive
  • Align with industry standards seen in tools like Blender
  • Reduce the number of clicks needed to make connections
  • Eliminate the need to maintain conversion states in workflow files

The proposal represents a breaking change that would be implemented in v2.0, though existing workflows would continue to function without modification.

Links


Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.

@github-actions github-actions bot added the rfc label Jan 13, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2025
rfcs/0004-widget-input-socket.md Outdated Show resolved Hide resolved
rfcs/0004-widget-input-socket.md Outdated Show resolved Hide resolved
rfcs/0004-widget-input-socket.md Outdated Show resolved Hide resolved
rfcs/0004-widget-input-socket.md Outdated Show resolved Hide resolved
@christian-byrne christian-byrne added the pending When the RFC is still in comments phase label Jan 14, 2025
@huchenlei huchenlei changed the title rfc-04: Widget Input Socket RFC: Widget Input Socket Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pending When the RFC is still in comments phase rfc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants