feat(ui): handle new image origin/category setup

- Update all thunks & network related things
- Update gallery

What I have not done yet is rename the gallery tabs and the relevant slices, but I believe the functionality is all there.

Also I fixed several bugs along the way but couldn't really commit them separately bc I was refactoring. Can't remember what they were, but related to the gallery image switching.
This commit is contained in:
psychedelicious
2023-05-27 21:46:03 +10:00
committed by Kent Keirsey
parent d78e3572e3
commit 29fcc92da9
29 changed files with 181 additions and 345 deletions

View File

@@ -64,7 +64,7 @@ export const buildImageToImageGraph = (state: RootState): Graph => {
model,
image: {
image_name: initialImage?.image_name,
image_type: initialImage?.image_type,
image_origin: initialImage?.image_origin,
},
};

View File

@@ -58,7 +58,7 @@ export const buildImg2ImgNode = (
imageToImageNode.image = {
image_name: initialImage.name,
image_type: initialImage.type,
image_origin: initialImage.type,
};
}

View File

@@ -51,7 +51,7 @@ export const buildInpaintNode = (
inpaintNode.image = {
image_name: initialImage.name,
image_type: initialImage.type,
image_origin: initialImage.type,
};
}