ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: Request to add a feature for batch selection input components to convert to input items

Open planb788 opened this issue 1 year 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 ?

It is often necessary to convert components to input items, especially for things like image resolution, where the width and height usually need to be converted to input items. There are also nodes like cropping that may require converting four input components to input items. My suggestion is to add a shortcut key for multi-selecting input items in the interface. When a node is selected, using this shortcut key would switch to the multi-select state for input items. Users can check the items they want to convert, or support box selection for the items to be converted. This would save users a lot of time.

Proposed workflow

  1. Use the preset shortcut key for editing and converting input items to enter the interface state for converting multiple input components.
  2. You can check or box the corresponding input items, which will automatically determine whether the current input item is in node input status or component input status.
  3. Clicking the Finish button or pressing the Enter key will switch the selected item's input state. If it was in node input state, it will switch to component input state, and if it was in component input state, it will switch to node input state.

Additional information

No response

planb788 avatar Sep 11 '24 18:09 planb788