ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: hide the ".safetensors" file extension from nodes

Open ardri1166 opened this issue 1 year ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

Since the file extension ".safetensors" is so long, is it possible to hide the file extensions in all the nodes like Windows Explorer does? This would increase the general overview on smaller monitors as you can make the nodes smaller without loosing the model name. For reference I use a 27" screen and don't have the sharpest vision which means I need to crank up the zoom a bit in order to be able to read text properly and I'm probably not the only one.

This is how my the checkpoint loader looks with the nodes nicely aligned: image

And this is what I need to do to read the whole name: image

Proposed workflow

  1. Load any model (checkpoint, lora, upscaler etc.).
  2. Only display the name of the file without the ".safetensors" extension or any other file extension for that matter (though others are not as long and don't foul up the display so much).

Additional information

No response

ardri1166 avatar Aug 19 '24 06:08 ardri1166