From 4370979bc415b2def0d80a93e47ddd1d457d336b Mon Sep 17 00:00:00 2001 From: Rizumu Ayaka Date: Tue, 27 Jan 2026 09:31:18 +0700 Subject: [PATCH] fix: add tooltips for various settings in the right side panel (#8278) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CleanShot 2026-01-23 at 21 27 45@2x ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8278-fix-add-tooltips-for-various-settings-in-the-right-side-panel-2f16d73d365081e2816cfdf24fa7687f) by [Unito](https://www.unito.io) --- .../rightSidePanel/settings/LayoutField.vue | 7 ++++++- .../rightSidePanel/settings/TabGlobalSettings.vue | 6 +++++- src/locales/en/settings.json | 13 ++++++++++--- src/platform/settings/constants/coreSettings.ts | 6 ++++++ 4 files changed, 27 insertions(+), 5 deletions(-) diff --git a/src/components/rightSidePanel/settings/LayoutField.vue b/src/components/rightSidePanel/settings/LayoutField.vue index 7596b00ed..e8e4e12b5 100644 --- a/src/components/rightSidePanel/settings/LayoutField.vue +++ b/src/components/rightSidePanel/settings/LayoutField.vue @@ -25,13 +25,18 @@ defineProps<{ " :class=" cn( - 'text-sm text-muted-foreground truncate', + 'text-sm text-muted-foreground truncate group', tooltip ? 'cursor-help' : '', singleline ? 'flex-1' : '' ) " > {{ label }} + + diff --git a/src/components/rightSidePanel/settings/TabGlobalSettings.vue b/src/components/rightSidePanel/settings/TabGlobalSettings.vue index 86dd8c046..ec291cd98 100644 --- a/src/components/rightSidePanel/settings/TabGlobalSettings.vue +++ b/src/components/rightSidePanel/settings/TabGlobalSettings.vue @@ -107,15 +107,17 @@ function openFullSettings() { @@ -156,6 +158,7 @@ function openFullSettings() { @@ -187,6 +190,7 @@ function openFullSettings() { diff --git a/src/locales/en/settings.json b/src/locales/en/settings.json index a82e2cb51..d685c1788 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", @@ -253,6 +255,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": { @@ -474,6 +480,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 5c1dbdd9b..95e892c49 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'