psychedelicious
0276dac38f
feat(ui): restore transparency effect for control layers
2024-09-06 22:56:24 +10:00
psychedelicious
ad92010778
feat(ui): add line simplification
...
This fixes some awkward issues where line segments stack up.
2024-09-06 22:56:24 +10:00
psychedelicious
d6fec0a0df
feat(ui): layer opacity via caching
2024-09-06 22:56:24 +10:00
psychedelicious
f358bb9364
fix(ui): discard selected staging image not all other images
2024-09-06 22:56:24 +10:00
psychedelicious
82b1d8dab8
feat(ui): move socket event handling out of redux
...
Download events and invocation status events (including progress images) are very frequent. There's no real need for these to pass through redux. Handling them outside redux is a significant performance win - far fewer store subscription calls, far fewer trips through middleware.
All event handling is moved outside middleware. Cleanup of unused actions and listeners to follow.
2024-09-06 22:56:24 +10:00
psychedelicious
5dda364b2c
fix(ui): rebase conflicts
2024-09-06 22:56:24 +10:00
psychedelicious
a0d644ac42
feat(ui): add canvas background style
2024-09-06 22:56:24 +10:00
psychedelicious
37198159c9
feat(ui): mask layers choose own opacity
2024-09-06 22:56:24 +10:00
psychedelicious
7170adf3a2
feat(ui): mask fill patterns
2024-09-06 22:56:24 +10:00
psychedelicious
706a3c8f2b
feat(ui): rough out eyedropper tool
...
It's a bit slow bc we are converting the stage to canvas on every mouse move. Also need to improve the visual but it works.
2024-09-06 22:56:24 +10:00
psychedelicious
384601898a
fix(ui): ip adapters work
2024-09-06 22:56:24 +10:00
psychedelicious
94eb5e638f
feat(ui): rename layers
2024-09-06 22:56:24 +10:00
psychedelicious
5629c54d55
feat(ui): revise entity menus
2024-09-06 22:56:24 +10:00
psychedelicious
1303396d0e
feat(ui): split control layers from raster layers for UI and internal state, same rendering as raster layers
2024-09-06 22:56:24 +10:00
psychedelicious
bcd5bcf8d7
feat(ui): implement cache for image rasterization, rip out some old controladapters code
2024-09-06 22:56:24 +10:00
psychedelicious
787a4422cb
feat(ui, app): use layer as control (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
534d4fa495
fix(ui): depth anything v2
2024-09-06 22:56:24 +10:00
psychedelicious
e6ebb0390e
fix(ui): staging area works
2024-09-06 22:56:24 +10:00
psychedelicious
af99238a96
feat(ui): dnd image into layer
2024-09-06 22:56:24 +10:00
psychedelicious
02ddfc5aac
feat(ui): clean up state, add mutex for image loading, add thumbnail loading
2024-09-06 22:56:24 +10:00
psychedelicious
6469cd6e24
tidy(ui): massive cleanup
...
- create a context for entity identifiers, massively simplifying UI for each entity int he list
- consolidate common redux actions
- remove now-unused code
2024-09-06 22:56:24 +10:00
psychedelicious
ac0cc91046
tidy(ui): remove unused code, initial image
2024-09-06 22:56:24 +10:00
psychedelicious
918254b600
tidy(ui): remove unused state & actions
2024-09-06 22:56:24 +10:00
psychedelicious
814c3bed09
feat(ui): region mask rendering
2024-09-06 22:56:24 +10:00
psychedelicious
02c2308938
fix(ui): brush preview fill for inpaint/region
2024-09-06 22:56:24 +10:00
psychedelicious
8df40d2d94
feat(ui): inpaint mask transform
2024-09-06 22:56:24 +10:00
psychedelicious
9117753a70
tidy(ui): more imperative naming
2024-09-06 22:56:24 +10:00
psychedelicious
f2ba9c5d20
tidy(ui): rename union CanvasEntity -> CanvasEntityState
2024-09-06 22:56:24 +10:00
psychedelicious
06d76ed362
feat(ui): split out object renderer
2024-09-06 22:56:24 +10:00
psychedelicious
0578bf0890
tidy(ui): rename canvas stuff
2024-09-06 22:56:24 +10:00
psychedelicious
8af572d502
feat(ui): typing for logging context
2024-09-06 22:56:24 +10:00
psychedelicious
054c3becc0
tidy(ui): remove layer scaling reducers
2024-09-06 22:56:24 +10:00
psychedelicious
1b9aeaaea0
feat(ui): revised logging and naming setup, fix staging area
2024-09-06 22:56:24 +10:00
psychedelicious
bd63cc0562
feat(ui): use nanoid(10) instead of uuidv4 for canvas
...
Shorter ids makes it much more readable
2024-09-06 22:56:24 +10:00
psychedelicious
67f06b2f6e
fix(ui): prevent flash when applying transform
2024-09-06 22:56:24 +10:00
psychedelicious
e54cc241cd
feat(ui): trying to fix flicker after transform
2024-09-06 22:56:24 +10:00
psychedelicious
cd09b49e77
feat(ui): wip transform mode
2024-09-06 22:56:24 +10:00
psychedelicious
8a4b4ec4fe
feat(ui): wip transform mode
2024-09-06 22:56:24 +10:00
psychedelicious
906d70b495
wip
2024-09-06 22:56:24 +10:00
psychedelicious
d19479941d
feat(ui): move tool now only moves
2024-09-06 22:56:24 +10:00
psychedelicious
820adec14a
feat(ui): layer bbox calc in worker
2024-09-06 22:56:24 +10:00
psychedelicious
fd42c82c83
feat(ui): use position and dimensions instead of separate x,y,width,height attrs
2024-09-06 22:56:24 +10:00
psychedelicious
90f7e4851e
feat(ui): rename types size and position to dimensions and coordinate
2024-09-06 22:56:24 +10:00
psychedelicious
ae5e7845bb
feat(ui): update staging handling to work w/ cropped mask
2024-09-06 22:56:24 +10:00
psychedelicious
59ff96a085
feat(ui): use new canvas output node
2024-09-06 22:56:24 +10:00
psychedelicious
433b9d6380
feat(ui): rip out document size
...
barely knew ye
2024-09-06 22:56:24 +10:00
psychedelicious
6e4dc2a69a
fix(ui): reset initial image when resetting canvas
2024-09-06 22:56:24 +10:00
psychedelicious
d4a0e7899b
feat(ui): rough out img2img on canvas
2024-09-06 22:56:24 +10:00
psychedelicious
115d938e8e
feat(ui): make documnet size a rect
2024-09-06 22:56:24 +10:00
psychedelicious
53b6959bd5
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 22:56:24 +10:00