Commit Graph

13351 Commits

Author SHA1 Message Date
psychedelicious
d4165317aa chore: release v4.2.9.dev12 v4.2.9.dev12 2024-09-05 22:41:00 +10:00
psychedelicious
92482bf50d fix(ui): missing translation 2024-09-05 22:41:00 +10:00
psychedelicious
0ad118f1e9 fix(ui): save to gallery uses auto-add board 2024-09-05 22:41:00 +10:00
psychedelicious
da6d0c139b fix(ui): cancel transform/filter when deleting entity 2024-09-05 22:41:00 +10:00
psychedelicious
3103b3e440 chore(ui): lint 2024-09-05 22:41:00 +10:00
psychedelicious
c9ac44b061 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-05 22:41:00 +10:00
psychedelicious
edfbf11a1c feat(ui): iterate on state flow and rendering 2024-09-05 22:41:00 +10:00
psychedelicious
4807657ac9 feat(ui): slight layout change for staging area toolbar 2024-09-05 22:41:00 +10:00
psychedelicious
e665ca0743 feat(ui): clean up adapter API 2024-09-05 22:41:00 +10:00
psychedelicious
6ec6d978ac feat(ui): streamlined state flow 2024-09-05 22:41:00 +10:00
psychedelicious
94da066d2d fix(ui): handle optimal dimension when resetting canvas 2024-09-05 22:41:00 +10:00
psychedelicious
78c070ade1 feat(ui): background and staging area modules have own store subscription and render themselves 2024-09-05 22:41:00 +10:00
psychedelicious
f587d236ed 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-05 22:41:00 +10:00
psychedelicious
129cd91267 feat(ui): restore size of invoke button 2024-09-05 22:41:00 +10:00
psychedelicious
8fb8916027 tidy(ui): remove unnecessary awaits in rendering module 2024-09-05 22:41:00 +10:00
psychedelicious
139cf29e32 tidy(ui): rename some classes to better represent their responsibilities 2024-09-05 22:41:00 +10:00
psychedelicious
7cc9aa5b99 feat(ui): abstract out CanvasEntityAdapterBase
Things were getting to complex to reason about & classes a bit complicated. Trying to simplify...
2024-09-05 22:41:00 +10:00
psychedelicious
a2ba8700d4 feat(ui): revise entity rendering flow 2024-09-05 22:41:00 +10:00
psychedelicious
facd007d1e tidy(ui): remove unused id on konva nodes 2024-09-05 22:41:00 +10:00
psychedelicious
f63aab9730 tidy(ui): remove commented code 2024-09-05 22:41:00 +10:00
psychedelicious
eb230feb57 tidy(ui): remove extraneous docstrings 2024-09-05 22:41:00 +10:00
psychedelicious
438fba478c feat(ui): clean up unused tool module state 2024-09-05 22:41:00 +10:00
psychedelicious
4b65891b65 tidy(ui): disable isDebugging flag on root component 2024-09-05 22:41:00 +10:00
psychedelicious
b3c2d4d4b2 fix(ui): unable to drag while transforming after switching tools 2024-09-05 22:41:00 +10:00
psychedelicious
d535ea6119 feat(ui): prevent layer interactions when transforming or filtering 2024-09-05 22:41:00 +10:00
psychedelicious
c4ab0c9c96 feat(ui): add compositeMaskedRegions setting 2024-09-05 22:41:00 +10:00
psychedelicious
4b79d54b4f tidy(ui): merge tool slice, sendToCanvas into settings slice 2024-09-05 22:41:00 +10:00
psychedelicious
9226165530 build(ui): add csstype dev dependency 2024-09-05 22:41:00 +10:00
psychedelicious
292770e188 feat(ui): clean up tool preview rendering 2024-09-05 22:41:00 +10:00
psychedelicious
3347094254 feat(ui): tool buttons are only disabled when currently selected 2024-09-05 22:41:00 +10:00
psychedelicious
491b049e12 feat(ui): better types on CanvasStateApiModule.getEntity 2024-09-05 22:41:00 +10:00
psychedelicious
6f8fac3f73 feat(ui): update default logging context path to be string 2024-09-05 22:41:00 +10:00
psychedelicious
96ecf492cc tidy(ui): mark canvas module attrs readonly 2024-09-05 22:41:00 +10:00
psychedelicious
22597f5e0e chore: release v4.2.9.dev11 2024-09-05 22:41:00 +10:00
psychedelicious
42e2812ed2 feat(ui): tidy stateApi atoms & add docstrings 2024-09-05 22:41:00 +10:00
psychedelicious
689dd24296 feat(ui): streamline manager -> react transform interface 2024-09-05 22:41:00 +10:00
psychedelicious
f2bb078a48 tidy(ui): remove unused $isProcessingTransform atom 2024-09-05 22:41:00 +10:00
psychedelicious
0ae1004520 docs(ui): docstrings for $canvasCache 2024-09-05 22:41:00 +10:00
psychedelicious
89f3a8b91b feat(ui): tweak bookmark verbiage 2024-09-05 22:41:00 +10:00
psychedelicious
3edef0fc73 feat(ui): move transformer state to nanostores
This provides some free reactivity for this canvas-manager-managed state.
2024-09-05 22:41:00 +10:00
psychedelicious
aa0942e527 fix(ui): transform should ignore konva filters (e.g. transparency effect) 2024-09-05 22:41:00 +10:00
psychedelicious
7145c91bd2 feat(ui): add fit to bbox as transform helper 2024-09-05 22:41:00 +10:00
psychedelicious
846a88c0b8 tidy(ui): transformer organisation 2024-09-05 22:41:00 +10:00
psychedelicious
abc75e6b1b fix(ui): disable merge visible when 1 or fewer layers of type 2024-09-05 22:41:00 +10:00
psychedelicious
dc6bd98266 feat(ui): brush preview opacity at 0.5 when drawing on mask 2024-09-05 22:41:00 +10:00
psychedelicious
8df9c43079 chore(ui): lint 2024-09-05 22:41:00 +10:00
psychedelicious
ef95fee63a fix(ui): edge cases in quick switch, simpler logic 2024-09-05 22:41:00 +10:00
psychedelicious
9674485723 chore(ui): lint 2024-09-05 22:41:00 +10:00
psychedelicious
0f70989f19 feat(ui): add bookmark for quick switch 2024-09-05 22:41:00 +10:00
psychedelicious
fa691fc8d0 fix(ui): force dims on scaled bbox when manual scaling + locked aspect ratio
Closes #5590
2024-09-05 22:41:00 +10:00