psychedelicious
0f1541d091
perf(ui): disable perfect draw for all shapes
...
This feature involves a certain amount of extra work to ensure stroke and fill with partial opacity render correctly together. However, none of our shapes actually use that combination of attributes, so we can disable this for a minor perf boost.
2024-10-10 17:45:05 +11:00
psychedelicious
c49bbb22e5
feat(ui): track whether entities intersect the bbox
2024-10-10 17:45:05 +11:00
psychedelicious
7bd4b586a6
feat(ui): track whether entities are on-screen or off-screen
2024-10-10 17:45:05 +11:00
psychedelicious
754f049f54
feat(ui): getScaledStageRect returns snapped values
2024-10-10 17:45:05 +11:00
psychedelicious
883beb90eb
refactor(ui): do not rely on konva internal canvas cache for layer previews
...
Instead of pulling the preview canvas from the konva internals, use the canvas created for bbox calculations as the preview canvas.
This doesn't change perf characteristics, because we were already creating this canvas. It just means we don't need to dip into the konva internals.
It fixes an issue where the layer preview didn't update or show when a layer is disabled or otherwise hidden.
2024-10-10 17:45:05 +11:00
psychedelicious
ad76399702
feat(ui): add getRectIntersection util
2024-10-10 17:45:05 +11:00
psychedelicious
69773a791d
feat(ui): use useAssertSingleton for all singleton modals
...
footgun insurance
2024-10-10 15:49:09 +11:00
psychedelicious
99e88e601d
fix(ui): edge case where you get stuck w/ the workflow list menu open, or it opens unexpectedly
...
- When resetting workflows, retain the current mode state
- Remove the useEffect that reacted to the `isCleanEditor` flag to prevent getting menu getting locked open
2024-10-10 15:49:09 +11:00
psychedelicious
4050f7deae
feat(ui): make workflow support link work like a link
2024-10-10 15:49:09 +11:00
psychedelicious
0399b04f29
fix(ui): workflows marked touched on first load
2024-10-10 15:49:09 +11:00
psychedelicious
3b349b2686
chore(ui): lint
2024-10-10 15:49:09 +11:00
psychedelicious
aa34dbe1e1
feat(ui): "CopyWorkflowLinkModal" -> "ShareWorkflowModal"
2024-10-10 15:49:09 +11:00
psychedelicious
ac2476c63c
fix(ui): use modal overlay for workflow share modal
2024-10-10 15:49:09 +11:00
psychedelicious
f16489f1ce
feat(ui): split out delete style preset dialog logic into singleton
2024-10-10 15:49:09 +11:00
psychedelicious
3b38b69192
feat(ui): split out copy workflow link dialog logic into singleton
2024-10-10 15:49:09 +11:00
psychedelicious
2c601438eb
feat(ui): split out delete workflow dialog logic into singleton
2024-10-10 15:49:09 +11:00
psychedelicious
5d6a2a3709
fix(ui): use Text component in style preset delete dialog
2024-10-10 15:49:09 +11:00
psychedelicious
1d7a264050
feat(ui): workflow share icon only for non-user workflows
2024-10-10 15:49:09 +11:00
psychedelicious
c494e0642a
feat(ui): split out new workflow dialog logic, use it in list menu, restore new workflow dialog
2024-10-10 15:49:09 +11:00
psychedelicious
849b9e8d86
fix(ui): duplicate copy workflow link modals
...
The component state is a global singleton, but each workflow had an instance of the modal. So when you open one, they _all_ opened.
2024-10-10 15:49:09 +11:00
psychedelicious
4a66b7ac83
chore(ui): bump @invoke-ai/ui-library
...
Brings in a fix where ConfirmationAlertDialog rest props weren't used correctly.
2024-10-10 15:49:09 +11:00
psychedelicious
751eb59afa
fix(ui): issues with workflow list state
...
- Tooltips on buttons for a list item getting stuck
- List item action buttons should not propagate clicks
2024-10-10 15:49:09 +11:00
psychedelicious
f537cf1916
fix(ui): downloading workflow loads it
2024-10-10 15:49:09 +11:00
psychedelicious
0cc6f67bb1
feat(ui): use buildUseDisclosure for workflow list menu
2024-10-10 15:49:09 +11:00
psychedelicious
b2bf03fd37
feat(ui): use own useDisclosure for workflow delete confirm dialog
2024-10-10 15:49:09 +11:00
psychedelicious
14bc06ab66
feat(ui): add our own useDisclosure hook
2024-10-10 15:49:09 +11:00
psychedelicious
9c82cc7fcb
feat(ui): use buildUseDisclosure for workflow copy link modal
2024-10-10 15:49:09 +11:00
psychedelicious
c60cab97a7
feat(ui): add buildUseDisclosure
2024-10-10 15:49:09 +11:00
psychedelicious
eda979341a
feat(installer): use torch extra index on all cuda install pathways
2024-10-09 22:46:18 -04:00
Eugene Brodsky
b6c7949bb7
feat(backend): prefer xformers based on cuda compute capability
2024-10-09 22:46:18 -04:00
Eugene Brodsky
d691f672a2
feat(docker): upgrade to CUDA 12.4 in container
2024-10-09 22:46:18 -04:00
Eugene Brodsky
8deeac1372
feat(installer): add options to include or exclude xFormers based on the GPU model
2024-10-09 22:46:18 -04:00
Ryan Dick
4aace24f1f
Reduce peak memory utilization when preparing FLUX controlnet inputs.
2024-10-10 00:18:46 +00:00
Ryan Dick
b1567fe0e4
Make FLUX controlnet node API more like SD API and get it working with linear UI.
2024-10-09 23:38:31 +00:00
Ryan Dick
3953e60a4f
Remove instantx_control_mode from FLUX ControlNet node.
2024-10-09 22:00:54 +00:00
Mary Hipp
3c46522595
feat(ui): add option to copy share link for workflows if projectURL is defined (commercial)
2024-10-10 08:42:37 +11:00
Mary Hipp
63a2e17f6b
possibly a working FLUX controlnet graph
2024-10-09 15:42:02 -04:00
Ryan Dick
8b1ef4b902
Fix bug with InstantX input image range.
2024-10-09 19:38:30 +00:00
Mary Hipp
5f2279c984
hide Control Mode for FLUX control net layer
2024-10-09 15:31:44 -04:00
Mary Hipp
e82d67849c
ui: enable controlnet controls when FLUX is main model, update schema
2024-10-09 15:05:29 -04:00
maryhipp
3977ffaa3e
update prepreprocessor logic to be more resilient
2024-10-09 14:57:14 -04:00
maryhipp
9a8a858fe4
update starter models to include FLUX controlnets
2024-10-09 14:57:14 -04:00
Ryan Dick
859944f848
Fix support for InstantX non-union models (with no single blocks).
2024-10-09 18:51:53 +00:00
Ryan Dick
8d1a45863c
Support installing InstantX ControlNet models from diffusers directory format.
2024-10-09 17:04:10 +00:00
Ryan Dick
6798bbab26
Skip tests that are failing on MacOS CI runners (for now).
2024-10-09 16:34:42 +00:00
Ryan Dick
2c92e8a495
Revert "Try to fix test failures affecting MacOS CI runners."
...
This reverts commit 216b36c75d .
2024-10-09 16:30:40 +00:00
Ryan Dick
216b36c75d
Try to fix test failures affecting MacOS CI runners.
2024-10-09 16:21:52 +00:00
Ryan Dick
8bf8742984
(minor) Add comment about future memory optimization.
2024-10-09 16:16:04 +00:00
Ryan Dick
c78eeb1645
Shift the controlnet-type-specific logic into the specific ControlNet extensions and make the FLUX model controlnet-type-agnostic.
2024-10-09 16:12:09 +00:00
Ryan Dick
cd88723a80
Add instantx_control_mode param to FLUX ControlNet invocation.
2024-10-09 14:17:42 +00:00