Chenlei Hu
30420f2c0a
[TS] Add null checks to widgetInputs.ts ( #3312 )
2025-04-02 15:48:46 -04:00
Chenlei Hu
39c3a57c11
[Cleanup] Remove handling of legacy slot widget config ( #3311 )
2025-04-02 13:58:06 -04:00
Chenlei Hu
cfaf769a65
[TS] Properly type slot widget ( #3305 )
2025-04-01 15:13:46 -04:00
Chenlei Hu
28def833f9
[TS] Fix node constructor signature ( #3276 )
2025-03-29 20:55:11 -04:00
filtered
f8a2c90138
Fix drag new link from reroute to widget ( #3214 )
2025-03-23 22:29:51 -04:00
Comfy Org PR Bot
e6e7449ece
[chore] Update litegraph to 0.11.0-1 ( #3190 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-23 03:49:44 +11:00
Chenlei Hu
a049e9ae2d
[TS] Enable strict mode ( #3136 )
2025-03-18 22:57:17 -04:00
Chenlei Hu
7af003fcab
[TS] Enable noUnusedParameters ( #3110 )
2025-03-17 16:47:45 -04:00
Chenlei Hu
7e66e99c3a
[TS] Enable noUnusedLocals ( #3108 )
2025-03-17 16:20:56 -04:00
AustinMroz
f583015a14
Fix regression when configuring graph with missing converted input ( #3066 )
2025-03-16 11:36:42 -04:00
filtered
ba8c1ee823
Remove legacy code (follow-up on #2925 ) ( #2930 )
2025-03-09 13:44:55 -04:00
filtered
f53c04834f
Add support for Litegraph LinkConnector ( #2925 )
2025-03-09 09:37:47 +11:00
Chenlei Hu
f593f3caa4
[Schema] ComfyNodeDefV2 schema ( #2847 )
2025-03-04 09:15:16 -05:00
Chenlei Hu
b2f3d85e24
[Cleanup] Remove manual double click delay ( #2840 )
2025-03-03 17:36:26 -05:00
Chenlei Hu
8affd7eec7
[Cleanup] Remove combo connection type check ( #2838 )
2025-03-03 17:35:18 -05:00
Chenlei Hu
603825b2a0
[Refactor] Add util to merge input spec ( #2834 )
2025-03-03 15:23:47 -05:00
Chenlei Hu
f5c21814f9
Remove broken/unused widget[TARGET] ( #2795 )
2025-03-01 21:26:50 -05:00
Chenlei Hu
0175db58bb
[Type] Add type annotations for widgetInputs litegraph hooks ( #2793 )
2025-03-01 19:27:21 -05:00
Chenlei Hu
09ab14ac81
[Type] Disallow type upcasting for node input spec ( #2790 )
2025-03-01 16:58:45 -05:00
Chenlei Hu
2b212f9701
S&R improved filename sanitizing ( #2784 )
...
Co-authored-by: typpos <28550406+typpos@users.noreply.github.com >
2025-03-01 10:47:42 -05:00
Chenlei Hu
1d95d639e9
[Refactor] Extract nodeDefSchema from apiSchema ( #2756 )
2025-02-27 13:39:23 -05:00
Chenlei Hu
cdf42d5ad7
[Refactor] Move zod schemas to schemas/ folder ( #2753 )
2025-02-27 13:05:01 -05:00
Chenlei Hu
96f02dbf80
[Refactor] Use util.clone in mergeIfValid ( #2752 )
2025-02-27 11:47:56 -05:00
Chenlei Hu
ab9c65f28b
Type widgetInputs ( #2741 )
2025-02-26 18:01:56 -05:00
Chenlei Hu
a784abef0d
Type INodeOutputSlot widget hack on PrimitiveNode ( #2728 )
2025-02-25 19:34:23 -05:00
Chenlei Hu
156013aa24
[Reland] Restrict applyToGraph to PrimitiveNode ( #2724 )
2025-02-25 10:54:21 -05:00
Chenlei Hu
d3dda14267
Update litegraph 0.8.95 ( #2718 )
2025-02-24 19:48:44 -05:00
Chenlei Hu
064e982f01
Revert "[Refactor] Extract RerouteNode as a separate file" ( #2678 )
2025-02-21 22:57:19 -05:00
Chenlei Hu
85d04f6814
[Refactor] Extract RerouteNode as a separate file ( #2668 )
2025-02-21 15:04:47 -05:00
Chenlei Hu
3f4d11c63a
Inplace widget to input conversion ( #2588 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-02-16 13:41:32 -05:00
Chenlei Hu
acfb95f8d4
Use LGraphNode.setSize ( #2555 )
2025-02-14 11:02:56 -05:00
Chenlei Hu
8bb785c5e4
Show convert to widget option slot context menu ( #2538 )
2025-02-12 16:07:19 -05:00
Chenlei Hu
340513e27f
Type INodeSlot.widget ( #2463 )
2025-02-07 14:33:21 -05:00
filtered
d2e9943e79
Add convert to input for the clicked widget ( #2357 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-01-26 07:06:41 -05:00
pythongosssss
c77a5cab5b
Add support for nested dynamic prompts ( #2117 )
2025-01-01 15:29:17 -05:00
Chenlei Hu
d8f074fea0
[Lint] Sort imports ( #2104 )
2024-12-30 17:26:37 -05:00
Chenlei Hu
ca9627cada
Move widget link drop conversion to widgetInputs ( #2001 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-12-20 16:10:18 -08:00
Chenlei Hu
c4d3c672ad
Enforce ComfyExtension types ( #1718 )
...
* Enforce extension types
* nit
2024-11-27 15:35:18 -05:00
filtered
7e245ba1cf
Update Litegraph: Canvas Pointer ( #1556 )
...
* Litegraph: canvas.pointer
Clear @ts-expect-error
Fix exception thrown on slot double-click
Long-standing bug but has no real impact in prod - just logs an error.
Required for new connecting_link features.
Add settings: CanvasPointer options
Update litegraph 0.8.28
Fix regression in snap to grid render
Fix snap to grid marker always on
Update snap to grid to use Positionable API
Fix test clicks registering as double-click
Improve test precision
Current test proves it has changed to something smaller.
New test proves it is exactly what was specified.
Will need refinement when a limit is put on latent width.
Fix test expects collapse node to select node
Remove redundant code
Resolved by CanvasPointer
Fix flaky test - ContextMenu
Fix settings group
* Update litegraph
* Remove snapToGrid extension
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-18 10:50:51 -05:00
filtered
45380f7ca0
Fix TypeError thrown ( #1461 )
...
Missing node type + reroute linked
2024-11-07 20:17:16 -05:00
filtered
394df49208
Fix primitive size on load ( #1407 )
2024-11-03 09:29:39 -05:00
filtered
1366c8cb44
Fix primitive resize when node size ref retained ( #1405 )
...
* Fix primitive resize when node size ref retained
Primitive assumes that setting node size property will replace the ref. Minimal change.
* Use explicit variable names
2024-11-02 16:14:49 -04:00
Chenlei Hu
5611e90fda
Add ts-strict-ignore plugin ( #1235 )
...
* Add ts-strict-ignore plugin
* nit
* Add to typecheck script
2024-10-12 11:56:49 -04:00
Chenlei Hu
dee1ec1a2a
Update Litegraph (TypeScript conversion) ( #1145 )
...
* Fix various type errors
* Fix rest of ts errors
* update litegraph
* nit
2024-10-07 11:31:54 -04:00
bymyself
9cbfc9856b
Fix widget/input conversion on text widgets ( #1129 )
...
* Support converting dynamically created text widgets to input
* Fix array contains
* Add test wait
* Try to fix test only failing in CI
* Fix test: Disable conversion option nesting in contextmenu
2024-10-07 11:22:28 -04:00
filtered
f2017291d6
Prevent converted widget being duplicated ( #1115 )
2024-10-05 08:49:17 -04:00
pythongosssss
a2bd2a9bae
Implement creating inputs by dragging link to widget ( #1021 )
...
* Implement creating inputs by dragging link to widget
* Update litegraph
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-10-01 12:53:38 -04:00
Chenlei Hu
2878952b1d
Makes forceInput node input slot correctly reflect option/required state ( #921 )
...
* Correctly style optional force input input slot
* Add force input playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 16:35:56 +09:00
Chenlei Hu
12c699cc87
Update litegraph (Getters) ( #829 )
...
* Update litegraph (Getters)
* Update
2024-09-14 17:10:57 +09:00
filtered
9483cfe915
Add graceful correction when widgets undef. ( #820 )
...
Fixes crash on load of workflow where `node.widgets` has no `.find()`
2024-09-14 08:33:43 +09:00