From cee4df890b7af6fa73728ebd5cac3b33d0b5aa5d Mon Sep 17 00:00:00 2001 From: Rizumu Ayaka Date: Sat, 24 Jan 2026 14:44:13 +0800 Subject: [PATCH] fix: update tooltips for various settings in the right side panel --- .../rightSidePanel/settings/TabGlobalSettings.vue | 12 +++++------- src/locales/en/main.json | 4 ---- src/locales/en/settings.json | 13 ++++++++++--- src/platform/settings/constants/coreSettings.ts | 6 ++++++ 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src/components/rightSidePanel/settings/TabGlobalSettings.vue b/src/components/rightSidePanel/settings/TabGlobalSettings.vue index e02cfb800..327725276 100644 --- a/src/components/rightSidePanel/settings/TabGlobalSettings.vue +++ b/src/components/rightSidePanel/settings/TabGlobalSettings.vue @@ -103,17 +103,17 @@ function openFullSettings() { @@ -154,7 +154,7 @@ function openFullSettings() { @@ -186,9 +186,7 @@ function openFullSettings() { diff --git a/src/locales/en/main.json b/src/locales/en/main.json index 202d3854b..bc582140a 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -2673,15 +2673,11 @@ "showAdvancedTooltip": "This is an important setting that when set to TRUE, reveals all advanced parameters for nodes", "showInfoBadges": "Show info badges", "showToolbox": "Show toolbox on selection", - "showToolboxTooltip": "Display a floating toolbar when nodes are selected, providing quick access to common actions", "nodes2": "Nodes 2.0", - "nodes2Tooltip": "Modern: DOM-based rendering with enhanced interactivity, native browser features, and updated visual design. Classic: Traditional canvas rendering", "gridSpacing": "Grid spacing", "snapNodesToGrid": "Snap nodes to grid", - "snapNodesToGridTooltip": "When enabled, nodes will automatically align to the grid when moved or resized", "linkShape": "Link shape", "showConnectedLinks": "Show connected links", - "showConnectedLinksTooltip": "Toggle visibility of connection links between nodes on the canvas", "viewAllSettings": "View all settings" }, "groupSettings": "Group Settings", diff --git a/src/locales/en/settings.json b/src/locales/en/settings.json index 6fbb8e105..64be621bd 100644 --- a/src/locales/en/settings.json +++ b/src/locales/en/settings.json @@ -52,7 +52,8 @@ } }, "Comfy_Canvas_SelectionToolbox": { - "name": "Show selection toolbox" + "name": "Show selection toolbox", + "tooltip": "Display a floating toolbar when nodes are selected, providing quick access to common actions." }, "Comfy_ConfirmClear": { "name": "Require confirmation when clearing workflow" @@ -142,6 +143,7 @@ }, "Comfy_LinkRenderMode": { "name": "Link Render Mode", + "tooltip": "Controls the appearance and visibility of connection links between nodes on the canvas.", "options": { "Straight": "Straight", "Linear": "Linear", @@ -249,6 +251,10 @@ "name": "Snap highlights node", "tooltip": "When dragging a link over a node with viable input slot, highlight the node" }, + "Comfy_Node_AlwaysShowAdvancedWidgets": { + "name": "Always show advanced widgets on all nodes", + "tooltip": "When enabled, advanced widgets are always visible on all nodes without needing to expand them individually." + }, "Comfy_NodeBadge_NodeIdBadgeMode": { "name": "Node ID badge mode", "options": { @@ -470,6 +476,7 @@ "tooltip": "The bezier control point offset from the reroute centre point" }, "pysssss_SnapToGrid": { - "name": "Always snap to grid" + "name": "Always snap to grid", + "tooltip": "When enabled, nodes will automatically align to the grid when moved or resized." } -} \ No newline at end of file +} diff --git a/src/platform/settings/constants/coreSettings.ts b/src/platform/settings/constants/coreSettings.ts index 3b6a06879..af1e02898 100644 --- a/src/platform/settings/constants/coreSettings.ts +++ b/src/platform/settings/constants/coreSettings.ts @@ -642,6 +642,8 @@ export const CORE_SETTINGS: SettingParams[] = [ id: 'Comfy.LinkRenderMode', category: ['LiteGraph', 'Graph', 'LinkRenderMode'], name: 'Link Render Mode', + tooltip: + 'Controls the appearance and visibility of connection links between nodes on the canvas.', defaultValue: 2, type: 'combo', options: [ @@ -793,6 +795,8 @@ export const CORE_SETTINGS: SettingParams[] = [ id: 'pysssss.SnapToGrid', category: ['LiteGraph', 'Canvas', 'AlwaysSnapToGrid'], name: 'Always snap to grid', + tooltip: + 'When enabled, nodes will automatically align to the grid when moved or resized.', type: 'boolean', defaultValue: false, versionAdded: '1.3.13' @@ -960,6 +964,8 @@ export const CORE_SETTINGS: SettingParams[] = [ id: 'Comfy.Canvas.SelectionToolbox', category: ['LiteGraph', 'Canvas', 'SelectionToolbox'], name: 'Show selection toolbox', + tooltip: + 'Display a floating toolbar when nodes are selected, providing quick access to common actions.', type: 'boolean', defaultValue: true, versionAdded: '1.10.5'