zixaphir / Stable-Diffusion-Webui-Civitai-Helper

Stable Diffusion Webui Extension for Civitai, to manage your model much more easily.
175 stars 24 forks source link

QoL request: "show folders" checkbox needs a re-think #15

Closed ewebgh33 closed 7 months ago

ewebgh33 commented 9 months ago

## Have you read document? Yes

## Have you checked console log window's msg? Yes

## Describe Issue More of a feature request / QoL than an issue! TL;DR, scroll down to the bold+italic text below.

There is a checkbox labelled "Show dirs"...

I thought the "Show Dirs" checkbox would help me organize Loras into categories, but no such luck.

When selecting "show dirs", currently it makes a button/shortcut for ALL folders AND subfolders. Doesn't sound so bad... yet....

Now, I (like others?) keep each Lora in it's own folder. This is neat. Inside each is the lora (safetensors etc), the info, preview thumbnail, and also a lot of example of what the Lora does.

But I also sort Loras into categories. EG, Loras for artist styles, loras for detail helpers, loras for concepts, etc. Some also have a 2nd (3rd? Depends how you count) level. Eg

and so on. As you can see, some branches have 1 level, some have 2 and some have 3.

When we tick on "show folders", it shows the top level, then sub 1 and sub 2, but also a folder for every lora inside every category! There's a button for every single lora - not just organisation folders. We don't need a folder button for the individual Loras, as the model cards are visible. But we should keep the buttons for top level directories.

Is there a way we can show folders, and however many subfolders, but NOT the folder of an individual lora? I realise this is tricky. I have a small coding ability but this is beyond me.

It would need to travel the folder tree and all branches, but then remove from it's list any folder of an individual lora. Obviously filtering by "1 level" or "2 levels" doesn't work, when some branches only have 1 level and some have 2. If you filtered 2 levels, then we'd still get all the individual lora folders from branches that only had one level.

Worst case - I would like to see a checkbox to limit folder shortcut buttons to "top level only" and I'll flatten my folder tree. Even that would be an improvement.

Hope you agree this could be helpful. A lot of us have... a LOT of Loras and stuff. Thanks!

## Screenshot for UI issue N/A

## Console log's msg or screenshot for function issue N/A