psychedelicious
8e7cabdc04
feat(ui): add Replace Current open to Select Object -> Save As
2024-10-25 08:12:14 -04:00
psychedelicious
a4c4237f99
feat(ui): use PiPlayFill for process buttons for filter & select object
2024-10-25 08:12:14 -04:00
psychedelicious
bda3740dcd
feat(ui): use fill style icons for Filter
2024-10-25 08:12:14 -04:00
psychedelicious
5b4633baa9
feat(ui): use PiShapesFill icon for Select Object
2024-10-25 08:12:14 -04:00
psychedelicious
96351181cb
feat(ui): make canvas layer toolbar icons a bit larger
2024-10-25 08:12:14 -04:00
psychedelicious
957d591d99
feat(ui): "Auto-Mask" -> "Select Object"
2024-10-25 08:12:14 -04:00
psychedelicious
75f605ba1a
feat(ui): support inverted selection in auto-mask
2024-10-25 08:12:14 -04:00
psychedelicious
6056764840
feat(ui): disable default settings button when synced
...
A blue button is begging to be clicked, but clicking it will do nothing. Instead, we should communicate that no action is needed by disabling the button when the default settings are already in use.
2024-10-25 16:09:59 +11:00
psychedelicious
8747c0dbb0
fix(ui): handle no model selection in default settings tooltip
2024-10-25 16:09:59 +11:00
psychedelicious
c5cdd5f9c6
fix(ui): use const EMPTY_OBJECT to prevent rerenders
2024-10-25 16:09:59 +11:00
psychedelicious
abc5d53159
fix(ui): use explicit null check when comparing default settings
...
Using `&&` will result in false negatives for settings where a falsy value might be valid. For example, any setting for which 0 is a valid number. To be on the safe side, just use an explicit null check on all values.
2024-10-25 16:09:59 +11:00
psychedelicious
2f76019a89
tweak(ui): defaults sync tooltip styling
2024-10-25 16:09:59 +11:00
Mary Hipp
3f45beb1ed
feat(ui): add out of sync details to model default settings button
2024-10-25 16:09:59 +11:00
Mary Hipp
bc1126a85b
(ui): add setting for showing model descriptions in dropdown defaulted to true
2024-10-25 14:52:33 +11:00
psychedelicious
ab7cdbb7e0
fix(ui): do not delete point on right-mouse click
2024-10-25 10:22:22 +11:00
psychedelicious
e5b78d0221
fix(ui): canvas drop area grid layout
2024-10-25 10:22:22 +11:00
psychedelicious
b0381076b7
revert(ui): drop targets for inpaint mask and rg
2024-10-25 07:42:46 +11:00
psychedelicious
ffff2d6dbb
feat(ui): add New from Image submenu for image ctx menu
2024-10-25 07:42:46 +11:00
psychedelicious
afa9f07649
fix(ui): missing cursor when transforming
2024-10-25 07:42:46 +11:00
psychedelicious
addb5c49ea
feat(ui): support dnd images onto inpaint mask/rg entities
2024-10-25 07:42:46 +11:00
psychedelicious
a112d2d55b
feat(ui): add logging to useCopyLayerToClipboard
2024-10-25 07:42:46 +11:00
psychedelicious
619a271c8a
feat(ui): disable copy to clipboard when layer is empty
2024-10-25 07:42:46 +11:00
psychedelicious
909f2ee36d
feat(ui): add help tooltip to automask
2024-10-25 07:42:46 +11:00
psychedelicious
b4cf3d9d03
fix(ui): canvas context menu w/ eraser tool erases
2024-10-25 07:42:46 +11:00
psychedelicious
e6ab6e0293
chore(ui): lint
2024-10-24 08:39:29 -04:00
psychedelicious
66d9c7c631
fix(ui): icon for automask save as
2024-10-24 08:39:29 -04:00
psychedelicious
fec45f3eb6
feat(ui): animate automask preview overlay
2024-10-24 08:39:29 -04:00
psychedelicious
7211d1a6fc
feat(ui): add context menu options for layer type convert/copy
2024-10-24 08:39:29 -04:00
psychedelicious
f3069754a9
feat(ui): add logic to convert/copy between all layer types
2024-10-24 08:39:29 -04:00
psychedelicious
c91a9ce390
feat(ui): add pull bbox to global ref image ctx menu
2024-10-24 08:39:29 -04:00
psychedelicious
3e7b73da2c
feat(ui): add entity context menu as canvas context menu sub-menu
2024-10-24 08:39:29 -04:00
psychedelicious
61ac50c00d
feat(ui): use sub-menu for image metadata recall
2024-10-24 08:39:29 -04:00
psychedelicious
acdffac5ad
feat(ui): close viewer when filtering/transforming/automasking
2024-10-24 08:39:29 -04:00
psychedelicious
e420300fa4
feat(ui): replace automask apply w/ save as menu
2024-10-24 08:39:29 -04:00
psychedelicious
260a5a4f9a
feat(ui): add automask button to toolbar
2024-10-24 08:39:29 -04:00
psychedelicious
ed0c2006fe
feat(ui): rename "foreground"/"background" -> "include"/"exclude"
2024-10-24 08:39:29 -04:00
psychedelicious
9ffd888c86
feat(ui): remove neutral points
2024-10-24 08:39:29 -04:00
psychedelicious
175a9dc28d
feat(ui): more resilient auto-masking processing
...
- Use a hash of the last processed points instead of a `hasProcessed` flag to determine whether or not we should re-process a given set of points.
- Store point coords in state instead of pulling them out of the konva node positions. This makes moving a point a more explicit action in code.
- Add a `roundCoord` util to round the x and y values of a coordinate.
- Ensure we always re-process when $points changes.
2024-10-24 08:39:29 -04:00
psychedelicious
4275a494b9
tweak(ui): bundle info icon
2024-10-24 23:34:06 +11:00
psychedelicious
a3deb8d30d
tweak(ui): bundle tooltip styling
2024-10-24 23:34:06 +11:00
Mary Hipp
4db26bfa3a
(ui): add information popovers for other layer types
2024-10-24 23:34:06 +11:00
Mary Hipp
3321d14997
undo show descriptions for now
2024-10-24 23:34:06 +11:00
Mary Hipp
afa5a4b17c
(ui): add informational popover for controlnet layers
2024-10-24 23:34:06 +11:00
Mary Hipp
33c433fe59
(ui): show models in starter bundles on hover, use previous_names for isInstalled logic, allow grouped model combobox to optionally show descriptions
2024-10-24 23:34:06 +11:00
psychedelicious
32d9abe802
tweak(ui): prevent show/hide boards button cutoff
...
The use of hard 25% widths caused issues for some translations. Adjusted styling to not rely on any hard numbers. Tested with a project name and URL.
2024-10-24 08:21:16 -04:00
psychedelicious
3947d4a165
fix(ui): normalize infill alpha to 0-255 when building infill nodes
...
The browser/UI uses float 0-1 for alpha, while backend uses 0-255. We need to normalize the value when building the infill nodes for outpaint.
2024-10-24 19:22:36 +11:00
psychedelicious
3583d03b70
feat(ui): improve subs and cleanup in filterer module
...
- Subscribe when starting the filterer
- Remember to abort the abortcontroller when destroying
- Unsubscribe when destroying
2024-10-23 08:21:12 -04:00
psychedelicious
bc954b9996
feat(ui): abort controller in SAM module when destroying
2024-10-23 08:21:12 -04:00
psychedelicious
c08075946a
feat(ui): only subscribe listeners when segmenting
...
Realized we are doing a lot of event listening even when segmenting is not occuring. I don't think this will have a meaningful performance impact, but it makes sense to remove these listeners when not in use.
2024-10-23 08:21:12 -04:00
psychedelicious
df8df914e8
docs(ui): add comments to CanvasSegmentAnythingModule
2024-10-23 08:21:12 -04:00