Commit Graph

13229 Commits

Author SHA1 Message Date
db885aa180 fix(ui): respect image size in staging preview 2024-08-30 22:18:49 +10:00
c18fb980a2 tidy(ui): cleanup after events change 2024-08-30 22:18:49 +10:00
b630dbdf20 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-08-30 22:18:49 +10:00
29ac1b5e01 fix(ui): rebase conflicts 2024-08-30 22:18:49 +10:00
506d3b079e fix(ui): update compositing rect when fill changes 2024-08-30 22:18:49 +10:00
0670e6b53a feat(ui): add canvas background style 2024-08-30 22:18:49 +10:00
76124ea35b feat(ui): mask layers choose own opacity 2024-08-30 22:18:49 +10:00
6eae3470cd feat(ui): mask fill patterns 2024-08-30 22:18:49 +10:00
c7ba7ac876 build(ui): add vite types to tsconfig 2024-08-30 22:18:49 +10:00
edc733abd9 fix(ui): do not smooth pixel data when using eyeDropper 2024-08-30 22:18:49 +10:00
a56ded664e tidy(ui): tool components & translations 2024-08-30 22:18:49 +10:00
31ace5fb0c 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-08-30 22:18:49 +10:00
11010236b3 fix(ui): ip adapters work 2024-08-30 22:18:49 +10:00
5f061ac1e2 feat(ui): rename layers 2024-08-30 22:18:49 +10:00
72919fa34e feat(ui): revise entity menus 2024-08-30 22:18:49 +10:00
d5ca99fc3c feat(ui): split control layers from raster layers for UI and internal state, same rendering as raster layers 2024-08-30 22:18:49 +10:00
e49b72ee4e feat(ui): implement cache for image rasterization, rip out some old controladapters code 2024-08-30 22:18:49 +10:00
abe8db8154 feat(ui, app): use layer as control (wip) 2024-08-30 22:18:49 +10:00
e0e5941384 feat(ui): add contextmenu for canvas entities 2024-08-30 22:18:49 +10:00
86e1f4e8b0 feat(ui): more better logging & naming 2024-08-30 22:18:49 +10:00
447d873ef0 feat(ui): better logging w/ path 2024-08-30 22:18:49 +10:00
b21d613ce4 feat(ui): always show marks on canvas scale slider 2024-08-30 22:18:49 +10:00
fc91adb32f fix(ui): do not import button from chakra 2024-08-30 22:18:49 +10:00
71885db5fd fix(ui): scaled bbox preview 2024-08-30 22:18:49 +10:00
b88d14b3df feat(ui): tidy up atoms 2024-08-30 22:18:49 +10:00
d98d35a8a8 feat(ui): convert all my pubsubs to atoms
its the same but better
2024-08-30 22:18:49 +10:00
87bc0ebd73 feat(ui): add trnalsation 2024-08-30 22:18:49 +10:00
7b6ba3f690 fix(ui): give up on thumbnail loading, causes flash during transformer 2024-08-30 22:18:49 +10:00
b0d8948428 fix(ui): depth anything v2 2024-08-30 22:18:49 +10:00
b32d681cee tidy(ui): remove unused code, comments 2024-08-30 22:18:49 +10:00
11a66d1d09 fix(ui): staging area works 2024-08-30 22:18:49 +10:00
e41987f08c feat(nodes): temp disable canvas output crop 2024-08-30 22:18:49 +10:00
34b57ec188 fix(ui): max scale 1 when reset view 2024-08-30 22:18:49 +10:00
d74843be31 feat(ui): better scale changer component, reset view functionality 2024-08-30 22:18:49 +10:00
1216c6f9c9 fix(ui): img2img 2024-08-30 22:18:49 +10:00
865b6017d3 feat(ui): add manual scale controls 2024-08-30 22:18:49 +10:00
922a021821 fix(ui): do not await clearBuffer 2024-08-30 22:18:49 +10:00
0b5f4cac57 feat(ui): dnd image into layer 2024-08-30 22:18:49 +10:00
c988c58c63 fix(ui): do not await commitBuffer 2024-08-30 22:18:49 +10:00
ceb8cbf59e fix(ui): properly destroy entities in manager cleanup 2024-08-30 22:18:49 +10:00
52e9f43c46 tidy(ui): clearer component names for regional guidance 2024-08-30 22:18:49 +10:00
4e5e7761fc tidy(ui): clearer component names for ip adapter 2024-08-30 22:18:49 +10:00
9879999a65 tidy(ui): clearer component names for inpaint mask 2024-08-30 22:18:49 +10:00
bedaca70a3 tidy(ui): clearer component names for control adapters 2024-08-30 22:18:49 +10:00
2dd2225d2e feat(ui): simplify canvas list item headers 2024-08-30 22:18:49 +10:00
d82031eec1 fix(ui): ip adapter list item 2024-08-30 22:18:49 +10:00
e5f2860b74 tidy(ui): clean up unused logic 2024-08-30 22:18:49 +10:00
fa3560bb61 feat(ui): clean up state, add mutex for image loading, add thumbnail loading 2024-08-30 22:18:49 +10:00
9b23f6ce30 chore(ui): add async-mutex dep 2024-08-30 22:18:49 +10:00
5d6aa6cfd5 feat(ui): txt2img, img2img, inpaint & outpaint working 2024-08-30 22:18:49 +10:00