Comfy-Org / ComfyUI_frontend

Official front-end implementation of ComfyUI
https://www.comfy.org/
GNU General Public License v3.0
580 stars 100 forks source link

[Feature Request]: In Search Filter Box, Group Nodes on Category #424

Open Amorano opened 2 months ago

Amorano commented 2 months ago

Is there an existing issue for this?

What would your feature do ?

Example filter box from Unreal Engine:

image

image

Move the categories to the outer "tree" as parents for any nodes within the same category. The inner elements underneath the category parent should be A-Z sort.

Categories should be A-Z sort when presenting.

Yes, tree(s) can have multiple leaf levels, as ComfyUI can have multiple sub-categories, see the UE BP Filter for reference.

Proposed workflow

  1. Open Node Filter
  2. Search for node
  3. Presented wuth tree list filtered view of nodes sorted on category(ies)
  4. Laugh in Blueprint.

Additional information

No response

huchenlei commented 2 months ago

I think this feature is easier implemented in the node library search where things are already in tree format.

Amorano commented 2 months ago

Is the panel going to be floating? Otherwise why wouldn't you add this to the filter popup?

Again, this is standard workflow for all the current packages. Is there a definitive design list of choices already made so we are not wasting time on things you are just going to dismiss?

huchenlei commented 2 months ago

Re-opening as I am thinking if it is possible to have the tree view in the search box and reuse the component from the sidebar tab.