ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: Improve "drag link to widget" feature: Input turns back to Widget

Open LukeG89 opened this issue 5 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

I would like to propose an improvement to the new "dragging link to widget" feature.

Currently, when you connect a link to a widget, the widget turns into input.

dragged_link

But when you disconnect the input, the input remains.

disconnected_input

Is it possible to automatically turn the input back to widget?

That would improve the user experience even more and be a better "Blender-like" feature as requested here: https://github.com/Comfy-Org/ComfyUI_frontend/issues/870

Proposed workflow

  • Drag the link on Widget -> Widget turns into Input
  • Disconnect the link from Input -> Input turns back to Widget

Additional information

@pythongosssss You did an awesome job implementing this great feature, really love it! ❤️

LukeG89 avatar Oct 02 '24 08:10 LukeG89