Comfy Org PR Bot
c128551af5
0.9.3 ( #693 )
2025-03-03 06:31:14 +00:00
bymyself
83fb246119
Fix Selection Marquee display is offset when DPI < 1 ( #692 )
...
Fixes https://github.com/Comfy-Org/ComfyUI_frontend/issues/2481 . The
canvas scaling behavior is not consistent with DPI which is the source
of many bugs. To verify, add console log somewhere:
2025-03-03 17:06:15 +11:00
Comfy Org PR Bot
2a12864a67
0.9.2 ( #690 )
...
Automated version bump to 0.9.2
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-02 21:25:12 -05:00
Chenlei Hu
4cbf12849e
[BugFix] Fix add node via context menu (2) ( #689 )
...
https://github.com/Comfy-Org/litegraph.js/pull/647 failed to convert
`return` to `continue` when converting forEach to for-lop.
2025-03-02 21:21:39 -05:00
Chenlei Hu
9af4ee120c
Revert "[BugFix] Fix adding node via context menu" ( #688 )
...
Reverts Comfy-Org/litegraph.js#682
Reason: Revert improper fix.
2025-03-02 21:15:45 -05:00
Chenlei Hu
1200c0fd91
[CI] Sync workflow_tempaltes fetch ( #687 )
...
Sync https://github.com/Comfy-Org/ComfyUI_frontend/pull/2775
2025-03-02 19:12:44 -05:00
Comfy Org PR Bot
ff43f183d1
0.9.1 ( #686 )
...
Automated version bump to 0.9.1
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-02 18:52:36 -05:00
Chenlei Hu
66a9214de6
[CI] Use pr bot PAT ( #685 )
2025-03-02 18:52:28 -05:00
Chenlei Hu
1407f1d720
[nit] main -> master ( #684 )
2025-03-02 18:41:55 -05:00
Chenlei Hu
326670206d
[BugFix] Fix adding node via context menu ( #682 )
...
Resolves https://github.com/Comfy-Org/ComfyUI_frontend/issues/2814
Culprit: https://github.com/Comfy-Org/litegraph.js/pull/647
2025-03-02 18:38:31 -05:00
Chenlei Hu
017a473f5b
[CI] Use gh action to bump version ( #683 )
2025-03-02 18:38:22 -05:00
filtered
f6653ef45b
0.9.0 ( #681 )
...
Automated version bump to 0.9.0
2025-03-02 15:35:12 +00:00
filtered
af7db40fce
[chore] Clean up ignores after strict mode enabled ( #680 )
...
- Replaces all `ts-ignore` with `ts-expect-error`
- Resolves https://github.com/Comfy-Org/litegraph.js/issues/578
2025-03-02 14:56:15 +00:00
filtered
165cf210d3
Globally enable TypeScript strict mode ( #679 )
...
- Enables TypeScript strict mode, repo-wide
- Prevents `tsc` from emitting files
- Removes `typescript-strict-plugin` package
- Removes redundant CI step
2025-03-02 14:45:37 +00:00
filtered
a815ce92a8
Add final refactoring to enable TS strict ( #678 )
...
- Removes long-deprecated onMenuNodePin
- Code search empty
- Fixes TS types
- Minor refactors to ensure type-safety
- Adds explicit throws and null checks
2025-03-02 14:42:24 +00:00
filtered
972527de70
[Refactor] Use strict mode in Add Node menus ( #677 )
...
- Improves TS types
- Adds type guards / null checks
2025-03-02 14:17:25 +00:00
filtered
77b274f27f
Add link context menu info to replace console error ( #676 )
...
Shows a single menu item with an error message when a link is corrupt.
2025-03-02 14:10:43 +00:00
filtered
b1885ebec8
Remove redundant code - onGetInputs / onGetOutputs ( #674 )
...
- Removes unused context menu for optional in/outputs
- At the top of the node context menu, greyed out `Inputs` and `Outputs`
- API does not fit with current design
- If required, rewrite would be simpler
2025-03-02 13:47:48 +00:00
filtered
6cb9131035
[TS] Use strict mode in LGraphCanvas ( #673 )
...
- Adds remaining TS nullable types
- Adds type guards to allow strict mode
- Uses explicit throw in places that would throw regardless
- Adds ts-ignore that must be removed later
* [ ] #578
2025-03-02 13:34:02 +00:00
filtered
41e552b719
0.9.0-alpha.0 ( #672 )
...
Pre-release version update to: 0.9.0-alpha.0
2025-03-02 12:45:08 +00:00
filtered
02d991d669
[Refactor] Minor refactors to support strict mode ( #671 )
...
- Removes unnecessary `null`-init
- Deprecates unused drag / drop code
- Adds null checks
2025-03-02 09:02:29 +00:00
filtered
1aba15bbca
Fix incorrect links highlighted ( #670 )
...
Fixes rare issue where incorrect links could be highlighted (and
seemingly remain highlighted).
Requires corrupt links & null coercion.
2025-03-02 08:49:13 +00:00
filtered
78175e2c1b
[TS] Add strict nullability to LGraphCanvas ( #669 )
...
- Updates typing in copy & paste
- Clean up
2025-03-02 08:34:26 +00:00
filtered
d597271954
Add runtime type guards to search box ( #668 )
...
- Prevents unnecessary property access exceptions
- Adds TS strict types
- Removes inline polyfill for `Array.filter`
2025-03-02 08:12:15 +00:00
filtered
9b6a78e7df
[Refactor] Prefer createElement over innerHTML ( #667 )
...
- Part of TS strict conversion
- Improves type safety of canvas panel / dialog functions
- Removes more instances of pointer event wrapper
2025-03-02 02:47:22 +00:00
filtered
193b09999f
[TS] Use strict mode in dialog & panel ( #666 )
...
Includes minor refactors to retain inferred types in branches.
2025-03-02 02:27:10 +00:00
filtered
6a42484669
[TS] Use strict nullability in LGraphCanvas ( #665 )
...
- Adds runtime null checking
- Converts canvas context to non-nullable
- Adds explicit throws for some edge cases
- Improves TS types
2025-03-01 22:44:34 +00:00
filtered
539fa91b0d
[TS] Use strict mode in LGraphCanvas ( #664 )
...
- Prefer `undefined` over `null`
- Primarily nullable type updates
2025-03-01 21:58:50 +00:00
filtered
ab25d1fc6e
[Cleanup] Remove redundant code ( #663 )
...
Removes:
- Unused option from public API `getWidgetAtCursor` - use without params
- Unused workaround impl. for WebGL
- Invalid code (incorrect `tabIndex` casing)
2025-03-01 17:54:35 +00:00
filtered
ecb69a4f1d
Update README to reflect repo status ( #662 )
...
Rewrites or restructures most of the former README, so that it is
relevant to this fork instead of the original.
- Maintains original contributors, and places original
projects/description under an expanders
- Removes all references to the editor
- Removes information about the removed built-in nodes
- Updates code samples
- Reformats various sections
2025-03-02 03:35:16 +11:00
filtered
7b4bea8e62
Remove deprecated code - webGL ( #660 )
...
Removes long-deprecated WebGL code.
2025-03-01 16:33:17 +00:00
filtered
31d3168201
0.8.100 ( #661 )
...
Automated version bump to 0.8.100
2025-03-02 03:24:41 +11:00
filtered
ec34498264
Fix compiler warning - incorrect schema order ( #658 )
...
Resolves warning about `types` export being loaded last.
2025-03-01 15:18:42 +00:00
Chenlei Hu
1e7897930c
[CI] Update frontend install method ( #659 )
...
Sync https://github.com/Comfy-Org/ComfyUI_frontend/pull/2783
2025-03-01 10:18:14 -05:00
filtered
177a5a0d54
[CodeHealth] Remove wheel listener & event wrapper ( #656 )
...
- Replaces the long-deprecated `mousewheel` and `DOMMouseScroll` event
listeners with `wheel` listener
- Verified no change in Chromium behaviour (desktop, mouse)
- Removes redundant pointer listener wrapper
- Fixes types
2025-03-01 13:18:15 +00:00
Miguel C
5721b1c27c
[Refactor] Fix step calculation in Knob Widget ( #651 )
...
Removes a stray console.log and fixes the step calculation.
2025-03-01 23:36:55 +11:00
filtered
c473130499
[TS] Use strict mode in LGraphCanvas ( #654 )
...
- Prefer creating HTML elements in JS and `append()` over innerHTML &
`querySelector()`
- Removes redundant code
- Adds/fixes TS types
2025-03-01 11:52:42 +00:00
filtered
bad923a7f0
[Refactor] Remove deprecated mousewheel events ( #652 )
...
Prefer "wheel" event (added around Chrome v31).
2025-03-01 11:34:23 +00:00
filtered
5f95dd1853
[CI] Update frontend test to new vitest scripts ( #653 )
...
- Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/2779/
2025-03-01 11:17:16 +00:00
filtered
b36bf3d4a2
[CodeHealth] Apply modern standards to LGraphCanvas ( #650 )
...
- Prefer template string
- Prefer explicit throw to undefined TypeError
- Remove unnecessary `this` assignment
2025-02-28 22:08:23 +00:00
filtered
c4faaf4210
[TS] Fix ContextMenu types ( #649 )
...
- No runtime changes
- Drastically improves ContextMenu type accuracy / safety
- Allows TS strict conversion
2025-02-28 14:52:07 +00:00
filtered
b877312336
[Refactor] Fix TS types, remove redundant code ( #648 )
...
Minor clean up and graph null deref checks.
Minor runtime change: due to optional chaining, it is possible a
downstream consumer is catching this extremely rare behaviour on purpose
and handling it.
2025-02-28 11:13:23 +00:00
filtered
4365873039
[Refactor] Prefer NullGraphError & standardisation ( #647 )
...
- Best effort code search for convert explicit `null` to `undefined`
- Prefer explicit throw over `TypeError`
- Prefer template strings
2025-02-28 20:16:34 +11:00
filtered
b4688e18f9
[Refactor] Prefer includes over indexOf -1 ( #646 )
...
Enables ESLint auto-fix rule.
2025-02-28 08:53:29 +00:00
filtered
7b19abf83a
[TS] Use strict mode in Canvas: initializers ( #645 )
...
- Code search verified no consumers expecting explicit null on callbacks
(best effort)
- Removes redundant code
2025-02-28 08:48:53 +00:00
Chenlei Hu
955d20d8ea
0.8.99 ( #644 )
...
Automated version bump to 0.8.99
2025-02-27 16:27:06 -05:00
Chenlei Hu
c66ca2ae66
Remove magic 10% scale on numeric widget step ( #643 )
...
There are external code still dependent on the fact that
Widget.options.step is scaled 10x, so the 10x-ed value is still kept
there, while we use the new unscaled step2 within our code now.
Ref:
https://cs.comfy.org/search?q=context:global+%22step+/+10%22&patternType=keyword&sm=0
2025-02-27 16:23:53 -05:00
filtered
0a09ecc7ac
[TS] Use strict mode in LGraphNode ( #642 )
...
- Adds minor type coercions to resolve type errors
- Deprecates unused public APIs
- 7a0336e3ad7239b7bb588bbbe7912322257e9ae2 works around a bug in the tsc
strict plugin
- Adds ts-ignore that must be removed later
* [ ] #578
2025-02-27 19:03:42 +00:00
filtered
fab386275c
[Refactor] Clean up LGraphNode ahead of TS strict ( #641 )
...
Preparation for TS strict conversion. Simplifies code & improves
readability.
2025-02-27 17:55:11 +00:00
filtered
38dd7b7089
[Refactor] Prefer for..of to incremental for loops ( #640 )
...
- Converts incremental for loops to for..of loops
- Improves readability
2025-02-27 16:28:10 +00:00