Commit Graph

8063 Commits

Author SHA1 Message Date
psychedelicious
43f550e48b fix(ui): do not floor bbox calc, it cuts off the last pixels 2024-09-06 21:27:35 +10:00
psychedelicious
5663029ba6 feat(ui): fix issue where creating line needs 2 points 2024-09-06 21:27:35 +10:00
psychedelicious
0869e23dc1 fix(ui): edge cases when holding shift and drawing lines 2024-09-06 21:27:35 +10:00
psychedelicious
fc4779e095 fix(ui): set buffered rect color to full alpha 2024-09-06 21:27:35 +10:00
psychedelicious
1667603d1c fix(ui): handle mouseup correctly 2024-09-06 21:27:35 +10:00
psychedelicious
81b210cf14 feat(ui): buffered rect drawing 2024-09-06 21:27:35 +10:00
psychedelicious
ca5fde8ef5 fix(ui): buffered drawing edge cases 2024-09-06 21:27:35 +10:00
psychedelicious
fef88734d0 perf(ui): do not use stage.find 2024-09-06 21:27:35 +10:00
psychedelicious
aa1727d16f perf(ui): object groups do not listen 2024-09-06 21:27:35 +10:00
psychedelicious
7c1afb6493 perf(ui): buffered drawing (wip) 2024-09-06 21:27:35 +10:00
psychedelicious
64e7757872 tidy(ui): organise files 2024-09-06 21:27:35 +10:00
psychedelicious
3b08250331 tidy(ui): organise files 2024-09-06 21:27:35 +10:00
psychedelicious
cd02638db6 tidy(ui): organise files 2024-09-06 21:27:35 +10:00
psychedelicious
5109811182 fix(ui): background rendering 2024-09-06 21:27:35 +10:00
psychedelicious
33ba8cabd1 pkg(ui): remove unused deps react-konva & use-image 2024-09-06 21:27:35 +10:00
psychedelicious
dcac6028a2 feat(ui): organize konva state and files 2024-09-06 21:27:35 +10:00
psychedelicious
25ab435129 fix(ui): merge conflicts in image deletion listener 2024-09-06 21:27:35 +10:00
psychedelicious
cea5dc6216 fix(ui): region rendering 2024-09-06 21:27:35 +10:00
psychedelicious
bc525d29e1 fix(ui): inpaint mask rendering 2024-09-06 21:27:35 +10:00
psychedelicious
cdfe0ca150 fix(ui): staging area rendering 2024-09-06 21:27:35 +10:00
psychedelicious
bd679e018d fix(ui): stale selected entity 2024-09-06 21:27:35 +10:00
psychedelicious
a6ee18448a fix(ui): staging area image offset 2024-09-06 21:27:35 +10:00
psychedelicious
7d96b3e89e feat(ui): tweak layer ui component 2024-09-06 21:27:35 +10:00
psychedelicious
e6723f194a fix(ui): resetting layer resets position 2024-09-06 21:27:35 +10:00
psychedelicious
e55541ea87 feat(ui): updated layer list component styling 2024-09-06 21:27:35 +10:00
psychedelicious
2676ff8ee3 feat(ui): transformable layers 2024-09-06 21:27:34 +10:00
psychedelicious
f024fe4488 feat(ui): move tool icon is pointer like in other apps 2024-09-06 21:27:34 +10:00
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