InvokeAI/invokeai/frontend/web
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
..
.husky feat(ui): migrate theming to chakra ui 2023-03-06 20:03:39 +11:00
.yarn/releases all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
config build(ui): add style injection plugin 2023-05-12 17:56:18 +10:00
dist chore(ui): build 2023-04-15 20:45:17 +10:00
docs dummy commit to make github actions run 2023-06-04 22:55:35 +10:00
patches chore(ui): clean up unused files/packages 2023-05-15 22:48:06 +10:00
public/locales feat(ui): refactor parameter recall 2023-06-02 00:30:01 +10:00
src feat(ui): clear features if image used by them is deleted 2023-06-06 14:35:07 +10:00
tests Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
__init__.py Revert "Merge branch 'main' into bugfix/reenable-ckpt-conversion-to-ram" 2023-03-06 14:29:39 +13:00
.eslintignore Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
.eslintrc.js feat(ui): wip resizable pinnable drawer 2023-03-12 20:13:37 +11:00
.gitignore build(ui): add yalc to gitignore 2023-05-11 11:55:51 +10:00
.prettierignore Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
.prettierrc.js feat(ui): migrate theming to chakra ui 2023-03-06 20:03:39 +11:00
.yarnrc all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarnrc.yml all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
favicon.ico all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
index.html feat(ui): migrate theming to chakra ui 2023-03-06 20:03:39 +11:00
package.json chore(ui): bump react-icons 2023-06-04 22:34:58 +10:00
stats.html chore(ui): build 2023-04-15 20:45:17 +10:00
tsconfig.json build(ui): add style injection plugin 2023-05-12 17:56:18 +10:00
tsconfig.node.json build(ui): fix types exports 2023-04-28 21:56:43 +10:00
vite.config.ts build(ui): treeshake lodash via lodash-es 2023-04-28 21:56:43 +10:00
yarn.lock chore(ui): bump react-icons 2023-06-04 22:34:58 +10:00