Alexander Brown
f6405e9125
Knip: More Pruning ( #5374 )
...
* knip: Don't ignore exports that are only used within a given file
* knip: More pruning after rebase
* knip: Vite plugin config fix
* knip: vitest plugin config
* knip: Playwright config, remove unnecessary ignores.
* knip: Simplify project file enumeration.
* knip: simplify the config file patterns ?(.optional_segment)
* knip: tailwind v4 fix
* knip: A little more, explain some of the deps.
Should be good for this PR.
* knip: remove unused disabling of classMembers.
It's opt-in, which we should probably do.
* knip: floating comments
We should probably delete _one_ of these parallell trees, right?
* knip: Add additional entrypoints
* knip: Restore UserData that's exposed via the types for now.
* knip: Add as an entry file even though knip says it's not necessary.
* knip: re-export functions used by nodes (h/t @christian-byrne)
2025-09-07 01:10:32 -07:00
Alexander Brown
3fbcf4aa7e
knip: YOLO pass, all the unused exports enabled, YAGNI for the rest ( #5313 )
...
* knip: Enable unusedBinaries, add two exceptions
* knip: YOLO pass, all the unused exports enabled.
Paired with @christian-byrne to allow for some special cases to remain with custom knip ignore tags.
* knip: remove post-rebase
2025-09-04 22:29:44 -07:00
Christian Byrne
c42c9315f4
[refactor] Replace lodash with es-toolkit ( #4935 )
2025-08-12 12:22:09 -07:00
Benjamin Lu
fef02e5f56
[refactor] Migrate litegraph imports from npm package to local subtree
...
- Updated all imports from '@comfyorg/litegraph' to '@/lib/litegraph/src/'
- Replaced deep dist imports with direct source paths
- Updated CSS import in main.ts
- All imports now use the @ alias consistently
2025-08-03 22:06:29 -04:00
Christian Byrne
b370b6387d
[fix] DOM widgets lose correct positioning when SubgraphNodes are nested ( #4588 )
2025-07-30 02:18:58 -07:00
guill
7eb3eb2473
Update the frontend to support async nodes. ( #4382 )
...
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Christian Byrne <cbyrne@comfy.org >
2025-07-23 13:46:00 +10:00
Christian Byrne
a39f6e6763
[feat] DOM widget promotion for subgraph inputs ( #4491 )
2025-07-21 11:52:54 -07:00
filtered
a7fb685290
Add Subgraphs ( #3905 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-06-28 15:37:23 -07:00
Christian Byrne
4cad1a9567
Add LLM chat history widget ( #3907 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-05-16 22:00:45 -04:00
filtered
0f95ed852e
[TS] Fix / consolidate DOM widget types ( #3830 )
2025-05-09 16:24:31 +10:00
filtered
13441add24
Convert DOM widgets to Litegraph widget subclass ( #3813 )
2025-05-08 10:25:54 +10:00
filtered
3aea2c120a
Update widget types to match Litegraph changes ( #3808 )
2025-05-08 06:56:53 +10:00
Chenlei Hu
197f33ffcd
[Bug] Register dom widget when only node is added to graph ( #3732 )
2025-05-02 12:49:19 -04:00
Chenlei Hu
4461210f43
Prune widgets on graph configure ( #3716 )
2025-05-01 16:07:42 -04:00
Chenlei Hu
cd35f1d86d
[Refactor] Generate DOM widget id in constructor ( #3508 )
2025-04-18 13:47:16 -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
Chenlei Hu
56dbcbbd22
[Bug] Fix convert dom widget placeholder render ( #3256 )
2025-03-27 14:09:30 -04:00
Chenlei Hu
a4b0f5ab5e
[Bug] Fix widget placeholder rendering ( #3215 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-23 23:02:35 -04:00
Chenlei Hu
27c252f74a
Render placeholder rect for DOM widgets when zoomed out ( #3213 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-23 21:35:58 -04:00
MohammadAboulEla
c6046e47d2
Allowing control over domWidgets margin ( #3085 )
2025-03-16 19:16:11 -04:00
Chenlei Hu
bcd76ba49b
Vue component multi-select widget ( #2987 )
2025-03-12 12:03:21 -04:00
filtered
8fa970ffba
Standardise widgets - always initialize y to 0 ( #2982 )
2025-03-11 11:31:03 -04:00
Chenlei Hu
db6a25a092
[Bug] Fix overwriting of hideOnZoom widget option ( #2978 )
2025-03-11 09:57:57 -04:00
Comfy Org PR Bot
e6ef4c8e6d
[chore] Update litegraph to 0.10.0 ( #2963 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
Co-authored-by: Chenlei Hu <hcl@comfy.org >
2025-03-10 15:06:01 -04:00
Chenlei Hu
62528fde2e
[Refactor] Move DOM widget event listeners to vue ( #2960 )
2025-03-10 13:07:23 -04:00
Chenlei Hu
131229f02f
Use uuid for dom widget id ( #2947 )
2025-03-09 17:22:18 -04:00
Chenlei Hu
3a0b337d0c
Manage style of DOM widgets in Vue ( #2946 )
2025-03-09 16:51:42 -04:00
Chenlei Hu
fb0a134278
[Bug] Fix widget remove when node is deleted ( #2918 )
2025-03-07 17:48:37 -05:00
Chenlei Hu
5f149ceb30
[BugFix] Sync dom widget store state on widget remove ( #2902 )
2025-03-06 18:29:30 -05:00
Chenlei Hu
d74f47db0b
Directly use node.collapsed state in dom widget ( #2900 )
2025-03-06 13:50:45 -05:00
Chenlei Hu
f7be9157e0
Dom widget store ( #2899 )
2025-03-06 13:23:58 -05:00
Chenlei Hu
aca419e1fb
[nit] Remove duplicated declaration on DOMWidget interface ( #2883 )
2025-03-05 17:34:48 -05:00
Chenlei Hu
e7863676dd
[BugFix] Fire resize callback for all dom widgets under the same node ( #2882 )
2025-03-05 16:59:16 -05:00
bymyself
81102604f5
Type addDOMWidget ( #2705 )
2025-02-24 10:32:43 -05:00
Chenlei Hu
acea173ba0
[BugFix] Set height to 0 for hidden widgets on GroupNode ( #2566 )
2025-02-15 12:24:38 -05:00
Chenlei Hu
c15201bfe2
[Cleanup] Remove unused imports in domWidget ( #2559 )
2025-02-14 22:09:27 -05:00
Chenlei Hu
0e2ce5e1ca
Upstream widgets layout to litegraph ( #2557 )
2025-02-14 19:40:31 -05:00
Chenlei Hu
f9c2db5908
Type LGraphNode.addDOMWidget ( #2548 )
2025-02-13 15:15:21 -05:00
Chenlei Hu
166ad432f3
[Refactor] Generalize dom widget layout as Widget.computeLayoutSize hook ( #2547 )
2025-02-13 14:30:46 -05:00
Chenlei Hu
174754e646
[Refactor] Extract widget layout logic ( #2545 )
2025-02-13 11:43:40 -05:00
Chenlei Hu
f791322ddb
Revert "[Cleanup] Remove unused hooks on DOMWidget" ( #2543 )
2025-02-12 20:57:38 -05:00
Chenlei Hu
89812ce7d0
[Cleanup] Remove unused hooks on DOMWidget ( #2540 )
2025-02-12 19:41:06 -05:00
Chenlei Hu
c7aaa2a45d
Type Widget.computedHeight ( #2539 )
2025-02-12 16:50:30 -05:00
Chenlei Hu
1a06c91ed1
[BugFix] Workaround custom nodes expectation on DOMWidget.value ( #2505 )
2025-02-10 22:06:20 -05:00
filtered
2d759aa9e3
Fix element style override CSS in #2499 ( #2501 )
2025-02-10 18:11:32 -05:00
Chenlei Hu
08e613e468
Enable ts-strict for scripts/domWidgets ( #2499 )
2025-02-10 17:20:30 -05:00
Chenlei Hu
9051ab8d7a
Type domWidget computeSize ( #2495 )
2025-02-10 12:58:40 -05:00
Chenlei Hu
00abd885c9
[Refactor] ES6 DOMWidget class ( #2482 )
2025-02-09 20:20:51 -05:00
Chenlei Hu
90914a40ba
Use canvas.low_quality flag for DOMWidget show/hide ( #2413 )
2025-02-03 20:23:07 -05:00
filtered
9c53bbd53d
[Refactor] Move type extensions out of LG (SoC) ( #2303 )
...
Co-authored-by: huchenlei <huchenlei@proton.me >
2025-01-20 14:22:56 -05:00