Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/components/rightSidePanel/settings/LayoutField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -156,6 +158,7 @@ function openFullSettings() {
<FieldSwitch
v-model="snapToGrid"
:label="t('rightSidePanel.globalSettings.snapNodesToGrid')"
:tooltip="t('settings.pysssss_SnapToGrid.tooltip')"
/>
</div>
</PropertiesAccordionItem>
Expand Down Expand Up @@ -187,6 +190,7 @@ function openFullSettings() {
<FieldSwitch
v-model="showConnectedLinks"
:label="t('rightSidePanel.globalSettings.showConnectedLinks')"
:tooltip="t('settings.Comfy_LinkRenderMode.tooltip')"
/>
</div>
</PropertiesAccordionItem>
Expand Down
13 changes: 10 additions & 3 deletions src/locales/en/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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."
}
}
}
6 changes: 6 additions & 0 deletions src/platform/settings/constants/coreSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down