@@ -167,7 +167,8 @@ function dragElement(dragEl, settings): () => void {
167167 let savePos = undefined
168168 settings . addSetting ( {
169169 id : 'Comfy.MenuPosition' ,
170- name : 'Save menu position' ,
170+ category : [ 'Comfy' , 'Menu' , 'MenuPosition' ] ,
171+ name : "Save legacy menu's position" ,
171172 type : 'boolean' ,
172173 defaultValue : savePos ,
173174 onChange ( value ) {
@@ -369,13 +370,15 @@ export class ComfyUI {
369370
370371 const confirmClear = this . settings . addSetting ( {
371372 id : 'Comfy.ConfirmClear' ,
373+ category : [ 'Comfy' , 'Workflow' , 'ConfirmClear' ] ,
372374 name : 'Require confirmation when clearing workflow' ,
373375 type : 'boolean' ,
374376 defaultValue : true
375377 } )
376378
377379 const promptFilename = this . settings . addSetting ( {
378380 id : 'Comfy.PromptFilename' ,
381+ category : [ 'Comfy' , 'Workflow' , 'PromptFilename' ] ,
379382 name : 'Prompt for filename when saving workflow' ,
380383 type : 'boolean' ,
381384 defaultValue : true
@@ -394,28 +397,37 @@ export class ComfyUI {
394397 */
395398 const previewImage = this . settings . addSetting ( {
396399 id : 'Comfy.PreviewFormat' ,
397- name : 'When displaying a preview in the image widget, convert it to a lightweight image, e.g. webp, jpeg, webp;50, etc.' ,
400+ category : [ 'Comfy' , 'Node Widget' , 'PreviewFormat' ] ,
401+ name : 'Preview image format' ,
402+ tooltip :
403+ 'When displaying a preview in the image widget, convert it to a lightweight image, e.g. webp, jpeg, webp;50, etc.' ,
398404 type : 'text' ,
399405 defaultValue : ''
400406 } )
401407
402408 this . settings . addSetting ( {
403409 id : 'Comfy.DisableSliders' ,
410+ category : [ 'Comfy' , 'Node Widget' , 'DisableSliders' ] ,
404411 name : 'Disable node widget sliders' ,
405412 type : 'boolean' ,
406413 defaultValue : false
407414 } )
408415
409416 this . settings . addSetting ( {
410417 id : 'Comfy.DisableFloatRounding' ,
411- name : 'Disable rounding floats (requires page reload).' ,
418+ category : [ 'Comfy' , 'Node Widget' , 'DisableFloatRounding' ] ,
419+ name : 'Disable default float widget rounding.' ,
420+ tooltip :
421+ '(requires page reload) Cannot disable round when round is set by the node in the backend.' ,
412422 type : 'boolean' ,
413423 defaultValue : false
414424 } )
415425
416426 this . settings . addSetting ( {
417427 id : 'Comfy.FloatRoundingPrecision' ,
418- name : 'Decimal places [0 = auto] (requires page reload).' ,
428+ category : [ 'Comfy' , 'Node Widget' , 'FloatRoundingPrecision' ] ,
429+ name : 'Float widget rounding decimal places [0 = auto].' ,
430+ tooltip : '(requires page reload)' ,
419431 type : 'slider' ,
420432 attrs : {
421433 min : 0 ,
@@ -427,6 +439,7 @@ export class ComfyUI {
427439
428440 this . settings . addSetting ( {
429441 id : 'Comfy.EnableTooltips' ,
442+ category : [ 'Comfy' , 'Node' , 'EnableTooltips' ] ,
430443 name : 'Enable Tooltips' ,
431444 type : 'boolean' ,
432445 defaultValue : true
0 commit comments