psychedelicious
bdc2aec5a4
fix(ui): race condition causing infinite loop when deleting entity
2024-09-18 21:06:45 +03:00
psychedelicious
247517849c
fix(ui): remove duplicate alt+a hotkey
2024-09-18 21:06:45 +03:00
psychedelicious
8c524a74f0
fix(ui): disallow creating new layers while staging
2024-09-18 21:06:45 +03:00
psychedelicious
4468caf0b4
fix(ui): stage renders w/ tiny scaling artifacts
...
This was caused by allowing the stage to be set to fractional coordinates. For example, the stage might be positioned at `x: 142.22255, y: 488.79`.
When positioned like this, the canvas will be slightly misaligned with its native pixel grid. The browser does its best, but this causes tiny scaling artifacts throughout the image. It's most noticeable where there is a sharp contrast.
This behaviour was introduced while troubleshooting an issue with degraded quality when saving canvas to gallery. Turned out the stage position was unrelated to that issue, but I didn't realize that the change would cause this other type of problem.
The fix is super simple - ensure we floor stage coords when setting the manually. Konva never sets the position to fractional coordinates itself. For example, while dragging the stage, Konva sets the stage coordiantes itself, and they are always integers.
2024-09-18 21:06:45 +03:00
psychedelicious
657f32bdb5
chore(ui): lint (circular deps)
2024-09-18 21:06:45 +03:00
psychedelicious
ed7cfa73e4
feat(ui): show only raster layers while staging
...
This is expose as a setting int he settings popover. On by default for distraction-free staging.
2024-09-18 21:06:45 +03:00
psychedelicious
4f8782f616
fix(ui): hide scale method from HUD when disabled
2024-09-18 21:06:45 +03:00
Mary Hipp
ec7b6562cd
lint
2024-09-18 10:51:55 -04:00
Mary Hipp
7fc0dc6d9a
export hotkeys modal
2024-09-18 10:51:55 -04:00
psychedelicious
7db4d26837
feat(ui): rework progress event handling
...
- Canvas manages its own progress socket event listeners and progress event data.
- Remove cancellations listener jank.
- Dip into low-level redux subscription API to watch for queue status changes, clearing the last "global" progress event when the queue has nothing in progress. Could also do this in a useEffect I guess.
- Had to shuffle some things around to prevent circular imports, so there are a lot of tiny changes here.
2024-09-18 06:40:47 +03:00
psychedelicious
b08a66ecaf
feat(ui): add message about filters being canceled when clearing queue
2024-09-18 06:40:47 +03:00
psychedelicious
ccbe1b233d
feat(ui): rework queue controls
...
- Remove queue front button. Hold shift while clicking `Invoke` button to queue front.
- Restore queue menu actions w/ the reclaimed space.
- Simplify queue interaction hooks.
2024-09-18 06:40:47 +03:00
psychedelicious
7b9d8df1a7
feat(ui): use the new get_queue_counts_by_destination to control staging area
2024-09-18 06:40:47 +03:00
psychedelicious
bf3891092d
chore(ui): typegen
2024-09-18 06:40:47 +03:00
psychedelicious
929bda55d7
tidy(ui): remove save & copy functions for mask entities
...
Not 100% sure that the format these are in is correct just yet. Will restore once we support importing image masks.
2024-09-18 10:35:00 +10:00
Mary Hipp
0303ebad50
remove copy/save from layer UX and add it to layer context menu and action bar where appropriate; remove copy/save from IP adapter layers
2024-09-18 10:35:00 +10:00
Mary Hipp
fd2da6446a
fix variable name
2024-09-18 10:35:00 +10:00
Mary Hipp
4225b3efd0
missed translation
2024-09-18 10:35:00 +10:00
Mary Hipp
55e4fb5a0e
feat(ui): save layer to assets
2024-09-18 10:35:00 +10:00
Mary Hipp
8cd78f7f34
feat(ui): copy layer to clipboard
2024-09-18 10:35:00 +10:00
psychedelicious
bc683f955d
tidy(ui): update image usage names to match canvas v2
...
- "isControlAdapterImage" -> "isControlLayerImage"
- "isIPAdapterImage" -> "isReferenceImage"
2024-09-18 10:19:35 +10:00
Mary Hipp
32344b5170
update image usage check for canvas v2 layers and upscaling
2024-09-18 10:19:35 +10:00
psychedelicious
9884159812
fix(ui): dnd drop label errors w invalid DOM nesting
...
Make em all strings to prevent nesting `<p>` elements. Slightly changes appearance - font size is a bit smaller.
2024-09-18 09:55:50 +10:00
psychedelicious
c4541f5d3c
fix(ui): clear drawing buffer when resetting selected layer with shift+x
2024-09-18 09:55:50 +10:00
psychedelicious
3d1a04ccbf
feat(ui): default steps to 30
2024-09-17 15:44:20 +10:00
Mary Hipp
b05aafc999
lint:tsc
2024-09-17 15:44:20 +10:00
Mary Hipp
a03bf5b585
fix(ui): use 1024x1024 for optimal FLUX dimensions
2024-09-17 15:44:20 +10:00
Mary Hipp
d43b3ba5c6
fix(ui): add informational popover to guidance param
2024-09-17 15:44:20 +10:00
Mary Hipp
b7bc6ea426
fix(ui): disable FLUX models in upscale tab and show main model dropdown as invalid if its already selected
2024-09-17 15:44:20 +10:00
Mary Hipp
929c07a2bc
enhancement(ui): add graph util to abstract distinction of SD i2l and FLUX i2l nodes
2024-09-17 15:44:20 +10:00
Mary Hipp
a046883075
lints
2024-09-17 15:44:20 +10:00
Mary Hipp
9947ef2c95
feat(ui): disable layers that are not yet supported for FLUX: control layer, IP adapters, regional control
2024-09-17 15:44:20 +10:00
Mary Hipp
20b75c9887
fix(ui): making sure all graphs are using the correct FLUX nodes
2024-09-17 15:44:20 +10:00
Mary Hipp
4b916d217b
all the lints
2024-09-17 15:44:20 +10:00
Mary Hipp
a300b6ebdd
feat(ui): graph building for FLUX in linear UI
2024-09-17 15:44:20 +10:00
Mary Hipp
00de20d102
fix(nodes): add flux generation types to choices
2024-09-17 15:44:20 +10:00
Mary Hipp
573c7d2088
feat(ui): FLUX linear - add VAE as required model field rather than allowing default
2024-09-17 15:44:20 +10:00
Mary Hipp
ffbf4aba1f
feat(ui): new fields and param layout for FLUX settings: guidance, t5 encoder, CLIP embed
2024-09-17 15:44:20 +10:00
Mary Hipp
783441a89d
fix(ui): restore Settings Modal functionality to use children to render
2024-09-16 20:09:43 -04:00
psychedelicious
568cae919a
feat(ui): change upscaling icon
2024-09-16 23:58:03 +03:00
Mary Hipp
4bd7b25179
swap control layer and raster layer
2024-09-16 13:39:10 -04:00
Mary Hipp
e019df032e
change upscaling icon
2024-09-16 13:39:10 -04:00
Mary Hipp
5360740613
fix(ui): map order of layer types to the menu options
2024-09-16 13:39:10 -04:00
psychedelicious
1545289a8f
fix(ui): remove accidentally added staging button
2024-09-16 15:27:55 +03:00
psychedelicious
7fe1135ba0
feat(ui): add ref image drop targets to canvas
2024-09-16 15:10:17 +03:00
psychedelicious
41efd813e6
feat(ui): tweak drop overlay styles
2024-09-16 15:10:17 +03:00
psychedelicious
3a42285a3f
feat(ui): gallery image hover button to open in viewer
2024-09-16 15:10:17 +03:00
psychedelicious
04232876e8
feat(ui): tweak perserve mask translation
2024-09-16 15:10:17 +03:00
psychedelicious
97155bcadc
fix(ui): gallery not filling up
...
Floating point precision issue.
2024-09-16 15:10:17 +03:00
psychedelicious
0e0076d819
tidy(ui): rename canvas state "regions" -> "regionalGuidance"
2024-09-16 15:10:17 +03:00