psychedelicious
aa9fbcd37c
feat(ui): toolbar layout
2024-09-19 23:36:22 +10:00
psychedelicious
3ade9300b2
fix(app): exclude intermediate images from board image count
2024-09-19 23:36:22 +10:00
psychedelicious
8064a0a820
fix(app): do not show intermediate images for board thumbnail
2024-09-19 23:36:22 +10:00
psychedelicious
3b33a27b1f
feat(ui): save staged image to gallery saves to the selected board
2024-09-19 23:36:22 +10:00
psychedelicious
83b1abd0a9
feat(ui): remove auto-save canvas setting
...
This setting's interactions with canvas were unintuitive and at odds with the modal nature of canvas v2 generations.
2024-09-19 23:36:22 +10:00
psychedelicious
88aa96d2b1
fix(ui): do not add save-to-canvas generations to board
...
rebase
2024-09-19 23:36:22 +10:00
omahs
b5620cfdcd
fix typo
2024-09-19 05:40:54 +03:00
psychedelicious
b9a9478c0a
chore: v5.0.0.a8
...
chore: v5.0.0.a8
2024-09-19 10:37:37 +10:00
psychedelicious
91d77b57fb
fix(ui): out of order entity selector, causing issues w/ hotkeys
2024-09-18 21:06:45 +03:00
psychedelicious
9e6b60afe8
feat(ui): update hotkey list
...
- Rework hotkey data to include the keys for each hotkey action.
- Add wrapper for `useHotkeys` that accepts a hotkey category and id. Automatically selects the key from the hotkey data.
- Add handling for macOS (cmd vs ctrl, option vs alt).
- Redo all hotkey descriptions, deleting nonexistant ones.
- Some `esc` hotkeys that just close whatever you are currently in are omitted due to their relative simplicity and intuitiveness.
2024-09-18 21:06:45 +03:00
psychedelicious
fdcd26fa12
chore(ui): lint (circular dependency)
...
Had to shuffle around the canvas right panel tabs state.
2024-09-18 21:06:45 +03:00
psychedelicious
95675c0545
feat(ui): use zod to define canvas state
...
By modeling canvas state as a zod schema vs a Typescript type, we get a runtime validator that can be used for metadata recall.
2024-09-18 21:06:45 +03:00
psychedelicious
4dc194510c
fix(ui): delete hotkey operating on image and layer at same time
2024-09-18 21:06:45 +03:00
psychedelicious
384abab8d9
fix(ui): handle control layers when deleting images
2024-09-18 21:06:45 +03:00
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
Ryan Dick
3d6f60f63e
Merge branch 'main' into ryan/flux-lora-quantized
2024-09-18 13:22:39 -04: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
9b0dd52792
feat(app): add get_queue_counts_by_destination
...
This allows the frontend to check if there are, for example, pending canvas generations.
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