Commit Graph

13391 Commits

Author SHA1 Message Date
psychedelicious
f8dadc8c0a chore: release v5.0.0.dev13 v5.0.0.dev13 2024-09-06 21:33:24 +10:00
psychedelicious
d421eaeff0 feat(ui): move seed out of advanced, hide HRF settings 2024-09-06 21:27:58 +10:00
psychedelicious
d434e80e99 chore(ui): lint 2024-09-06 21:27:58 +10:00
psychedelicious
918ed5c264 feat(ui): tweak padding on entity group header 2024-09-06 21:27:58 +10:00
psychedelicious
2f98c876df feat(ui): use plurals for entity group header hidden tooltip 2024-09-06 21:27:58 +10:00
psychedelicious
2b9f9f3d68 feat(ui): move delete entity button down to entity list item 2024-09-06 21:27:58 +10:00
psychedelicious
f326bfe1b0 feat(ui): add fit bbox to layers 2024-09-06 21:27:58 +10:00
psychedelicious
c57966ec38 fix(ui): tidy incorrect component name 2024-09-06 21:27:58 +10:00
psychedelicious
3c5bf48810 feat(ui): do not allow invoke while transforming or filtering 2024-09-06 21:27:58 +10:00
psychedelicious
c0db830398 feat(ui): do not allow transform, filter or merge while staging 2024-09-06 21:27:58 +10:00
psychedelicious
3e3e00b24d fix(ui): prevent stage scale/size from being invalid 2024-09-06 21:27:58 +10:00
psychedelicious
640af85c93 fix(ui): do not save filtered previews to gallery 2024-09-06 21:27:58 +10:00
psychedelicious
81060eef71 feat(ui): filter UI layout 2024-09-06 21:27:58 +10:00
psychedelicious
ea193903ee feat(ui): revised entity list action bars
- Global action bar on top
- Selected Entity action bar below
2024-09-06 21:27:58 +10:00
psychedelicious
5a251a4876 feat(ui): fit bbox to stage on canvas reset 2024-09-06 21:27:58 +10:00
psychedelicious
ce93fdd076 chore(ui): lint 2024-09-06 21:27:58 +10:00
psychedelicious
788e03fbc3 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 21:27:57 +10:00
psychedelicious
8cb1584379 feat(ui): restore aspect ratio preview component 2024-09-06 21:27:57 +10:00
psychedelicious
63a2b6cdfe fix(ui): transformer rendered behind layer objects 2024-09-06 21:27:57 +10:00
psychedelicious
b193bc7b14 feat(ui): inverted shift behavior for transformer 2024-09-06 21:27:57 +10:00
psychedelicious
dce488c691 fix(ui): ignore filters when calculating bbox 2024-09-06 21:27:57 +10:00
psychedelicious
615b09d453 feat(ui): cancel by destination, not origin 2024-09-06 21:27:57 +10:00
psychedelicious
1dd521a792 chore(ui): typegen 2024-09-06 21:27:57 +10:00
psychedelicious
f6a703c367 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 21:27:57 +10:00
psychedelicious
5a69b62a1a fix(ui): scaled size not correctly reset when canvas reset 2024-09-06 21:27:57 +10:00
psychedelicious
c4b9ba8e12 feat(ui): use black bg when rasterizing control images 2024-09-06 21:27:57 +10:00
psychedelicious
c04790158f fix(ui): ignore Konva filters when previewing filter 2024-09-06 21:27:57 +10:00
psychedelicious
a0ed7baf73 fix(ui): filter preview accidentally committed to layer 2024-09-06 21:27:57 +10:00
psychedelicious
f96148ca52 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 21:27:57 +10:00
psychedelicious
96786ed62b chore: release v4.2.9.dev12 2024-09-06 21:27:57 +10:00
psychedelicious
cc9cc62707 fix(ui): missing translation 2024-09-06 21:27:57 +10:00
psychedelicious
07cf5807be fix(ui): save to gallery uses auto-add board 2024-09-06 21:27:57 +10:00
psychedelicious
013414e962 fix(ui): cancel transform/filter when deleting entity 2024-09-06 21:27:57 +10:00
psychedelicious
10bba49e28 chore(ui): lint 2024-09-06 21:27:57 +10:00
psychedelicious
7888b4913a 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 21:27:57 +10:00
psychedelicious
27b00cedc5 feat(ui): iterate on state flow and rendering 2024-09-06 21:27:57 +10:00
psychedelicious
0bfdd5acb8 feat(ui): slight layout change for staging area toolbar 2024-09-06 21:27:57 +10:00
psychedelicious
6e6629ad74 feat(ui): clean up adapter API 2024-09-06 21:27:57 +10:00
psychedelicious
fe257e3e46 feat(ui): streamlined state flow 2024-09-06 21:27:57 +10:00
psychedelicious
0b1dc365d0 fix(ui): handle optimal dimension when resetting canvas 2024-09-06 21:27:57 +10:00
psychedelicious
c75a933b17 feat(ui): background and staging area modules have own store subscription and render themselves 2024-09-06 21:27:57 +10:00
psychedelicious
f1525c2a82 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 21:27:57 +10:00
psychedelicious
8266c10c53 feat(ui): restore size of invoke button 2024-09-06 21:27:57 +10:00
psychedelicious
34554f8555 tidy(ui): remove unnecessary awaits in rendering module 2024-09-06 21:27:57 +10:00
psychedelicious
200dbbbf55 tidy(ui): rename some classes to better represent their responsibilities 2024-09-06 21:27:57 +10:00
psychedelicious
5a30ff6045 feat(ui): abstract out CanvasEntityAdapterBase
Things were getting to complex to reason about & classes a bit complicated. Trying to simplify...
2024-09-06 21:27:57 +10:00
psychedelicious
73e8837d45 feat(ui): revise entity rendering flow 2024-09-06 21:27:57 +10:00
psychedelicious
6ba78e7632 tidy(ui): remove unused id on konva nodes 2024-09-06 21:27:57 +10:00
psychedelicious
736fabe327 tidy(ui): remove commented code 2024-09-06 21:27:57 +10:00
psychedelicious
ad53169eba tidy(ui): remove extraneous docstrings 2024-09-06 21:27:57 +10:00