psychedelicious
4a6d901a2b
feat(ui): "Control Layers" -> "Layers"
2024-09-05 22:41:00 +10:00
psychedelicious
2ea8f87d82
feat(ui): "IP Adapter" -> "Global IP Adapter"
2024-09-05 22:41:00 +10:00
psychedelicious
f4b654d37c
tidy(ui): canvas hotkey hooks
2024-09-05 22:41:00 +10:00
psychedelicious
7f4eab2400
feat(ui): add alt+[ and alt+] hotkeys to cycle through layers
2024-09-05 22:41:00 +10:00
psychedelicious
c7c32d67ea
feat(ui): add layer quick switch
...
Q toggles between the last-selected layers.
2024-09-05 22:41:00 +10:00
psychedelicious
571a5f9865
feat(ui): bbox hotkey is c
2024-09-05 22:41:00 +10:00
psychedelicious
784c3b0454
fix(ui): select nonexistent entity
2024-09-05 22:41:00 +10:00
psychedelicious
1b3d415c35
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-05 22:41:00 +10:00
psychedelicious
c43cc0814a
tidy(ui): canvas scale & entity opacity sliders
2024-09-05 22:41:00 +10:00
psychedelicious
f0332efdf3
feat(ui): hotkeys for brush/eraser size
2024-09-05 22:41:00 +10:00
psychedelicious
ff0109db52
feat(ui): use default IP adapter when creating IP adapter
2024-09-05 22:41:00 +10:00
psychedelicious
d0f8f3995f
tidy(ui): organise files
2024-09-05 22:41:00 +10:00
psychedelicious
4fd1d856b8
feat(ui): remove object count from entity title
...
This was used for troubleshooting only.
2024-09-05 22:41:00 +10:00
psychedelicious
7697525f04
tidy(ui): misc cleanup
2024-09-05 22:41:00 +10:00
psychedelicious
31fed50f11
docs(ui): docstrings for classes (wip)
2024-09-05 22:41:00 +10:00
psychedelicious
440a75fec6
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-05 22:41:00 +10:00
psychedelicious
72fd370ba6
feat(ui): split canvas tool previews into modules
2024-09-05 22:41:00 +10:00
psychedelicious
6f9085d2d9
fix(ui): reject on dataURLToImageData
2024-09-05 22:41:00 +10:00
psychedelicious
dd5de2dc95
fix(ui): correctly set last cursor pos to null
2024-09-05 22:41:00 +10:00
psychedelicious
0f9708373d
chore: release v4.2.9.dev10
2024-09-05 22:41:00 +10:00
psychedelicious
5f7e6379ad
feat(ui): remove entity list context menu (again)
...
stupid events
2024-09-05 22:41:00 +10:00
psychedelicious
26e9936240
fix(ui): entity groups not collapsing
2024-09-05 22:41:00 +10:00
psychedelicious
f863c08a55
chore: release v4.2.9.dev9
2024-09-05 22:41:00 +10:00
psychedelicious
ba7420c6e7
fix(ui): entity opacity number input focus prevents slider from opening
2024-09-05 22:41:00 +10:00
psychedelicious
263c251cb3
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-05 22:41:00 +10:00
psychedelicious
5f21d01f35
fix(ui): save to gallery rect too large
...
Was including all layer types in the rect - only want the raster layers.
2024-09-05 22:41:00 +10:00
psychedelicious
db333c1c6f
fix(ui): canvasToBlob not raising error correctly
2024-09-05 22:41:00 +10:00
psychedelicious
f6f077d0b8
feat(ui): add save to gallery button
2024-09-05 22:41:00 +10:00
psychedelicious
5dfa5c9a48
fix(ui): fix getRectUnion util, add some tests
2024-09-05 22:41:00 +10:00
psychedelicious
bfc4f4a88b
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-05 22:41:00 +10:00
psychedelicious
efb99695a7
fix(ui): correct labels for generation tab origin
2024-09-05 22:41:00 +10:00
psychedelicious
a72c38273c
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-05 22:41:00 +10:00
psychedelicious
7d06453086
tidy(ui): organise tool module
2024-09-05 22:41:00 +10:00
psychedelicious
35654c38dc
fix(ui): staging hotkeys enabled at wrong times
2024-09-05 22:41:00 +10:00
psychedelicious
e2fde5c152
fix(ui): incorrect batch origin preventing progress/staging
2024-09-05 22:41:00 +10:00
psychedelicious
35a74f99d0
feat(ui): restore minimal HUD
2024-09-05 22:41:00 +10:00
psychedelicious
48b4e00373
feat(ui): remove unused asPreview for StageComponent
2024-09-05 22:41:00 +10:00
psychedelicious
c51cdbec35
chore(ui): lint
2024-09-05 22:41:00 +10:00
psychedelicious
64ac64e9f6
chore: release v4.2.9.dev8
2024-09-05 22:41:00 +10:00
psychedelicious
550842fb61
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-05 22:41:00 +10:00
psychedelicious
647aae8dd1
chore(ui): typegen
2024-09-05 22:41:00 +10:00
psychedelicious
b18acdda6b
feat(app): add destination column to session_queue
...
The frontend needs to know where queue items came from (i.e. which tab), and where results are going to (i.e. send images to gallery or canvas). The `origin` column is not quite enough to represent this cleanly.
A `destination` column provides the frontend what it needs to handle incoming generations.
2024-09-05 22:41:00 +10:00
psychedelicious
f501e6ea29
tidy(ui): ViewerToggleMenu -> ViewerToggle
2024-09-05 22:41:00 +10:00
psychedelicious
c3eb691e57
feat(ui): alt quick switches to color picker
2024-09-05 22:41:00 +10:00
psychedelicious
39a004c20e
feat(ui): tweak add entity button layout
2024-09-05 22:41:00 +10:00
psychedelicious
6f5674659e
feat(ui): restore context menu for entity list
2024-09-05 22:41:00 +10:00
psychedelicious
bbfaa60821
feat(ui): add delete button to each layer
2024-09-05 22:41:00 +10:00
psychedelicious
9aa3ffffee
feat(ui): add + buttons to entity categories
2024-09-05 22:41:00 +10:00
psychedelicious
2b1d442269
feat(ui): tweak brush fill UI
2024-09-05 22:41:00 +10:00
psychedelicious
4433cd2749
feat(ui): do not select layer on staging accept
2024-09-05 22:40:59 +10:00