ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

[Feature request] need list scroll ,

Open lilly1987 opened this issue 2 years ago • 3 comments

2023-03-18 15 06 32
i have model 600...

lilly1987 avatar Mar 18 '23 06:03 lilly1987

Maybe make it a combo box https://jquense.github.io/react-widgets/docs/Combobox/ so you can search by text and it automatically adjusts the list to the search input box.

BlueAccords avatar Mar 18 '23 06:03 BlueAccords

How about, if possible, to make it able to sort them in sub directories? Like shown in other nodes. Maybe by seting up a config file including something like directory names and included models or by showing sub directories in the checkpoint path in the list as well. Sorting models by category already would be very useful. i would dig into this, but sadly I have barely any knowledge about python

Darkflo264 avatar Mar 20 '23 05:03 Darkflo264

It looks like a combo box isn't natively supported by litegraph https://github.com/jagenjo/litegraph.js/issues/312 so a solution would probably need to be manually implemented, if you were going to take that route

BlueAccords avatar Mar 21 '23 04:03 BlueAccords

A temporary workaround to this is upping the scroll speed. If you go into web/lib/litegraph.core.js and add this line at line 13466, it'll make your scroll speed 10x faster. Feel free to change the number to whatever amount you want it to be faster by.

options.scroll_speed = options.scroll_speed * 10

Editing litegraph itself is obviously not a great solution, but for now it should save you from RSI from scrolling too much.

shirase-0 avatar Mar 29 '23 05:03 shirase-0

Offtopic, but is there something like all these models accumulated in one place to download and update automatically?

Lyapsus avatar Apr 02 '23 15:04 Lyapsus