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
filtered
79fee6ac72
Fix collapsed node textarea causes UI inconsistency ( #2267 )
2025-01-16 11:50:53 -05:00
Chenlei Hu
d8f074fea0
[Lint] Sort imports ( #2104 )
2024-12-30 17:26:37 -05:00
Chenlei Hu
05ba526388
Type DOMWidget and DOMWidgetOptions ( #1517 )
...
* Type DOMWidget and DOMWidgetOptions
* Annotate widget value type
2024-11-12 13:35:24 -05:00
Chenlei Hu
4bc79181ae
Move DOMClippingEnabled to coreSettings.ts ( #1516 )
...
* Move DOMClippingEnabled to coreSettings.ts
* nit
2024-11-12 12:01:44 -05:00
filtered
59b555b448
Fix multiline text input alignment & clipping ( #1513 )
...
* Simplify multiline widget scaling
* Fix multiline widget clipping
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-12 10:38:03 -05:00
Chenlei Hu
1ff6e27d9c
Manage widget definitions with Pinia store ( #1510 )
...
* Fix compile
* nit
* Remove extensions.test
* nit
2024-11-11 17:23:52 -05: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
pythongosssss
f75f774ddb
Graph canvas menu ( #1023 )
...
* add graph canvas menu
* Move to corner
* Remove action bar reset zoom button
* nit
* Add setting
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca >
2024-09-30 16:06:43 -04:00
Chenlei Hu
12c699cc87
Update litegraph (Getters) ( #829 )
...
* Update litegraph (Getters)
* Update
2024-09-14 17:10:57 +09:00
pythongosssss
aaea05a37b
Sync pr fix clip path when using new menu ( #184 )
...
* Sync pr fix clip path when using new menu
* Enable test
* Update outdated test image
* Update test image
2024-08-29 18:02:10 -04:00
Chenlei Hu
6f9d2bfa17
Relands "Add support for LiteGraph to convert to classes" ( #667 )
...
* Revert "Revert "Add support for LiteGraph to convert to classes (#334 )" (#386 )"
This reverts commit d607f6c7f7 .
* Format
2024-08-28 15:35:05 -04:00
Alex "mcmonkey" Goodwin
ea01fde607
[Experimental] hide/show logic improvement ( #475 )
...
* experimental hide/show logic improvement
for #470
* minor early out fix
not sure this is strictly needed (doesn't seem to be from a test, seems draw stops being called when hidden?) but better safe than sorry
* use null
* persist collapsed state
2024-08-19 21:22:48 -04:00
Chenlei Hu
add2f9baa0
Group comfy core settings ( #508 )
...
* Add category overwrite
* Group settings
2024-08-18 12:49:23 -04:00
Chenlei Hu
d607f6c7f7
Revert "Add support for LiteGraph to convert to classes ( #334 )" ( #386 )
...
This reverts commit e2141a81e2 .
2024-08-12 09:19:10 -04:00
filtered
e2141a81e2
Add support for LiteGraph to convert to classes ( #334 )
...
* Add support for LiteGraph to convert to classes
* Fix large context menu search regression
* Remove debug code
* Fix regression from rename & prototype change
* Fix super() calls to match LGraphNode
2024-08-11 09:46:54 -04:00
Chenlei Hu
23fcdd3e44
Attach DOM widgets to canvas container instead of document body ( #364 )
2024-08-10 18:38:56 -04:00
pythongosssss
7a980f46c9
Add support for node/input/output tooltips ( #287 )
...
* Add support for node/input/output tooltips
* pr feedback
* Remove
2024-08-04 11:54:46 -04:00
余腾靖
b5a919e8b2
fix: remove useless @ts-ignore and migrate to @ts-expect-error ( #293 )
...
* fix: vite primevue/treenode import error
* refactor: remove useless @ts-ignore and replace with @ts-expect-error
* build(tsconfig): enable incremental to speed up secondary time type check
2024-08-04 07:22:24 -04:00
Chenlei Hu
e179f75387
Apply new code format standard ( #217 )
2024-07-25 10:10:18 -04:00
Chenlei Hu
d6b2d5fb4f
Use npm package @ComfyOrg/litegraph ( #89 )
...
* Use npm to manage litegraph
* Fix merge issues caused by BetaUI change
* Switch to @comfyorg/litegraph
* Fix various import
* Fix css apply order bug
* Fix package lock
* Update litegraph
* Update litegraph
* Update browsertest expectations
* Update test expectations [skip ci]
* Fix default view screenshot
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-07-05 20:53:47 -04:00
Chenlei Hu
acdaa6a594
Format all code / Add pre-commit format hook ( #81 )
...
* Add format-guard
* Format code
2024-07-02 13:22:37 -04:00
Chenlei Hu
5f979e844c
Relands BetaUI ( #77 )
...
* PR1
* PR2
* pr3
* Fix
* Revert 3909
* Ignore/fix type errors
* Fix import
2024-07-01 18:07:12 -04:00
Chenlei Hu
b69f15e5d7
Revert "Beta UI by pythongosssss ( #70 )" ( #72 )
...
This reverts commit 0d084e2cb0 .
2024-07-01 12:58:45 -04:00
Chenlei Hu
0d084e2cb0
Beta UI by pythongosssss ( #70 )
...
* PR1
* PR2
* pr3
* Fix
* Revert 3909
* Ignore/fix type errors
2024-07-01 12:55:16 -04:00
Chenlei Hu
d4c8992356
Audio node widgets ( #54 )
...
* Add audio widgets
* Change rendering order
* Proper output node
* Change indent
* Fix param
* Hide audio widget when output is empty
* Load default value
* populate audio widget from history
* Prevent init if no audio selection
2024-06-27 09:11:31 -04:00
Chenlei Hu
3ace859106
Revert "Use npm to manage litegraph dependency ( #45 )" ( #47 )
...
This reverts commit 4640eaf0ac .
2024-06-20 13:55:36 -04:00
Chenlei Hu
4640eaf0ac
Use npm to manage litegraph dependency ( #45 )
...
* Add comfyui-litegraph dep
* remove static copy
* Remove litegraph impl
* Fix various issues
* LiteGraph import
* Fix test ref issue
* Change to stable version of litegraph
* update README
2024-06-19 23:08:43 -04:00
Chenlei Hu
1376459cd8
Migrate app.js ( #12 )
...
* Rename js to ts
* Fix all tsc errors
* nit
2024-06-14 17:11:19 -04:00
Chenlei Hu
2595d12a84
Re-enable TSC on build ( #5 )
...
* Fix fall through
* Re-enable tsc
2024-06-14 09:55:33 -04:00
Chenlei Hu
74abc34624
Migrate domWidget from js to ts ( #3 )
...
* Rename js to ts
* Migrate domWidget.js
* Fix global declare
2024-06-13 23:57:14 -04:00