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
a955ab6bee
chore: release v4.2.9.dev10
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
b68845f43f
chore: release v4.2.9.dev9
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
cb20c3b313
chore: release v4.2.9.dev8
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
6877db12c9
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-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
psychedelicious
65ea492a75
fix(ui): floating params panel invoke button loading state
2024-09-06 22:56:24 +10:00
psychedelicious
afb35d9717
feat(ui): move canvas undo/redo to hook
2024-09-06 22:56:24 +10:00
psychedelicious
f6624322d8
fix(ui): queue count badge positioning
2024-09-06 22:56:24 +10:00
psychedelicious
00a4504406
fix(ui): add node cmdk only enabled on workflows tab
2024-09-06 22:56:24 +10:00
psychedelicious
2d737f824c
chore: release v4.2.9.dev7
2024-09-06 22:56:24 +10:00
psychedelicious
174c136abc
fix(ui): pending node connection stuck
2024-09-06 22:56:24 +10:00
psychedelicious
eb4dcf4453
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
df6ee189db
chore: release v4.2.9.dev6
2024-09-06 22:56:24 +10:00
psychedelicious
d558aefcc7
feat(ui): migrate add node popover to cmdk
...
Put this together as a way to figure out the library before moving on to the full app cmdk. Works great.
2024-09-06 22:56:24 +10:00
psychedelicious
2adffc84d4
fix(ui): schema parsing now that node_pack is guaranteed to be present
2024-09-06 22:56:24 +10:00
psychedelicious
5b1035d64c
chore(ui): typegen
2024-09-06 22:56:24 +10:00
psychedelicious
da48a5d533
fix(app): node_pack not added to openapi schema correctly
2024-09-06 22:56:24 +10:00
psychedelicious
f22366a427
fix(ui): unnecessary z-index on invoke button
2024-09-06 22:56:24 +10:00
psychedelicious
7def35b1c0
feat(ui): split settings modal
2024-09-06 22:56:24 +10:00
psychedelicious
ace87948dd
perf(ui): disable useInert on modals
...
This hook forcibly updates _all_ portals with `data-hidden=true` when the modal opens - then reverts it when the modal closes. It's intended to help screen readers. Unfortunately, this absolutely tanks performance because we have many portals. React needs to do alot of layout calculations (not re-renders).
IMO this behaviour is a bug in chakra. The modals which generated the portals are hidden by default, so this data attr should really be set by default. Dunno why it isn't.
2024-09-06 22:56:24 +10:00