ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: Suggestions on Search

Open 807502278 opened this issue 1 year ago • 1 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 ?

when pulling out the connection line from the connection point for searching, there are too many irrelevant nodes. The old version did not have this problem.

  1. when pulling out the connection line from the connection point for searching, add a plug-in label for the current node. Because manually adding it requires at least six mouse clicks and typing input, Because it needs to be done like this every time, which is very troublesome. If you don't want to add it, just click to delete the label. image Why add this tag? Because for commonly used types, we can directly search. However in 50% of cases., the connection we need is to a node related to the same plugin.

  2. Add a setting to customize the number of displayed nodes, font size and line spacing in the search bar. (Currently only 8 nodes can be displayed.)

  3. Add a switch above the search bar to shield "any" class.

  4. Take out the secondary menu of the search bar filter and fix it to the top. Because adding a label requires many operations and is very cumbersome, Moreover, there is a large blank space above the search bar.

  5. The custom tag records when searching by pulling out the connection line from the connection point are saved as history. The history is classified by plugins, and the data is saved to the user folder.

Proposed workflow

1.1 Pull out the connection line from the connection point for searching. 1.2 Two tags will appear, as shown in the figure: image

2.1 Open settings. 2.2 Search bar settings - Number of displayed nodes 6 - 100. 2.3 Search bar settings - Font size (pixels) 6 - 64. 2.4 Search bar settings - Line spacing (pixels) 0 - 64.

3.1 When pulling out the connection line from the connection point for searching. 3.2 There is a switch above the search bar to show/hide "any" class.  4.1 Pull out the connection line from the connection point for searching, or double-click to open the search. 4.2 As shown in the figure (the width may actually need to be adjusted and the font size reduced a bit). 4.3 Click to add a tag in the four lists above. 4.4 These four lists are permanent and will open or close simultaneously with the search. image

5.1 Search with the connection line pulled out from node A1 of plugin A. 5.2 Automatically show the previously selected tag (this is the historical tag record belonging to plugin A). 5.3 Search with the connection line pulled out from node B1 of plugin B. 5.4 Automatically show the previously selected tag (this is the historical tag record belonging to plugin B).

Additional information

No response

807502278 avatar Sep 06 '24 03:09 807502278