mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 01:39:47 +00:00
V2 Node Search (+ hidden Node Library changes) (#8987)
## Summary Redesigned node search with categories ## Changes - **What**: Adds a v2 search component, leaving the existing implementation untouched - It also brings onboard the incomplete node library & preview changes, disabled and behind a hidden setting - **Breaking**: Changes the 'default' value of the node search setting to v2, adding v1 (legacy) as an option ## Screenshots (if applicable) https://github.com/user-attachments/assets/2ab797df-58f0-48e8-8b20-2a1809e3735f ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8987-V2-Node-Search-hidden-Node-Library-changes-30c6d73d36508160902bcb92553f147c) by [Unito](https://www.unito.io) --------- Co-authored-by: Yourz <crazilou@vip.qq.com> Co-authored-by: Amp <amp@ampcode.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
@@ -35,7 +35,7 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
experimental: true,
|
||||
name: 'Node search box implementation',
|
||||
type: 'combo',
|
||||
options: ['default', 'litegraph (legacy)'],
|
||||
options: ['default', 'v1 (legacy)', 'litegraph (legacy)'],
|
||||
defaultValue: 'default'
|
||||
},
|
||||
{
|
||||
@@ -72,7 +72,7 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
id: 'Comfy.NodeSearchBoxImpl.ShowCategory',
|
||||
category: ['Comfy', 'Node Search Box', 'ShowCategory'],
|
||||
name: 'Show node category in search results',
|
||||
tooltip: 'Only applies to the default implementation',
|
||||
tooltip: 'Only applies to v1 (legacy)',
|
||||
type: 'boolean',
|
||||
defaultValue: true
|
||||
},
|
||||
@@ -80,7 +80,7 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
id: 'Comfy.NodeSearchBoxImpl.ShowIdName',
|
||||
category: ['Comfy', 'Node Search Box', 'ShowIdName'],
|
||||
name: 'Show node id name in search results',
|
||||
tooltip: 'Only applies to the default implementation',
|
||||
tooltip: 'Does not apply to litegraph (legacy)',
|
||||
type: 'boolean',
|
||||
defaultValue: false
|
||||
},
|
||||
@@ -88,7 +88,7 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
id: 'Comfy.NodeSearchBoxImpl.ShowNodeFrequency',
|
||||
category: ['Comfy', 'Node Search Box', 'ShowNodeFrequency'],
|
||||
name: 'Show node frequency in search results',
|
||||
tooltip: 'Only applies to the default implementation',
|
||||
tooltip: 'Only applies to v1 (legacy)',
|
||||
type: 'boolean',
|
||||
defaultValue: false
|
||||
},
|
||||
@@ -312,6 +312,13 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
}
|
||||
},
|
||||
// Bookmarks are stored in the settings store.
|
||||
{
|
||||
id: 'Comfy.NodeLibrary.NewDesign',
|
||||
name: 'Use new node library design',
|
||||
type: 'hidden',
|
||||
defaultValue: false,
|
||||
experimental: true
|
||||
},
|
||||
// Bookmarks are in format of category/display_name. e.g. "conditioning/CLIPTextEncode"
|
||||
{
|
||||
id: 'Comfy.NodeLibrary.Bookmarks',
|
||||
|
||||
Reference in New Issue
Block a user