Commit Graph

8036 Commits

Author SHA1 Message Date
psychedelicious
0d3dfb8d0f feat(ui): do not floor cursor position 2024-09-06 21:27:34 +10:00
psychedelicious
65e1951f5d feat(ui): disable gallery hotkeys while staging 2024-09-06 21:27:34 +10:00
psychedelicious
fd6eb91f79 feat(ui): revised canvas progress & staging image handling 2024-09-06 21:27:34 +10:00
psychedelicious
2aea0f2ac5 feat(ui): show queue item origin in queue list 2024-09-06 21:27:34 +10:00
psychedelicious
e1b5aa7011 chore(ui): typegen 2024-09-06 21:27:34 +10:00
psychedelicious
cdc4d29745 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-09-06 21:27:34 +10:00
psychedelicious
5d00792e1f fix(ui): denoise start on outpainting 2024-09-06 21:27:34 +10:00
psychedelicious
1c334f3231 feat(ui): add redux events for queue cleared & batch enqueued socket events 2024-09-06 21:27:34 +10:00
psychedelicious
9ba3182d19 feat(ui): canvas staging area works 2024-09-06 21:27:34 +10:00
psychedelicious
285ad448d7 feat(ui): switch to view tool when staging 2024-09-06 21:27:34 +10:00
psychedelicious
e81fedba43 tidy(ui): disable preview images on every enqueue 2024-09-06 21:27:34 +10:00
psychedelicious
6a47f973b7 feat(ui): rough out save staging image 2024-09-06 21:27:34 +10:00
psychedelicious
7aa918cd46 feat(ui): staging area image visibility toggle 2024-09-06 21:27:34 +10:00
psychedelicious
183c9dd736 fix(ui): batch building after removing canvas files 2024-09-06 21:27:34 +10:00
psychedelicious
5621075cb7 feat(ui): make Graph class's getMetadataNode public 2024-09-06 21:27:34 +10:00
psychedelicious
b13d2087c2 tidy(ui): remove old canvas graphs 2024-09-06 21:27:34 +10:00
psychedelicious
89740af2ab fix(ui): do not select already-selected entity 2024-09-06 21:27:34 +10:00
psychedelicious
4329dfd128 tidy(ui): naming things 2024-09-06 21:27:34 +10:00
psychedelicious
bb18a82a9c tidy(ui): file organisation 2024-09-06 21:27:34 +10:00
psychedelicious
d073fe467d fix(ui): reset cursor pos when fitting document 2024-09-06 21:27:34 +10:00
psychedelicious
e37e885546 feat(ui): staging area works more better 2024-09-06 21:27:34 +10:00
psychedelicious
471ded85f7 feat(ui): staging area barely works 2024-09-06 21:27:34 +10:00
psychedelicious
e084655e69 feat(ui): consolidate konva API 2024-09-06 21:27:34 +10:00
psychedelicious
330acb55f4 feat(ui): consolidate konva API 2024-09-06 21:27:34 +10:00
psychedelicious
e1ace99e05 feat(ui): staging area (rendering wip) 2024-09-06 21:27:34 +10:00
psychedelicious
c0bfa07ea7 tidy(ui): type "Dimensions" -> "Size" 2024-09-06 21:27:34 +10:00
psychedelicious
f4fceac372 feat(ui): add updateNode to Graph 2024-09-06 21:27:34 +10:00
psychedelicious
c1f5345987 feat(ui): sdxl graphs 2024-09-06 21:27:34 +10:00
psychedelicious
05992130d0 feat(ui): sd1 outpaint graph 2024-09-06 21:27:34 +10:00
psychedelicious
9c646712e0 tests(ui): add missing tests for Graph class 2024-09-06 21:27:34 +10:00
psychedelicious
0edff49957 feat(ui): add Graph.getid() util 2024-09-06 21:27:34 +10:00
psychedelicious
0f709cb06a feat(ui): outpaint graph, organize builder a bit 2024-09-06 21:27:34 +10:00
psychedelicious
656dbbb9f1 feat(ui): inpaint sd1 graph 2024-09-06 21:27:34 +10:00
psychedelicious
9497a75c95 feat(ui): temp disable image caching while testing 2024-09-06 21:27:34 +10:00
psychedelicious
30c4ed87b5 feat(ui): txt2img & img2img graphs 2024-09-06 21:27:34 +10:00
psychedelicious
e839765ddc feat(ui): minor change to canvas bbox state type 2024-09-06 21:27:34 +10:00
psychedelicious
055737a6e8 feat(ui): simplified konva node to blob/imagedata utils 2024-09-06 21:27:34 +10:00
psychedelicious
fbc609230a feat(ui): node manager getter/setter 2024-09-06 21:27:34 +10:00
psychedelicious
46f86a54c1 feat(ui): generation mode calculation, fudged graphs 2024-09-06 21:27:34 +10:00
psychedelicious
70f5231020 feat(ui): add utils for getting images from canvas 2024-09-06 21:27:34 +10:00
psychedelicious
0ec0feed2c feat(ui): even more simplified API - lean on the konva node manager to abstract imperative state API & rendering 2024-09-06 21:27:34 +10:00
psychedelicious
60cd505ee1 feat(ui): revised docstrings for renderers & simplified api 2024-09-06 21:27:34 +10:00
psychedelicious
205a719649 feat(ui): inpaint mask UI components 2024-09-06 21:27:34 +10:00
psychedelicious
af7d222a1e feat(ui): inpaint mask rendering (wip) 2024-09-06 21:27:34 +10:00
psychedelicious
70f430f635 fix(ui): models loaded handler 2024-09-06 21:27:34 +10:00
psychedelicious
2a92a223f6 feat(ui): internal state for inpaint mask 2024-09-06 21:27:34 +10:00
psychedelicious
1ed43614c2 refactor(ui): divvy up canvas state a bit 2024-09-06 21:27:34 +10:00
psychedelicious
3a5295574f feat(ui): get region and base layer canvas to blob logic working 2024-09-06 21:27:34 +10:00
psychedelicious
475b1cb1b8 refactor(ui): node manager handles more tedious annoying stuff 2024-09-06 21:27:34 +10:00
psychedelicious
55260a886d feat(ui): use node manager for addRegions 2024-09-06 21:27:34 +10:00