psychedelicious
a7a89c9de1
feat(ui): use more resilient logic in canvas filter module, same as in SAM module
2024-10-30 09:19:30 +11:00
psychedelicious
5ca8eed89e
tidy(ui): remove all buffer renderer interactions in SAM module
...
We don't use the buffer rendere in this module; there's no reason to clear it.
2024-10-30 09:19:30 +11:00
psychedelicious
c885c3c9a6
fix(ui): filter layer data pushed to parent rendered when saving as
2024-10-30 09:19:30 +11:00
psychedelicious
db1c5a94f7
feat(ui): image ctx -> New from Image -> Canvas as Raster/Control Layer
2024-10-25 22:27:00 -04:00
psychedelicious
56222a8493
feat(ui): organize layer context menu items
2024-10-25 22:27:00 -04:00
psychedelicious
b7510ce709
feat(ui): filter, select object and transform UI buttons
...
- Restore dedicated `Apply` buttons
- Remove icons from the buttons, too much noise when the words are short and clear
- Update loading state to show a spinner next to the `Process` button instead of on _every_ button
2024-10-25 22:27:00 -04:00
psychedelicious
5739799e2e
fix(ui): close viewer when transforming
2024-10-25 22:27:00 -04:00
psychedelicious
813cf87920
feat(ui): move canvas alerts to top-left corner
2024-10-25 22:27:00 -04:00
psychedelicious
c95b151daf
feat(ui): add layer title heading for canvas ctx menu
2024-10-25 22:27:00 -04:00
psychedelicious
a0f823a3cf
feat(ui): reset shouldShowStagedImage flag when starting staging
2024-10-25 22:27:00 -04:00
psychedelicious
008be9b846
feat(ui): add all save as options to filter
2024-10-25 08:12:14 -04:00
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
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
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
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
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
psychedelicious
33924e8491
feat(ui): ensure abort controllers are cleaned up
2024-10-23 08:21:12 -04:00