divamgupta / divamgupta/diffusionbee-stable-diffusion-ui

Housekeeping Suggestion

Open
#493 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.6k
Forks
727
PR merge metrics
No merged PRs in 30d

Description

A somewhat basic idea to improve the History as well as keep things a little tidy.

At present, using the Delete option in History will delete all images from DiffusionBee; however, the images will remain on the disk. There is also no option to delete individual images from the History.

This creates somewhat awkward situations where I may get several bad images in the batch I'd like to discard, but I'd like to keep the good ones. If I delete the bad images from the `images` folder, it just gives me a broken image in my history which is unappealing.

Suggestion: Under Actions in History, all Images have the "Delete" option. This will prompt an "are you sure you want to delete this image" prompt, and affirming your desire to delete the image will remove only that image from the History, and will also remove the file from the `images` folder. Additionally, using the current Delete option which deletes all images in the batch will similarly also remove the associated images from the `images` folder.

An alternative to the curated History might be to add a "Favorite Gallery" to History, which will save the image generation data for each image added to Favorites for later reference and use. Although in that case as well it would be helpful to have items deleted from History be automatically cleared from `images` so they don't end up bloating the folder size.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.