Commit Graph

12811 Commits

Author SHA1 Message Date
bd16dc4479 feat(ui): updated layer list component styling 2024-08-30 22:18:48 +10:00
49371ddec9 feat(ui): transformable layers 2024-08-30 22:18:48 +10:00
6a10d31b19 feat(ui): move tool icon is pointer like in other apps 2024-08-30 22:18:48 +10:00
c951e733d3 feat(ui): do not floor cursor position 2024-08-30 22:18:48 +10:00
7ed24cf847 feat(ui): disable gallery hotkeys while staging 2024-08-30 22:18:48 +10:00
821b7a0435 feat(ui): revised canvas progress & staging image handling 2024-08-30 22:18:48 +10:00
1b0344c412 feat(ui): show queue item origin in queue list 2024-08-30 22:18:48 +10:00
03ca3c4b3d chore(ui): typegen 2024-08-30 22:18:48 +10:00
b939192b16 feat(app): add origin to session queue
The origin is an optional field indicating the queue item's origin. For example, "canvas" when the queue item originated from the canvas or "workflows" when the queue item originated from the workflows tab. If omitted, we assume the queue item originated from the API directly.

- Add migration to add the nullable column to the `session_queue` table.
- Update relevant event payloads with the new field.
- Add `cancel_by_origin` method to `session_queue` service and corresponding route. This is required for the canvas to bail out early when staging images.
- Add `origin` to both `SessionQueueItem` and `Batch` - it needs to be provided initially via the batch and then passed onto the queue item.
-
2024-08-30 22:18:48 +10:00
7ccf559a06 fix(ui): denoise start on outpainting 2024-08-30 22:18:48 +10:00
9eb091f873 feat(ui): add redux events for queue cleared & batch enqueued socket events 2024-08-30 22:18:48 +10:00
3bd5521641 feat(ui): canvas staging area works 2024-08-30 22:18:48 +10:00
ced748e419 feat(ui): switch to view tool when staging 2024-08-30 22:18:48 +10:00
fbd137da9f tidy(ui): disable preview images on every enqueue 2024-08-30 22:18:48 +10:00
03baebced6 feat(ui): rough out save staging image 2024-08-30 22:18:48 +10:00
cb19c1c370 feat(ui): staging area image visibility toggle 2024-08-30 22:18:47 +10:00
788bad61d0 fix(ui): batch building after removing canvas files 2024-08-30 22:18:47 +10:00
8f5f9bd44e feat(ui): make Graph class's getMetadataNode public 2024-08-30 22:18:47 +10:00
2873e3e084 tidy(ui): remove old canvas graphs 2024-08-30 22:18:47 +10:00
b004f17ae3 fix(ui): do not select already-selected entity 2024-08-30 22:18:47 +10:00
bea1e8c99b tidy(ui): naming things 2024-08-30 22:18:47 +10:00
111493223f tidy(ui): file organisation 2024-08-30 22:18:47 +10:00
0a5ac2baec fix(ui): reset cursor pos when fitting document 2024-08-30 22:18:47 +10:00
eec3c3b884 feat(ui): staging area works more better 2024-08-30 22:18:47 +10:00
07b72c3d70 feat(ui): staging area barely works 2024-08-30 22:18:47 +10:00
766e8c4eb0 feat(ui): consolidate konva API 2024-08-30 22:18:47 +10:00
57c257d10d feat(ui): consolidate konva API 2024-08-30 22:18:47 +10:00
d497da0e61 feat(ui): staging area (rendering wip) 2024-08-30 22:18:47 +10:00
62310e7929 tidy(ui): type "Dimensions" -> "Size" 2024-08-30 22:18:47 +10:00
d79aa173a6 feat(ui): add updateNode to Graph 2024-08-30 22:18:47 +10:00
fbfdd3e003 feat(ui): sdxl graphs 2024-08-30 22:18:47 +10:00
a62b4a26ef feat(ui): sd1 outpaint graph 2024-08-30 22:18:47 +10:00
817d4168c6 tests(ui): add missing tests for Graph class 2024-08-30 22:18:47 +10:00
7e0a6d1538 feat(ui): add Graph.getid() util 2024-08-30 22:18:47 +10:00
ebc498ad19 feat(ui): outpaint graph, organize builder a bit 2024-08-30 22:18:47 +10:00
b97b8c6ce6 feat(ui): inpaint sd1 graph 2024-08-30 22:18:47 +10:00
b8abff65a1 feat(ui): temp disable image caching while testing 2024-08-30 22:18:47 +10:00
a953dc1dbd feat(ui): txt2img & img2img graphs 2024-08-30 22:18:47 +10:00
a7c9848e99 feat(ui): minor change to canvas bbox state type 2024-08-30 22:18:47 +10:00
73a1449eaf feat(ui): simplified konva node to blob/imagedata utils 2024-08-30 22:18:47 +10:00
59f57ff542 feat(ui): node manager getter/setter 2024-08-30 22:18:47 +10:00
e9204b87e3 feat(ui): generation mode calculation, fudged graphs 2024-08-30 22:18:47 +10:00
7dd11bd60a feat(ui): add utils for getting images from canvas 2024-08-30 22:18:47 +10:00
275fc2ccf9 feat(ui): even more simplified API - lean on the konva node manager to abstract imperative state API & rendering 2024-08-30 22:18:47 +10:00
a2ef8d9d47 feat(ui): revised docstrings for renderers & simplified api 2024-08-30 22:18:47 +10:00
196779ff19 feat(ui): inpaint mask UI components 2024-08-30 22:18:47 +10:00
aee3147365 feat(ui): inpaint mask rendering (wip) 2024-08-30 22:18:47 +10:00
eaca940956 fix(ui): models loaded handler 2024-08-30 22:18:47 +10:00
06006733e2 feat(ui): internal state for inpaint mask 2024-08-30 22:18:47 +10:00
14d0bfbef6 refactor(ui): divvy up canvas state a bit 2024-08-30 22:18:47 +10:00