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
59d0ad4505
chore(ui): migrate from ts-toolbelt to type-fest
...
`ts-toolbelt` is unmaintained while `type-fest` is very actively maintained. Both provide similar TS utilities.
2024-10-23 16:01:15 +11:00
psychedelicious
bf3260446d
fix(ui): use flux_ip_adapter for flux
2024-10-23 08:30:11 +10:00
Ryan Dick
5cbe89afdd
Merge branch 'main' into ryan/flux-ip-adapter-cfg-2
2024-10-22 21:17:36 +00:00
Mary Hipp
0a96466b60
feat(ui): add IP adapters to FLUX in linear UI
2024-10-22 15:22:56 -04:00
Mary Hipp
8f28903c81
remove extra slash in workflow share link
2024-10-17 08:02:27 +11:00
Mary Hipp
b33dbfc95f
prefix share link with window location
2024-10-11 17:25:58 -04:00
Mary Hipp
d6add93901
lint
2024-10-11 17:23:34 -04:00
Mary Hipp
8d44363d49
(ui): update boards list queries to only use sort params for list, and make sure archived boards are included in most places we are searching
2024-10-11 17:23:34 -04:00
psychedelicious
7185363f17
fix(ui): edge case where controladapters added counts could be off
...
We were:
- Incrementing `addedControlNets` or `addedT2IAdapters`
- Attempting to add it, but maybe failing and skipping
Need to swap the order of operations to prevent misreporting of added cnet/t2i.
I don't think this would ever actually cause problems.
2024-10-11 10:37:30 +11:00
Ryan Dick
bb947c6162
Make FLUX controlnet node API more like SD API and get it working with linear UI.
2024-10-10 07:59:29 -04:00
Mary Hipp
2bd44662f3
possibly a working FLUX controlnet graph
2024-10-10 07:59:29 -04: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
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
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
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
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
9c82cc7fcb
feat(ui): use buildUseDisclosure for workflow copy link modal
2024-10-10 15:49:09 +11: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
psychedelicious
965d6be1f4
fix(ui): validate edges on paste
...
Closes #7058
2024-10-09 13:49:31 +11:00
Mary Hipp Rogers
0d7edbce25
add missing translations ( #7073 )
...
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local >
2024-10-08 20:07:00 -04:00
psychedelicious
ffecd83815
fix(ui): typo
2024-10-09 07:32:01 +11:00
psychedelicious
f1c538fafc
fix(ui): workflow sort popover behaviour
2024-10-09 07:32:01 +11:00
Mary Hipp
ed88b096f3
(ui) update so that default list does not sort
2024-10-09 07:32:01 +11:00
Mary Hipp
a28cabdf97
restore sorting UI for workflow library
2024-10-09 07:32:01 +11:00
Mary Hipp
db25be3ba2
(ui): add opened/created/updated details to tooltip, default sort by opened (OSS) and created (non-OSS)
2024-10-09 07:32:01 +11:00
Mary Hipp
05d9ba8fa0
PR review feedback
2024-10-08 10:08:50 -04:00
psychedelicious
7882e9beae
feat(ui): WorkflowListItem simplify layout
2024-10-08 10:08:50 -04:00
Mary Hipp
7c9779b496
(ui) handle empty state
2024-10-08 10:08:50 -04:00
Mary Hipp
5832228fea
lint and cleanup
2024-10-08 10:08:50 -04:00
Mary Hipp
1d32e70a75
(ui): clean up old workflow library
2024-10-08 10:08:50 -04:00
Mary Hipp
9092280583
(ui) new menu list of workflows
2024-10-08 10:08:50 -04:00
psychedelicious
eee4175e4d
Revert "fix(ui): Apple Pencil requires onPointerUp instead of onClick"
...
This reverts commit 2a90f4f59e .
2024-10-07 10:05:20 +11:00
psychedelicious
3ce94e5b84
feat(ui): improved node image drop target & error state
2024-10-04 21:30:38 -04:00
psychedelicious
a8c7dd74d0
fix(ui): type stuff
2024-10-04 07:44:40 -04:00
psychedelicious
2a90f4f59e
fix(ui): Apple Pencil requires onPointerUp instead of onClick
...
With `onClick`, elements w/ a tooltip require a double-tap.
2024-10-04 07:44:40 -04:00
psychedelicious
4455fc4092
fix(ui): next/prev image buttons layout
2024-10-02 08:02:30 -04:00
psychedelicious
cd6ef3edb3
tidy,docs(ui): focus region logic
2024-10-01 06:05:16 +10:00
psychedelicious
8cf0d8c8d3
feat(ui): revised focus handling (attempt 3, wip)
2024-10-01 06:05:16 +10:00
psychedelicious
48311f38ba
feat(ui): revised focus handling (attempt 2, wip)
2024-10-01 06:05:16 +10:00