mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 09:30:06 +00:00
fix: vue nodes preview node to match lg and add node when clicked (#7146)
## Summary Make the preview node match recent LGraphNode.vue look. Also add support to click from search. ## Changes - **What**: NodeSearchBox.vue, LGraphNodePreview.vue, nodeDefStore.ts ## Screenshots (if applicable) https://github.com/user-attachments/assets/ed46d641-66bf-4e23-a207-9102609a7a4a ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7146-fix-vue-nodes-preview-node-to-match-lg-and-add-node-when-clicked-2bf6d73d3650814383b2c786e2ab4d02) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -198,7 +198,10 @@ export const SYSTEM_NODE_DEFS: Record<string, ComfyNodeDefV1> = {
|
||||
name: 'Note',
|
||||
display_name: 'Note',
|
||||
category: 'utils',
|
||||
input: { required: {}, optional: {} },
|
||||
input: {
|
||||
required: { text: ['STRING', { multiline: true }] },
|
||||
optional: {}
|
||||
},
|
||||
output: [],
|
||||
output_name: [],
|
||||
output_is_list: [],
|
||||
@@ -210,7 +213,10 @@ export const SYSTEM_NODE_DEFS: Record<string, ComfyNodeDefV1> = {
|
||||
name: 'MarkdownNote',
|
||||
display_name: 'Markdown Note',
|
||||
category: 'utils',
|
||||
input: { required: {}, optional: {} },
|
||||
input: {
|
||||
required: { text: ['STRING', { multiline: true }] },
|
||||
optional: {}
|
||||
},
|
||||
output: [],
|
||||
output_name: [],
|
||||
output_is_list: [],
|
||||
|
||||
Reference in New Issue
Block a user