psychedelicious
eab1f50a6f
feat(ui): do not allow transform, filter or merge while staging
2024-09-06 22:56:24 +10:00
psychedelicious
6e346884e3
fix(ui): prevent stage scale/size from being invalid
2024-09-06 22:56:24 +10:00
psychedelicious
1c9fd1f19a
fix(ui): do not save filtered previews to gallery
2024-09-06 22:56:24 +10:00
psychedelicious
28385d06d1
feat(ui): filter UI layout
2024-09-06 22:56:24 +10:00
psychedelicious
12e6f1be89
feat(ui): revised entity list action bars
...
- Global action bar on top
- Selected Entity action bar below
2024-09-06 22:56:24 +10:00
psychedelicious
e1a66e22e9
feat(ui): fit bbox to stage on canvas reset
2024-09-06 22:56:24 +10:00
psychedelicious
b3569e5c0d
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
c64693fffd
feat(ui): reworked image context menu
...
- Add `Open in Viewer`
- Remove `Send to Image to Image`
- Fix `Send to Canvas`
- Split out logic for composability
2024-09-06 22:56:24 +10:00
psychedelicious
ce9f17726f
feat(ui): restore aspect ratio preview component
2024-09-06 22:56:24 +10:00
psychedelicious
5f62dc6699
fix(ui): transformer rendered behind layer objects
2024-09-06 22:56:24 +10:00
psychedelicious
07cb12eef7
feat(ui): inverted shift behavior for transformer
2024-09-06 22:56:24 +10:00
psychedelicious
9e9f465552
fix(ui): ignore filters when calculating bbox
2024-09-06 22:56:24 +10:00
psychedelicious
e148cc810b
feat(ui): cancel by destination, not origin
2024-09-06 22:56:24 +10:00
psychedelicious
160f54d1ea
chore(ui): typegen
2024-09-06 22:56:24 +10:00
psychedelicious
480856a528
feat(app): cancel by destination, not origin
...
When resetting the canvas or staging area, we don't want to cancel generations that are going to the gallery - only those going to the canvas.
Thus the method should not cancel by origin, but instead cancel by destination.
Update the queue method and route.
2024-09-06 22:56:24 +10:00
psychedelicious
97aad2ab2f
fix(ui): scaled size not correctly reset when canvas reset
2024-09-06 22:56:24 +10:00
psychedelicious
2b93dbd96a
feat(ui): use black bg when rasterizing control images
2024-09-06 22:56:24 +10:00
psychedelicious
ce4c79a8d9
fix(ui): ignore Konva filters when previewing filter
2024-09-06 22:56:24 +10:00
psychedelicious
151b4efd3f
fix(ui): filter preview accidentally committed to layer
2024-09-06 22:56:24 +10:00
psychedelicious
16806e5d8d
feat(ui): improved transparency effect
...
Use the min of each pixel's alpha value and lightness for the output alpha. This prevents artifacts when using the transparency effect, especially with non-black pixels with low alpha.
2024-09-06 22:56:24 +10:00
psychedelicious
8e01d295db
chore: release v4.2.9.dev12
2024-09-06 22:56:24 +10:00
psychedelicious
fd00e40ca7
fix(ui): missing translation
2024-09-06 22:56:24 +10:00
psychedelicious
029158ef3a
fix(ui): save to gallery uses auto-add board
2024-09-06 22:56:24 +10:00
psychedelicious
96b74f4a79
fix(ui): cancel transform/filter when deleting entity
2024-09-06 22:56:24 +10:00
psychedelicious
b1e85f8b60
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
aa418f0aba
feat(ui): iterate on state flow and rendering 2
...
- Rely on redux + reselect more
- Remove all nanostores that simply "mirrored" redux state in favor of direct subscriptions to redux store
- Add abstractions for creating redux subs and running selectors
- Add `initialize` method to CanvasModuleBase, for post-instantiation tasks
- Reduce local caching of state in modules to a minimum
2024-09-06 22:56:24 +10:00
psychedelicious
8b747b022b
feat(ui): iterate on state flow and rendering
2024-09-06 22:56:24 +10:00
psychedelicious
ed4b5dfac3
feat(ui): slight layout change for staging area toolbar
2024-09-06 22:56:24 +10:00
psychedelicious
b189937bc9
feat(ui): clean up adapter API
2024-09-06 22:56:24 +10:00
psychedelicious
e176e48fa3
feat(ui): streamlined state flow
2024-09-06 22:56:24 +10:00
psychedelicious
4931bdace5
fix(ui): handle optimal dimension when resetting canvas
2024-09-06 22:56:24 +10:00
psychedelicious
c3b52a1853
feat(ui): background and staging area modules have own store subscription and render themselves
2024-09-06 22:56:24 +10:00
psychedelicious
b201541cb0
feat(ui): make rendering methods not need args
...
They should pull from the entity's state directly. This allows more freedom with updating the canvas.
2024-09-06 22:56:24 +10:00
psychedelicious
ba54a05efd
feat(ui): restore size of invoke button
2024-09-06 22:56:24 +10:00
psychedelicious
6746870591
tidy(ui): remove unnecessary awaits in rendering module
2024-09-06 22:56:24 +10:00
psychedelicious
542844c6a3
tidy(ui): rename some classes to better represent their responsibilities
2024-09-06 22:56:24 +10:00
psychedelicious
4e5f4dadf2
feat(ui): abstract out CanvasEntityAdapterBase
...
Things were getting to complex to reason about & classes a bit complicated. Trying to simplify...
2024-09-06 22:56:24 +10:00
psychedelicious
1c15c2cb03
feat(ui): revise entity rendering flow
2024-09-06 22:56:24 +10:00
psychedelicious
a041f1f388
tidy(ui): remove unused id on konva nodes
2024-09-06 22:56:24 +10:00
psychedelicious
d0b62c88c9
tidy(ui): remove commented code
2024-09-06 22:56:24 +10:00
psychedelicious
0fd4dd4513
tidy(ui): remove extraneous docstrings
2024-09-06 22:56:24 +10:00
psychedelicious
4d3ed34232
feat(ui): clean up unused tool module state
2024-09-06 22:56:24 +10:00
psychedelicious
74de22349d
tidy(ui): disable isDebugging flag on root component
2024-09-06 22:56:24 +10:00
psychedelicious
18ad271225
fix(ui): unable to drag while transforming after switching tools
2024-09-06 22:56:24 +10:00
psychedelicious
f92730080c
feat(ui): prevent layer interactions when transforming or filtering
2024-09-06 22:56:24 +10:00
psychedelicious
f83b500645
feat(ui): add compositeMaskedRegions setting
2024-09-06 22:56:24 +10:00
psychedelicious
1349e73a1a
tidy(ui): merge tool slice, sendToCanvas into settings slice
2024-09-06 22:56:24 +10:00
psychedelicious
1fdb702557
build(ui): add csstype dev dependency
2024-09-06 22:56:24 +10:00
psychedelicious
4df531b7c0
feat(ui): clean up tool preview rendering
2024-09-06 22:56:24 +10:00
psychedelicious
a5a077964e
feat(ui): tool buttons are only disabled when currently selected
2024-09-06 22:56:24 +10:00