InvokeAI/invokeai/app/invocations
psychedelicious bf94412d14 feat: add multi-select to gallery
multi-select actions include:
- drag to board to move all to that board
- right click to add all to board or delete all

backend changes:
- add routes for changing board for list of image names, deleting list of images
- change image-specific routes to `images/i/{image_name}` to not clobber other routes (like `images/upload`, `images/delete`)
- subclass pydantic `BaseModel` as `BaseModelExcludeNull`, which excludes null values when calling `dict()` on the model. this fixes inconsistent types related to JSON parsing null values into `null` instead of `undefined`
- remove `board_id` from `remove_image_from_board`

frontend changes:
- multi-selection stuff uses `ImageDTO[]` as payloads, for dnd and other mutations. this gives us access to image `board_id`s when hitting routes, and enables efficient cache updates.
- consolidate change board and delete image modals to handle single and multiples
- board totals are now re-fetched on mutation and not kept in sync manually - was way too tedious to do this
- fixed warning about nested `<p>` elements
- closes #4088 , need to handle case when `autoAddBoardId` is `"none"`
- add option to show gallery image delete button on every gallery image

frontend refactors/organisation:
- make typegen script js instead of ts
- enable `noUncheckedIndexedAccess` to help avoid bugs when indexing into arrays, many small changes needed to satisfy TS after this
- move all image-related endpoints into `endpoints/images.ts`, its a big file now, but this fixes a number of circular dependency issues that were otherwise felt impossible to resolve
2023-08-03 11:46:59 +10:00
..
__init__.py Run python black 2023-07-28 09:46:44 -04:00
baseinvocation.py Run python black 2023-07-28 09:46:44 -04:00
collections.py Run python black 2023-07-28 09:46:44 -04:00
compel.py Run python black 2023-07-28 09:46:44 -04:00
controlnet_image_processors.py Run python black 2023-07-28 09:46:44 -04:00
cv.py Run python black 2023-07-28 09:46:44 -04:00
generate.py Run python black 2023-07-28 09:46:44 -04:00
image.py Run python black 2023-07-28 09:46:44 -04:00
infill.py Run python black 2023-07-28 09:46:44 -04:00
latent.py Merge branch 'main' into feat/onnx 2023-07-28 09:59:35 -04:00
math.py Run python black 2023-07-28 09:46:44 -04:00
metadata.py feat: add multi-select to gallery 2023-08-03 11:46:59 +10:00
model.py Run python black 2023-07-28 09:46:44 -04:00
noise.py fix(nodes): fix seed modulus operation 2023-07-24 16:44:32 +10:00
onnx.py Run python black 2023-07-28 09:46:44 -04:00
param_easing.py Run python black 2023-07-28 09:46:44 -04:00
params.py fix: Black linting 2023-07-29 17:34:43 +12:00
prompt.py Run python black 2023-07-28 09:46:44 -04:00
sdxl.py Black format 2023-07-28 07:49:29 -07:00
upscale.py Run python black 2023-07-28 09:46:44 -04:00