psychedelicious
2911de8d7b
perf(ui): memoize layeractionsmenu valid actions
2024-09-06 22:56:24 +10:00
psychedelicious
62037ce577
refactor(ui): decouple konva renderer from react
...
Subscribe to redux store directly, skipping all the react overhead.
With react in dev mode, a typical frame while using the brush tool on almost-empty canvas is reduced from ~7.5ms to ~3.5ms. All things considered, this still feels slow, but it's a massive improvement.
2024-09-06 22:56:24 +10:00
psychedelicious
e5bff7646a
feat(ui): clip lines to bbox
2024-09-06 22:56:24 +10:00
psychedelicious
ce4b1f7f8d
fix(ui): document fit positioning
2024-09-06 22:56:24 +10:00
psychedelicious
09bf3e7d29
feat(ui): document bounds overlay
2024-09-06 22:56:24 +10:00
psychedelicious
18d61c2408
tidy(ui): background layer
2024-09-06 22:56:24 +10:00
psychedelicious
efac5c8f06
refactor(ui): use "entity" instead of "data" for canvas
2024-09-06 22:56:24 +10:00
psychedelicious
dd9f71203d
feat(ui): brush size border radius = 1
2024-09-06 22:56:24 +10:00
psychedelicious
3b51509f18
fix(ui): canvas HUD doesn't interrupt tool
2024-09-06 22:56:24 +10:00
psychedelicious
324033bdf8
refactor(ui): split up canvas entity renderers, temp disable preview
2024-09-06 22:56:24 +10:00
psychedelicious
d5c32dc2e7
fix(ui): delete all layers button
2024-09-06 22:56:24 +10:00
psychedelicious
b8c8276645
fix(ui): ignore keyboard shortcuts in input/textarea elements
2024-09-06 22:56:24 +10:00
psychedelicious
c6bf9193e2
fix(ui): canvas entity ids getting clobbered
2024-09-06 22:56:24 +10:00
psychedelicious
17911ecf64
fix(ui): move lora followup fixes
2024-09-06 22:56:24 +10:00
psychedelicious
13bb45934c
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
54ba852e71
refactor(ui): move loras to canvas slice
2024-09-06 22:56:24 +10:00
psychedelicious
bc85ef6e65
fix(ui): layer is selected when added
2024-09-06 22:56:24 +10:00
psychedelicious
856b0f81d5
feat(ui): r to center & fit stage on document
2024-09-06 22:56:24 +10:00
psychedelicious
060fe11663
feat(ui): better HUD
2024-09-06 22:56:24 +10:00
psychedelicious
9dab54c1ed
fix(ui): always use current brush width when making straight lines
2024-09-06 22:56:24 +10:00
psychedelicious
0f7a422153
feat(ui): hold shift w/ brush to draw straight line
2024-09-06 22:56:24 +10:00
psychedelicious
058bf94c93
fix(ui): update bg on canvas resize
2024-09-06 22:56:24 +10:00
psychedelicious
1a0600772f
refactor(ui): better hud
2024-09-06 22:56:24 +10:00
psychedelicious
d54c18f8c3
refactor(ui): scaled tool preview border
2024-09-06 22:56:24 +10:00
psychedelicious
5fc0bc5136
refactor(ui): port remaining canvasV1 rendering logic to V2, remove old code
2024-09-06 22:56:24 +10:00
psychedelicious
6f0a2d1104
refactor(ui): fix more types
2024-09-06 22:56:24 +10:00
psychedelicious
9be3e0050d
refactor(ui): metadata recall (wip)
...
just enough let the app run
2024-09-06 22:56:24 +10:00
psychedelicious
11596e45d1
refactor(ui): undo/redo button temp fix
2024-09-06 22:56:24 +10:00
psychedelicious
ca3913a3c8
refactor(ui): fix renderer stuff
2024-09-06 22:56:24 +10:00
psychedelicious
a6c900ef83
refactor(ui): fix misc types
2024-09-06 22:56:24 +10:00
psychedelicious
209f9e26a0
refactor(ui): fix gallery stuff
2024-09-06 22:56:24 +10:00
psychedelicious
f9eb25b861
refactor(ui): fix delete image stuff
2024-09-06 22:56:24 +10:00
psychedelicious
a3a5e81fdb
refactor(ui): fix useIsReadyToEnqueue for new adapterType field
2024-09-06 22:56:24 +10:00
psychedelicious
0d73d9dfd3
refactor(ui): update generation tab graphs
2024-09-06 22:56:24 +10:00
psychedelicious
7cdea43a37
refactor(ui): add adapterType to ControlAdapterData
2024-09-06 22:56:24 +10:00
psychedelicious
638d16ce6e
refactor(ui): update components & logic to use new unified slice (again)
2024-09-06 22:56:24 +10:00
psychedelicious
9a860dbab5
refactor(ui): update components & logic to use new unified slice
2024-09-06 22:56:24 +10:00
psychedelicious
5c2a48bba8
refactor(ui): merge compositing, params into canvasV2 slice
2024-09-06 22:56:24 +10:00
psychedelicious
05338bdba3
refactor(ui): add scaled bbox state
2024-09-06 22:56:24 +10:00
psychedelicious
b32eeada1b
refactor(ui): update dnd/image upload
2024-09-06 22:56:24 +10:00
psychedelicious
acc1fefa77
refactor(ui): update size/prompts state
2024-09-06 22:56:24 +10:00
psychedelicious
a850ffa537
refactor(ui): rip out old control adapter implementation
2024-09-06 22:56:24 +10:00
psychedelicious
2bcb53fe03
refactor(ui): canvas v2 (wip)
...
fix entity count select
2024-09-06 22:56:24 +10:00
psychedelicious
94fc73ed95
refactor(ui): canvas v2 (wip)
...
delete unused file
2024-09-06 22:56:24 +10:00
psychedelicious
df9f998671
refactor(ui): canvas v2 (wip)
...
merge all canvas state reducers into one big slice (but with the logic split across files so it's not hell)
2024-09-06 22:56:24 +10:00
psychedelicious
be3ad43a07
refactor(ui): canvas v2 (wip)
...
Fix a few more components
2024-09-06 22:56:24 +10:00
psychedelicious
5aa155c39f
refactor(ui): canvas v2 (wip)
...
missed a spot
2024-09-06 22:56:24 +10:00
psychedelicious
c21a21c2aa
refactor(ui): canvas v2 (wip)
...
Redo all UI components for different canvas entity types
2024-09-06 22:56:24 +10:00
psychedelicious
91bcdc10eb
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
f18c8e2239
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00