ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

prevent duplicates in input suggestions

Open TinyTerra opened this issue 1 year ago • 3 comments

TinyTerra avatar Mar 13 '24 14:03 TinyTerra

Can you provide steps for how to replicate the bug this is meant to solve?

mcmonkey4eva avatar Jun 29 '24 00:06 mcmonkey4eva

Drag an input of a node to an empty space on the graph.

If any nodes have multiple outputs of the same type they will show up multiple times in the suggestion list.

I'm away from my PC at the moment so I can't double check if there are base nodes with multiple outputs of the same type, but it's definitely prevalent with custom extensions.

I can provide more details a bit later on

TinyTerra avatar Jun 29 '24 01:06 TinyTerra

Here is a clearer example, before the pr multiple of the same suggestions:

https://github.com/comfyanonymous/ComfyUI/assets/115619949/a5223927-6980-47a7-9170-c3fcf90e55d1

After pr:

https://github.com/comfyanonymous/ComfyUI/assets/115619949/20e29e61-b16a-4057-899b-2b34192a0700

TinyTerra avatar Jun 30 '24 01:06 TinyTerra

frontend is replaced by https://github.com/Comfy-Org/ComfyUI_frontend now

mcmonkey4eva avatar Sep 16 '24 03:09 mcmonkey4eva