Commit Graph

12919 Commits

Author SHA1 Message Date
psychedelicious
fca9cacc4e feat(app): add CanvasV2MaskAndCropInvocation & CanvasV2MaskAndCropOutput
This handles some masking and cropping that the canvas needs.
2024-09-06 21:27:35 +10:00
psychedelicious
fa7783972b fix(ui): restore nodes output tracking 2024-09-06 21:27:35 +10:00
psychedelicious
e50b4280f2 feat(ui): rip out document size
barely knew ye
2024-09-06 21:27:35 +10:00
psychedelicious
17c9ccfdb0 feat(ui): convert initial image to layer when starting canvas session 2024-09-06 21:27:35 +10:00
psychedelicious
d35af4c048 fix(ui): fix layer transparency calculation 2024-09-06 21:27:35 +10:00
psychedelicious
5fef9bbceb fix(ui): reset initial image when resetting canvas 2024-09-06 21:27:35 +10:00
psychedelicious
507acaa7c9 fix(ui): reset node executions states when loading workflow 2024-09-06 21:27:35 +10:00
psychedelicious
28eb9b62a8 fix(ui): entity display list 2024-09-06 21:27:35 +10:00
psychedelicious
061eeb809f feat(ui): img2img working 2024-09-06 21:27:35 +10:00
psychedelicious
0db5c6ac8e feat(ui): rough out img2img on canvas 2024-09-06 21:27:35 +10:00
psychedelicious
2fd6fd4624 UNDO ME WIP 2024-09-06 21:27:35 +10:00
psychedelicious
db67ae2de4 feat(ui): log invocation source id on socket event 2024-09-06 21:27:35 +10:00
psychedelicious
fedcebbe4d feat(ui): restore document size overlay renderer 2024-09-06 21:27:35 +10:00
psychedelicious
eaaeb356d7 feat(ui): make documnet size a rect 2024-09-06 21:27:35 +10:00
psychedelicious
0cddbc2420 refactor(ui): remove modular imagesize components
This is no longer necessary with canvas v2 and added a ton of extraneous redux actions when changing the image size. Also renamed to document size
2024-09-06 21:27:35 +10:00
psychedelicious
1b44520ff7 feat(ui): initialState is for generation mode 2024-09-06 21:27:35 +10:00
psychedelicious
ee4dc86c15 feat(ui): split out canvas entity list component 2024-09-06 21:27:35 +10:00
psychedelicious
cbc61daa56 feat(ui): hide bbox button when no canvas session active 2024-09-06 21:27:35 +10:00
psychedelicious
f1cd6a06ec tidy(ui): remove unused naming objects/utils
The canvas manager means we don't need to worry about konva node names as we never directly select konva nodes.
2024-09-06 21:27:35 +10:00
psychedelicious
70248b9684 feat(ui): split up tool chooser buttons
Prep for distinct toolbars for generation vs canvas modes
2024-09-06 21:27:35 +10:00
psychedelicious
0a5cf8ae42 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-09-06 21:27:35 +10:00
psychedelicious
4dc5b18671 feat(ui): "stagingArea" -> "session" 2024-09-06 21:27:35 +10:00
psychedelicious
daffb950c3 feat(ui): add reset button to canvas 2024-09-06 21:27:35 +10:00
psychedelicious
1a6ebb9606 feat(ui): add snapToRect util 2024-09-06 21:27:35 +10:00
psychedelicious
e397efb622 fix(ui): fiddle with control adapter filters
some jank still
2024-09-06 21:27:35 +10:00
psychedelicious
748cb0bb8d feat(ui): temp disable doc size overlay 2024-09-06 21:27:35 +10:00
psychedelicious
233a449e53 feat(ui): no animation on layer selection
Felt sluggish
2024-09-06 21:27:35 +10:00
psychedelicious
09ad8b6238 feat(ui): use canvas as source for control images (wip) 2024-09-06 21:27:35 +10:00
psychedelicious
778f703d3d fix(ui): control adapter translate & scale 2024-09-06 21:27:35 +10:00
psychedelicious
8234e4e168 tidy(ui): removed unused state related to non-buffered drawing 2024-09-06 21:27:35 +10:00
psychedelicious
08e588a6c4 feat(ui): control adapter image rendering 2024-09-06 21:27:35 +10:00
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