Comfy Org PR Bot
30c473db77
[chore] Update Comfy Registry API types from comfy-api@a28605f ( #3405 )
...
Co-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com >
2025-04-11 14:02:37 -04:00
Chenlei Hu
2371288fed
[Bug] Fix widgets values migration ( #3404 )
2025-04-11 13:44:14 -04:00
filtered
2e72031344
[API] Remove deprecated: getAncestors ( #919 )
...
Removes unused and deprecated API: LGraph.getAncestors
2025-04-11 17:29:53 +00:00
Christian Byrne
2337fe6f8e
[Manager] Fix hot reload after install of missing node pack ( #3397 )
...
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2025-04-11 12:55:02 -04:00
Benjamin Lu
25e6386b2a
Do not trigger autosave on workflows that are not persisted ( #3400 )
...
Co-authored-by: Benjamin Lu <templu1107@proton.me >
2025-04-11 12:53:49 -04:00
Chenlei Hu
a03841cb1a
[lint] Enable plugin vue recommended rules ( #3403 )
2025-04-11 12:53:20 -04:00
Chenlei Hu
dc5d7ea1be
[lint] Enforce @typescript-eslint/no-floating-promises ( #3402 )
2025-04-11 12:19:22 -04:00
Christian Byrne
3ba61c7265
Don't log every single node being replaced when node defs refreshed ( #918 )
...
Currently, when node defs are refreshed (e.g., by pressing "r"
shortcut), every single node def is logged, which is useless when
there's hundred of nodes and clutters console. This PR changes to only
log those messages when in debug mode.
2025-04-11 09:11:25 -07:00
Christian Byrne
59e20964a0
[Manager] Add fallback to infer node pack when metadata is missing from workflow ( #3396 )
2025-04-11 09:50:30 -04:00
Christian Byrne
05e0036898
[Manager] Button to open manager from Missing Nodes dialog ( #3395 )
2025-04-10 21:28:42 -04:00
Benjamin Lu
9e7690405a
keep user input on top of selection toolbox ( #3389 )
...
Co-authored-by: Benjamin Lu <templu1107@proton.me >
2025-04-10 20:50:19 -04:00
Christian Byrne
d687ea2cde
[Manager] Fix infinite fetch attempts when response is empty ( #3392 )
2025-04-10 16:39:54 -07:00
Chenlei Hu
c801a0c854
Attach frontend version metadata on workflow export ( #3386 )
2025-04-10 14:19:54 -04:00
Chenlei Hu
615c183059
Disable reroute migration (2/2) ( #3385 )
2025-04-10 14:06:09 -04:00
Chenlei Hu
27c8389b9f
[Cleanup] Remove ComfyApp.serializeGraph ( #3383 )
2025-04-10 11:50:27 -04:00
Chenlei Hu
261f671ef0
Disable native reroute migration ( #3379 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-04-10 08:50:07 -04:00
Benjamin Lu
22ae30132c
Add tag pi-language icon for Comfy.Locale setting ( #3378 )
...
Co-authored-by: Benjamin Lu <templu1107@proton.me >
2025-04-09 22:47:40 -04:00
Chenlei Hu
7d3bf372b0
[Bug] Apply link fixes regardless of fixed state ( #3376 )
2025-04-09 20:28:49 -04:00
Chenlei Hu
a500a96c4a
[TS] Fix widget GET_CONFIG on loading primitive nodes ( #3374 )
2025-04-09 17:48:28 -04:00
Chenlei Hu
dc9ea44f3a
Prevent widget value serialization for media preview widgets ( #3370 )
2025-04-09 17:01:02 -04:00
Christian Byrne
2dc33b1eb9
[Manager] Remove outdated comment ( #3371 )
2025-04-09 16:51:16 -04:00
Chenlei Hu
197a6cbae8
Add IBaseWidget.serialize flag ( #915 )
...
https://github.com/Comfy-Org/ComfyUI_frontend/pull/3323
Some widgets are only used for display purpose (The preview image
widget), their value shouldn't be serialized into the workflow. This PR
adds a flag to allow widget to skip value serialization.
2025-04-09 16:06:05 -04:00
Christian Byrne
f7854a4e0b
[Manager] Fix node pack icons not displaying in search results ( #3366 )
2025-04-09 13:51:47 -04:00
Chenlei Hu
05023b7889
Migrate defaultInput widget option ( #3364 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-04-09 13:51:34 -04:00
Chenlei Hu
609496957b
[Cleanup] Remove WidgetOptions.forceInput ( #3362 )
2025-04-09 11:36:35 -04:00
Chenlei Hu
a879f413bb
[Cleanup] Remove WidgetOptions.inputIsOptional ( #3361 )
2025-04-09 10:45:51 -04:00
filtered
04b4485cc9
Add Disposable interface & polyfill ( #914 )
...
Adds the `Disposable` and `AsyncDisposable` interfaces via polyfill.
Implements Disposable interface in `InputIndicator`.
Ref:
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management
2025-04-09 11:05:39 +00:00
filtered
c60e9d8080
[Cleanup] Remove unused code ( #913 )
2025-04-09 09:35:08 +00:00
filtered
ae4a63c839
[Cleanup] Simplify code ( #912 )
...
- Simplifies internal APIs used by private functions
- Prefer param destructuring over manual object re-impl.
2025-04-09 08:54:34 +00:00
filtered
297b557b94
[Refactor] Rename layout method to arrange/measure ( #911 )
...
Prefer verb function names.
2025-04-09 07:49:41 +00:00
filtered
05e8e25b6b
[Cleanup] Remove redundant code ( #906 )
...
Removes a now-redundant workaround from LinkConnector.
2025-04-09 16:28:34 +10:00
Chenlei Hu
34f9603961
[Feature Request]: Add resize keybinding ( #3356 ) ( #3358 )
...
Co-authored-by: Emanuel F. <70411130+efrancisworks@users.noreply.github.com >
Co-authored-by: github-actions <github-actions@github.com >
2025-04-08 23:05:21 -04:00
Christian Byrne
cf27a896f3
[Manager] Handle display of git hash versions for NIGHTLY node packs ( #3359 )
2025-04-08 23:00:36 -04:00
Chenlei Hu
e9a98161ca
[Bug] Fix converted widget compression on export ( #3354 )
2025-04-08 20:20:19 -04:00
Chenlei Hu
a489c19b07
Upstream rgthree's link fixer ( #3350 )
2025-04-08 18:32:43 -04:00
Chenlei Hu
3a1c95fb10
[Bug] Fix input link slots ( #3349 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-04-08 11:08:42 -04:00
Chenlei Hu
bf5e3f3c77
[Bug] Fix layout issue caused by absolute positioned slots ( #908 )
...
Before:

After:

Workflow:
[dynamically_added_input.json](https://github.com/user-attachments/files/19640371/dynamically_added_input.json )
This PR also fixes the issue that output slot's `pos` property is not
relative to node pos.
2025-04-07 19:52:58 -04:00
catboxanon
a7a8459e18
Add option to disable workflow persistence ( #3341 )
...
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2025-04-07 17:06:41 -04:00
Chenlei Hu
d77100c401
[Refactor] Add LGraphNode.layout ( #907 )
...
Moves layout of LGraphNode slot and widget to `LGraphNode.layout`.
Codesearch shows that there is currently no usage on posY arg, so we can
just pass null to it instead.
https://cs.comfy.org/search?q=context:global+drawNodeWidgets&patternType=keyword&sm=0
2025-04-07 15:40:58 -04:00
Chenlei Hu
2c02d4ebb3
Migrate forceInput widgets_values ( #3337 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-04-06 21:27:42 -04:00
Christian Byrne
549a42716f
[Manager] Add tab for outdated node packs (has update available) ( #3255 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-04-06 18:49:40 -04:00
Benjamin Lu
fa75614dc3
Add autosave feature ( #3330 )
...
Co-authored-by: Benjamin Lu <templu1107@proton.me >
2025-04-06 18:48:00 -04:00
Chenlei Hu
ac53296b2e
Support associated socket for widgets ( #3326 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-04-06 11:50:21 -04:00
filtered
079a18a391
Reland "Support associated socket for widgets" ( #904 )
...
- Reverts Comfy-Org/litegraph.js#896
- Relands #891
2025-04-06 11:35:42 -04:00
filtered
3815296ab5
Add Disconnect Links option to input slot menu ( #901 )
2025-04-06 15:22:19 +00:00
filtered
ed34080e46
Remove auto-generated serialisation data on load ( #900 )
...
- Resolves #883
2025-04-06 15:10:08 +00:00
filtered
3b5cc8cd19
Add alt-right-click to delete reroutes ( #899 )
...
Alt-right-click to remove, regular right-click to show context menu.
2025-04-06 14:55:17 +00:00
filtered
6cafeeff19
Fix corruption of selected link highlights ( #897 )
...
Occurred when deselecting one side of a link when both sides were
selected.
2025-04-06 14:30:22 +00:00
filtered
7360e09172
Standardise right-click behaviour ( #894 )
...
- Uses CanvasPointer click to open context menu (formerly occurred on
`pointerdown`)
- Frees up right-click & drag to be used by future features
- Right-clicking a reroute now selects the reroute, using the same
selection logic used for right-clicking nodes
2025-04-06 13:31:09 +00:00
filtered
c77082fe2f
Close context menus on any click outside the menu ( #895 )
...
Current: Right click in e.g. `textarea` leaves litegraph context menus
open.
Proposed: Any click anywhere outside the context menu (or its sub-menus)
will close all context menus.
2025-04-06 13:30:42 +00:00