InvokeAI/invokeai/frontend/web/src/features/gallery
psychedelicious bf116927e1 feat(ui): clear features if image used by them is deleted
This handles the case when an image is deleted but is still in use in as eg an init image on canvas, or a control image. If we just delete the image, canvas/controlnet/etc may break (the image would just fail to load).

When an image is deleted, the app checks to see if it is in use in:
- Image to Image
- ControlNet
- Unified Canvas
- Node Editor

The delete dialog will always open if the image is in use anywhere, and the user is advised that deleting the image will reset the feature(s).

Even if the user has ticked the box to not confirm on delete, the dialog will still show if the image is in use somewhere.
2023-06-06 14:35:07 +10:00
..
components feat(ui): clear features if image used by them is deleted 2023-06-06 14:35:07 +10:00
hooks feat(ui): consolidate images slice 2023-05-28 20:19:56 -04:00
store feat(ui): improve handling for urls/metadata received 2023-06-06 14:35:07 +10:00