ComfyUI
ComfyUI copied to clipboard
add batch count to the menu

Allows user to specify the number of batches to queue instead of click spamming the queue button.
Wouldn't this be better as a right click menu on the queue button with options to: queue 10x, queue 100x, queue 1000x?
I would say it's better to have full control on this instead of predefined options. When testing a workflow for example, the number of prompt I queue depends of the time it takes for it to execute so sometimes x10 might be fine but sometimes it's 5 or 7...
What about having a split button type thing [ Queue Prompt | v ]
clicking the down arrow shows a little menu with Queue 5, Queue 10, queue 100, queue X
clicking queue X asks for how many (can use prompt("how many do you want to queue") unless you want to write a popup asking)
I think your solution @pythongosssss would not work well with the fact we also have another button to "Queue front" meaning we would still need an input to read the value or duplicate the menu to the other button as well. I added a range input [1;100], I think this is a good compromise between full control, having a quick way to bump the count and UX. What do you think ?

You can still input 5000 manually, this won't be clamped by the range of the slider.
It works great, can you put it below the "Queue Prompt" button and hide it behind a "extra options" toggle?
