aae60d0cdc
feat(ui): add useAssertSingleton util hook
...
This simple hook asserts that it is only ever called once. Particularly useful for things like hotkeys hooks.
2024-08-23 19:46:03 +10:00
d4da00e607
feat(ui): "stagingArea" -> "session"
2024-08-23 19:46:03 +10:00
0c539ff00b
feat(ui): add reset button to canvas
2024-08-23 19:46:03 +10:00
5983cbf26c
feat(ui): add snapToRect util
2024-08-23 19:46:03 +10:00
c513d6e3af
fix(ui): fiddle with control adapter filters
...
some jank still
2024-08-23 19:46:03 +10:00
9d57c0e631
feat(ui): temp disable doc size overlay
2024-08-23 19:46:03 +10:00
a1923a8966
feat(ui): no animation on layer selection
...
Felt sluggish
2024-08-23 19:46:03 +10:00
d988e18731
feat(ui): use canvas as source for control images (wip)
2024-08-23 19:46:03 +10:00
51008da2dd
fix(ui): control adapter translate & scale
2024-08-23 19:46:03 +10:00
6ccc1f5672
tidy(ui): removed unused state related to non-buffered drawing
2024-08-23 19:46:03 +10:00
4a556f84e0
feat(ui): control adapter image rendering
2024-08-23 19:46:03 +10:00
2f21a2220d
fix(ui): do not floor bbox calc, it cuts off the last pixels
2024-08-23 19:46:03 +10:00
91a420b13e
feat(ui): fix issue where creating line needs 2 points
2024-08-23 19:46:03 +10:00
c27da3581b
fix(ui): edge cases when holding shift and drawing lines
2024-08-23 19:46:03 +10:00
961dfbce93
fix(ui): set buffered rect color to full alpha
2024-08-23 19:46:03 +10:00
df39c825ae
fix(ui): handle mouseup correctly
2024-08-23 19:46:03 +10:00
3f6ee1b7a4
feat(ui): buffered rect drawing
2024-08-23 19:46:03 +10:00
908e504a6f
fix(ui): buffered drawing edge cases
2024-08-23 19:46:03 +10:00
f2fa41afc5
perf(ui): do not use stage.find
2024-08-23 19:46:03 +10:00
440ff40ad5
perf(ui): object groups do not listen
2024-08-23 19:46:03 +10:00
5c15458e15
perf(ui): buffered drawing (wip)
2024-08-23 19:46:03 +10:00
be5b474f1e
tidy(ui): organise files
2024-08-23 19:46:03 +10:00
cee178c2b6
tidy(ui): organise files
2024-08-23 19:46:03 +10:00
27657f8b7a
tidy(ui): organise files
2024-08-23 19:46:03 +10:00
e0cde3815a
fix(ui): background rendering
2024-08-23 19:46:03 +10:00
09d0421de4
pkg(ui): remove unused deps react-konva & use-image
2024-08-23 19:46:03 +10:00
47b94d563c
feat(ui): organize konva state and files
2024-08-23 19:46:03 +10:00
0b5d20c9f0
fix(ui): merge conflicts in image deletion listener
2024-08-23 19:46:03 +10:00
80e7e1293a
fix(ui): region rendering
2024-08-23 19:46:03 +10:00
3a82b0cbc1
fix(ui): inpaint mask rendering
2024-08-23 19:46:03 +10:00
a27cbc13b6
fix(ui): staging area rendering
2024-08-23 19:46:03 +10:00
a8f962eb3f
fix(ui): stale selected entity
2024-08-23 19:46:03 +10:00
7f40d23f19
fix(ui): staging area image offset
2024-08-23 19:46:03 +10:00
918354cd9d
feat(ui): tweak layer ui component
2024-08-23 19:46:03 +10:00
eef9278ee6
fix(ui): resetting layer resets position
2024-08-23 19:46:03 +10:00
2c32e2e5c1
feat(ui): updated layer list component styling
2024-08-23 19:46:03 +10:00
6f05654db5
feat(ui): transformable layers
2024-08-23 19:46:03 +10:00
1d31b6902f
feat(ui): move tool icon is pointer like in other apps
2024-08-23 19:46:03 +10:00
5a7d615e64
feat(ui): do not floor cursor position
2024-08-23 19:46:03 +10:00
1dbf9e4ed4
feat(ui): disable gallery hotkeys while staging
2024-08-23 19:46:03 +10:00
5dcc6ee203
feat(ui): revised canvas progress & staging image handling
2024-08-23 19:46:03 +10:00
84a4e6ae3f
feat(ui): show queue item origin in queue list
2024-08-23 19:46:03 +10:00
f283bfd68f
chore(ui): typegen
2024-08-23 19:46:03 +10:00
6e5ff7b79c
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-23 19:46:03 +10:00
7c3800d03f
fix(ui): denoise start on outpainting
2024-08-23 19:46:03 +10:00
941db90518
feat(ui): add redux events for queue cleared & batch enqueued socket events
2024-08-23 19:46:03 +10:00
0d9ecf0f90
feat(ui): canvas staging area works
2024-08-23 19:46:03 +10:00
9c77023a11
feat(ui): switch to view tool when staging
2024-08-23 19:46:03 +10:00
b55378c63c
tidy(ui): disable preview images on every enqueue
2024-08-23 19:46:03 +10:00
946c2a49ab
feat(ui): rough out save staging image
2024-08-23 19:46:03 +10:00