psychedelicious
daa0064947
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
ea062ab01a
feat(ui): add bookmark for quick switch
2024-09-06 22:56:24 +10:00
psychedelicious
0c81a435f4
fix(ui): force dims on scaled bbox when manual scaling + locked aspect ratio
...
Closes #5590
2024-09-06 22:56:24 +10:00
psychedelicious
be7254dbf8
feat(ui): "Control Layers" -> "Layers"
2024-09-06 22:56:24 +10:00
psychedelicious
f49cee976d
feat(ui): "IP Adapter" -> "Global IP Adapter"
2024-09-06 22:56:24 +10:00
psychedelicious
c246fc98b3
tidy(ui): canvas hotkey hooks
2024-09-06 22:56:24 +10:00
psychedelicious
45e155d392
feat(ui): add alt+[ and alt+] hotkeys to cycle through layers
2024-09-06 22:56:24 +10:00
psychedelicious
c82e17916f
feat(ui): add layer quick switch
...
Q toggles between the last-selected layers.
2024-09-06 22:56:24 +10:00
psychedelicious
d9359bac23
feat(ui): bbox hotkey is c
2024-09-06 22:56:24 +10:00
psychedelicious
ae65f89999
fix(ui): select nonexistent entity
2024-09-06 22:56:24 +10:00
psychedelicious
dd8b25260d
feat(ui): brush & eraser width ui/ux
...
Use same pattern as canvas scale & opacity sliders w/ scaled slider values for precision at low values.
2024-09-06 22:56:24 +10:00
psychedelicious
4f76f5f848
tidy(ui): canvas scale & entity opacity sliders
2024-09-06 22:56:24 +10:00
psychedelicious
3cdc5d869f
feat(ui): hotkeys for brush/eraser size
2024-09-06 22:56:24 +10:00
psychedelicious
19aa747b8f
feat(ui): use default IP adapter when creating IP adapter
2024-09-06 22:56:24 +10:00
psychedelicious
e20ae31d96
tidy(ui): organise files
2024-09-06 22:56:24 +10:00
psychedelicious
09fd415527
feat(ui): remove object count from entity title
...
This was used for troubleshooting only.
2024-09-06 22:56:24 +10:00
psychedelicious
50768a957e
tidy(ui): misc cleanup
2024-09-06 22:56:24 +10:00
psychedelicious
3942e2a501
docs(ui): docstrings for classes (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
1a51842277
feat(ui): revised canvas module base class
...
Big cleanup. Makes these classes easier to implement, lots of comments and docstrings to clarify how it all works.
- Add default implementations for `destroy`, `repr` and `getLoggingContext`
- Tidy individual module configs
- Update `CanvasManager.buildLogger` to accept a canvas module as the arg
- Add `CanvasManager.buildPath`
2024-09-06 22:56:24 +10:00
psychedelicious
d001a36e14
feat(ui): split canvas tool previews into modules
2024-09-06 22:56:24 +10:00
psychedelicious
8c65f60e7d
fix(ui): reject on dataURLToImageData
2024-09-06 22:56:24 +10:00
psychedelicious
d48ce8168e
fix(ui): correctly set last cursor pos to null
2024-09-06 22:56:24 +10:00
psychedelicious
81bfd4cc08
feat(ui): remove entity list context menu (again)
...
stupid events
2024-09-06 22:56:24 +10:00
psychedelicious
65f1944a93
fix(ui): entity groups not collapsing
2024-09-06 22:56:24 +10:00
psychedelicious
bb994751ee
fix(ui): entity opacity number input focus prevents slider from opening
2024-09-06 22:56:24 +10:00
psychedelicious
f3aad7a494
feat(ui): add merge visible for raster and inpaint mask layers
...
I don't think it makes sense to merge control layers or regional guidance layers because they have additional state.
2024-09-06 22:56:24 +10:00
psychedelicious
80a69e0867
fix(ui): save to gallery rect too large
...
Was including all layer types in the rect - only want the raster layers.
2024-09-06 22:56:24 +10:00
psychedelicious
e2f2bdbbc2
fix(ui): canvasToBlob not raising error correctly
2024-09-06 22:56:24 +10:00
psychedelicious
ecda2b1681
feat(ui): add save to gallery button
2024-09-06 22:56:24 +10:00
psychedelicious
d00e006784
fix(ui): fix getRectUnion util, add some tests
2024-09-06 22:56:24 +10:00
psychedelicious
9a6411f2c8
fix(ui): modals not staying open
...
TBH not sure exactly why this broke. Fixed by rollback back the use of a render prop in favor of global state. Also revised the API of `useBoolean` and `buildUseBoolean`.
2024-09-06 22:56:24 +10:00
psychedelicious
b05b0281af
fix(ui): correct labels for generation tab origin
2024-09-06 22:56:24 +10:00
psychedelicious
fb9bce6636
fix(ui): context menu doesn't work for new entities
...
I do not understand why this fixes the issue, doesn't seem like it should. But it does.
2024-09-06 22:56:24 +10:00
psychedelicious
92eebd6aaf
tidy(ui): organise tool module
2024-09-06 22:56:24 +10:00
psychedelicious
4484981c97
fix(ui): staging hotkeys enabled at wrong times
2024-09-06 22:56:24 +10:00
psychedelicious
8cff753c81
fix(ui): incorrect batch origin preventing progress/staging
2024-09-06 22:56:24 +10:00
psychedelicious
b5681f1657
feat(ui): restore minimal HUD
2024-09-06 22:56:24 +10:00
psychedelicious
abb74fa664
feat(ui): remove unused asPreview for StageComponent
2024-09-06 22:56:24 +10:00
psychedelicious
ff88536b4a
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
e8335fe7c4
feat(ui): revise generation mode logic
...
- Canvas generation mode is replace with a boolean `sendToCanvas` flag. When off, images generated on the canvas go to the gallery. When on, they get added to the staging area.
- When an image result is received, if its destination is the canvas, staging is automatically started.
- Updated queue list to show the destination column.
- Added `IconSwitch` component to represent binary choices, used for the new `sendToCanvas` flag and image viewer toggle.
- Remove the queue actions menu in `QueueControls`. Move the queue count badge to the cancel button.
- Redo layout of `QueueControls` to prevent duplicate queue count badges.
- Fix issue where gallery and options panels could show thru transparent regions of queue tab.
- Disable panel hotkeys when on mm/queue tabs.
2024-09-06 22:56:24 +10:00
psychedelicious
749ff3eb71
chore(ui): typegen
2024-09-06 22:56:24 +10:00
psychedelicious
bbdbe36ada
tidy(ui): ViewerToggleMenu -> ViewerToggle
2024-09-06 22:56:24 +10:00
psychedelicious
fca09d79cc
feat(ui): alt quick switches to color picker
2024-09-06 22:56:24 +10:00
psychedelicious
719cc12d82
feat(ui): tweak add entity button layout
2024-09-06 22:56:24 +10:00
psychedelicious
b8fed9a554
feat(ui): restore context menu for entity list
2024-09-06 22:56:24 +10:00
psychedelicious
e0ea8b72a6
feat(ui): add delete button to each layer
2024-09-06 22:56:24 +10:00
psychedelicious
df41564c4c
feat(ui): add + buttons to entity categories
2024-09-06 22:56:24 +10:00
psychedelicious
42ec07daad
feat(ui): tweak brush fill UI
2024-09-06 22:56:24 +10:00
psychedelicious
f33e3d63d5
feat(ui): do not select layer on staging accept
2024-09-06 22:56:24 +10:00
psychedelicious
451ee78f31
fix(ui): more fiddly queue count layout stuff
2024-09-06 22:56:24 +10:00