fix: add tooltips for various settings in the right side panel (#8278)

<img width="1264" height="730" alt="CleanShot 2026-01-23 at 21 27 45@2x"
src="https://github.com/user-attachments/assets/9834b673-8467-44c0-b487-d9dd9e4475d0"
/>



┆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)
This commit is contained in:
Rizumu Ayaka
2026-01-27 09:31:18 +07:00
committed by GitHub
parent 5eda23b7aa
commit 4370979bc4
4 changed files with 27 additions and 5 deletions

View File

@@ -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 }}
<i
v-if="tooltip"
class="icon-[lucide--info] ml-0.5 size-3 relative top-[1px] group-hover:text-primary"
/>
</span>
<slot />
</div>

View File

@@ -107,15 +107,17 @@ function openFullSettings() {
<FieldSwitch
v-model="showAdvancedParameters"
:label="t('rightSidePanel.globalSettings.showAdvanced')"
:tooltip="t('rightSidePanel.globalSettings.showAdvancedTooltip')"
:tooltip="t('settings.Comfy_Node_AlwaysShowAdvancedWidgets.tooltip')"
/>
<FieldSwitch
v-model="showToolbox"
:label="t('rightSidePanel.globalSettings.showToolbox')"
:tooltip="t('settings.Comfy_Canvas_SelectionToolbox.tooltip')"
/>
<FieldSwitch
v-model="nodes2Enabled"
:label="t('rightSidePanel.globalSettings.nodes2')"
:tooltip="t('settings.Comfy_VueNodes_Enabled.tooltip')"
/>
</div>
</PropertiesAccordionItem>
@@ -156,6 +158,7 @@ function openFullSettings() {
<FieldSwitch
v-model="snapToGrid"
:label="t('rightSidePanel.globalSettings.snapNodesToGrid')"
:tooltip="t('settings.pysssss_SnapToGrid.tooltip')"
/>
</div>
</PropertiesAccordionItem>
@@ -187,6 +190,7 @@ function openFullSettings() {
<FieldSwitch
v-model="showConnectedLinks"
:label="t('rightSidePanel.globalSettings.showConnectedLinks')"
:tooltip="t('settings.Comfy_LinkRenderMode.tooltip')"
/>
</div>
</PropertiesAccordionItem>

View File

@@ -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."
}
}
}

View File

@@ -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'