filtered
94f1ca4279
Remove future test ( #249 )
2024-11-01 19:00:02 -04:00
Chenlei Hu
dfb695be72
[Refactor] Rework userFileStore to match existing API on ComfyWorkflow ( #1394 )
...
* nit
* Move load
* nit
* nit
* Update store API
* nit
* nit
* Move api
* nit
* Update tests
* Add docs
* Add temp user file
* Implement save as
* Test saveAs
2024-10-31 21:58:00 -04:00
Chenlei Hu
d3f1b9b125
0.8.14 ( #253 )
2024-10-31 21:57:13 -04:00
Chenlei Hu
ca5a4f37c6
Add release script ( #252 )
2024-10-31 21:56:26 -04:00
filtered
020c912a8d
Convert Links to ES6 Map & LLink Serialisation ( #246 )
...
* Fix intermittent links bug - graph.links Map()
Replaces graph.links with Map()
Adds a Proxy to provide for...in and indexer access
Temporarily uses merged Map+Record type, to ease downstream migration
* nit - Remove redundant code
* nit - Remove redundant null checks
* Add Serializable interface, used in LLink
Allows LLink to be serialised as an object rather than an array, bringing it inline with the rest of LiteGraph.
2024-10-31 21:53:00 -04:00
pythongosssss
eaaa0a4c39
Support for hidden & advanced widgets ( #250 )
2024-10-31 21:41:31 -04:00
Chenlei Hu
2974b9257a
1.3.30 ( #1393 )
v1.3.30
2024-10-31 19:17:19 -04:00
Chenlei Hu
d11d07334b
Add npm release script to automatically create release PR ( #1392 )
...
* Add release script
* nit
2024-10-31 19:14:35 -04:00
filtered
d9d0837423
Code clean up ( #244 )
...
* Replace global var with enums
* Remove unused interface
* Add TS types
* Remove unused code
* nit - Clean up
* Add TS types
* nit - Refactor / clean up
* nit - Add TS types, clean up
* nit - Doc
* nit
* nit
* nit
* nit - Doc
* nit
* nit
* nit - let/const
* nit - Remove redundant code
2024-10-31 14:17:13 -04:00
filtered
002c955bf3
Minor bug fixes & refactors ( #245 )
...
* Fix TS errors - use correct property
* Fix graph version bumped without change
* Fix onDrawForeground callback has wrong area
* Move node pos getter/setter to class decl
2024-10-31 14:16:24 -04:00
Chenlei Hu
0c8fe41b84
Fix queue ResultItem schema ( #1386 )
2024-10-30 20:36:33 -04:00
filtered
ed0592d6e0
Update litegraph API - add @ts-expect-error ( #1380 )
...
* Update litegraph API - add @ts-expect-error
LG update removes some implicit any, exposing existing errors
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-10-30 20:05:04 -04:00
Chenlei Hu
94f4147f92
Fix double trigger of setting onChange callback ( #1385 )
...
* Fix onChange double trigger
* nit
* Add playwright test
2024-10-30 19:55:46 -04:00
Chenlei Hu
c444ee2c44
0.8.13 ( #243 )
2024-10-30 19:49:47 -04:00
filtered
2bea13443d
Fix types not resolving through '@/imports' ( #215 )
2024-10-30 19:49:02 -04:00
filtered
b74662fbad
Fix group order unexpectedly reversing ( #242 )
2024-10-30 19:48:48 -04:00
Chenlei Hu
67ee8726ef
1.3.29 ( #1383 )
v1.3.29
2024-10-30 16:34:49 -04:00
Chenlei Hu
e48c78541c
Hide empty folders when searching in model library ( #1382 )
2024-10-30 16:27:35 -04:00
Chenlei Hu
bf7a9bf5eb
Update litegraph (link snap to slot & highlight) ( #1378 )
...
* Update litegraph (link snap)
* Add settings
* nit
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-30 15:23:58 -04:00
filtered
116b21e8f5
Add / fix canvas TS strict types, doc ( #237 )
...
* Fix circular depdency in global
* Add TS type guard private function
* Add TS type
* Add TS types & doc
* Add TS type initialisers
* Add NullableProperties type
* Add TS types
* Split node arrange code out to separate file
2024-10-30 14:32:55 -04:00
filtered
3fb2d423ba
Update litegraph API - 237 ( #1376 )
2024-10-30 13:43:38 -04:00
Chenlei Hu
e163724e64
0.8.12 ( #241 )
2024-10-30 12:05:14 -04:00
filtered
95af20c1c4
Snaps for Comfy 🫰 ( #239 )
...
* Add Snaps for Comfy
* Add snap visual effects
* Update node measure to work everywhere
* Fix findConnectByTypeSlot does not work for "*"
* Fix regression in fast widget conversion
2024-10-30 12:02:41 -04:00
Chenlei Hu
74f7311585
Fix jest test mock ( #1375 )
2024-10-30 10:37:54 -04:00
Chenlei Hu
97c38583e9
Rename workspaceStateStore to workspaceStore ( #1374 )
2024-10-30 09:49:23 -04:00
filtered
94223b2846
Fix minor debug log spam when dragging link ( #238 )
2024-10-29 22:08:47 -04:00
Chenlei Hu
324eff93fd
Update Litegraph API - canvas.state ( #1372 )
...
* Update Litegraph API - canvas.state
* Update litegraph
---------
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2024-10-29 22:07:04 -04:00
Chenlei Hu
4b1104f52c
Add node id to execution error report ( #1371 )
2024-10-29 21:48:45 -04:00
Chenlei Hu
4ae80c6f79
0.8.11 ( #240 )
2024-10-29 21:40:54 -04:00
filtered
0b174adfeb
Move canvas state to plain object ( #233 )
...
* Move canvas state to plain object
POCO that can be proxied without side-effects.
LGraphCanvasState interface added to package exports
* Add item dragging to canvas state
2024-10-29 21:39:46 -04:00
Chenlei Hu
d702fc81a2
1.3.28 ( #1370 )
v1.3.28
2024-10-29 20:30:07 -04:00
Chenlei Hu
2a94ab4423
Fix empty model library folder content ( #1369 )
2024-10-29 20:28:50 -04:00
Chenlei Hu
37f6c89383
1.3.27 ( #1366 )
v1.3.27
2024-10-29 17:56:28 -04:00
Chenlei Hu
35fab0bef3
Focus mode ( #1365 )
...
* Menu hamburger
* Focus
* nit
* nit
* nit
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-29 17:25:18 -04:00
filtered
795e932b8f
Fix husky pre-commit & type check only staged ( #1361 )
...
* Fix husky pre-commit on some Windows clients
https://github.com/typicode/husky/issues/1072#issuecomment-1784006332
* Limit commit type check to staged files
Adds tsc-files package (dev only) and its config
* Remove deprecated git add from lint-staged
2024-10-29 14:15:07 -04:00
Chenlei Hu
8dddffe840
Use browser download in missing model dialog ( #1362 )
...
* Remove custom backend download logic
* Add download hooks
* Download button
* Use browser download
* Update test
2024-10-29 14:07:16 -04:00
Chenlei Hu
1f91a88d7b
Move linkRenderMode extension to core ( #1359 )
2024-10-29 11:00:10 -04:00
Chenlei Hu
10f43be911
Remove show model folder checkbox in missing model dialog ( #1358 )
...
* Remove show model folder checkbox in missing model dialog
* nit
* nit
2024-10-29 10:15:31 -04:00
Chenlei Hu
87517daf1f
Restyle missing model warning dialog ( #1354 )
...
* Restyle missing model dialog
* nit
* nit
* nit
* nit
2024-10-29 09:26:02 -04:00
Chenlei Hu
739ebd3d04
Auto-expand model library tree on search ( #1357 )
2024-10-29 09:24:56 -04:00
Chenlei Hu
4582c71583
[Refactor] Rework modelStore and ModelLibrarySidebarTab ( #1350 )
...
* nit
* Rename
* nit
* Move load model folders to app level
* Various fixes
* nit
* nit
* wip
* nit
* nit
* nit
* Split
* nit
* Add back spinner
* nit
* nit
* Add refresh button
* nit
* nit
* Preserve model folder order
* Avoid order change on folder open
2024-10-28 21:23:53 -04:00
Chenlei Hu
757f0ced81
1.3.26 ( #1353 )
v1.3.26
2024-10-28 19:59:43 -04:00
Chenlei Hu
a471a3f302
[skip ci] Add typecheck pre-commit hook ( #1352 )
2024-10-28 19:56:04 -04:00
Chenlei Hu
5a3a8d32ab
Update litegraph 0.8.10 ( #1351 )
2024-10-28 19:49:48 -04:00
Chenlei Hu
a2c705897f
0.8.10 ( #236 )
2024-10-28 19:19:39 -04:00
filtered
21b9cb6089
Multi-link drag keeps links bundled properly ( #224 )
2024-10-28 19:00:08 -04:00
filtered
5070866299
Add / improve Node interfaces: Find slots & before connect callback ( #226 )
...
* Add connectByType wrappers
Can find slots without actually connecting. Will be used for link snapping.
* Refactor - generic find free slot
* Fix link/links TS types - should not be undefined
* Fix / add TS types, docs
* Refactor - fix overloads TS types
* Refactor - optional chaining
* Extend node before-connect callback
The callback can now determine if connection is to a specific input, or just trying to connect any valid slot on the node.
* Add TS types - finish IOptionalInputsData
2024-10-28 18:59:43 -04:00
Chenlei Hu
44b109a449
Add type annotation for missingNodeTypes ( #1349 )
...
* Add type annotation for missingNodeTypes
* nit
* nit
2024-10-28 17:26:52 -04:00
Chenlei Hu
229896a4b7
Restyle missing node warning dialog ( #1348 )
...
* nit
* Restyle missing node warning dialog
* nit
* nit
2024-10-28 16:45:47 -04:00
Chenlei Hu
997b5ee819
Update litegraph (Fix group select) ( #1342 )
...
* Update litegraph (Fix group select)
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-27 22:05:18 -04:00