Christian Byrne
3758a435cb
[API Node] Sort API templates by localized display name ( #3765 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-05-05 10:55:02 -07:00
Christian Byrne
813bf11484
Fix execution error message overflowing out of screen ( #3762 )
2025-05-05 23:20:32 +10:00
filtered
b5ae354bec
Prevent node tooltip from breaking pan & zoom ( #3760 )
2025-05-05 22:48:25 +10:00
Comfy Org PR Bot
f6101bccae
0.15.0 ( #1012 )
...
Minor version increment to 0.15.0
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-05 10:51:30 +10:00
filtered
75df19521b
Widget overhaul ( #1010 )
...
### Widget text overhaul
#### Current
- Numbers and text overlap
- Combo boxes truncate the value before the label

#### Proposed
**By default, widgets will now truncate their labels before their
values.**
https://github.com/user-attachments/assets/296ea5ab-d2ff-44f2-9139-5d97789e4f12
- Changes the way widget text is rendered, calculated, and truncated
- Truncation now applies in a standard way to the following widgets:
- Text
- Combo
- Number
- Centralises widget draw routines in base class
### Config
```ts
// Truncate **both** widgets and labels evenly
LiteGraph.truncateWidgetTextEvenly = true
// Swap the default from truncating labels before values, to truncating values first (restores legacy behaviour)
// truncateWidgetTextEvenly **must** be `false`.
LiteGraph.truncateWidgetValuesFirst = true
```
### API / interfaces
- Adds rich `Rectangle` concrete impl., with many methods and helpful
accessors (e.g. `right`, `bottom`)
- Actually _improves_ performance due to switch from Float32Array to
Float64Array
- Impact vs plain Float64Array was not detectable outside of a 2M+
instantiation-loop with random data
- Lazy `pos` & `size` `subarray` properties
- Adds `ReadOnlySize`
- Adds higher-level text draw functions to abstract the nitty gritty in
a performant way (binary search)
- Resolves Comfy-Org/ComfyUI_frontend/issues/457
2025-05-05 10:48:06 +10:00
Comfy Org PR Bot
7a1a626b36
1.19.1 ( #3756 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
v1.19.1
2025-05-04 20:45:43 -04:00
Comfy Org PR Bot
63d24301a3
[chore] Update litegraph to 0.15.0-3 ( #3757 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-05 09:31:52 +10:00
Chenlei Hu
93d7d2c69c
[Bug] Remove default dialog close button on news dialog ( #3758 )
2025-05-04 19:07:13 -04:00
Comfy Org PR Bot
406abd7731
0.15.0-3 ( #1011 )
...
Prerelease version increment to 0.15.0-3
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-05 09:01:05 +10:00
Chenlei Hu
2d9a0d02ab
[API Nodes] Add API Nodes new feature dialog ( #3755 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-05-04 17:20:05 -04:00
filtered
386f18a1e5
Remove DragAndScale rounding when using trackpad ( #1009 )
...
Fixes issue where pinch to zoom would jitter around scale 1 - D&S rounds
the value to exactly 1 when it is "close enough". Good for pointer, poor
UX for precision trackpad.
2025-05-04 21:06:43 +00:00
filtered
6601cf6959
Add setting to enable Litegraph trackpad gestures ( #3751 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-05-04 14:31:43 +10:00
Terry Jia
77ac4a415c
[3d] add recording video support ( #3749 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-05-03 23:00:07 -04:00
Comfy Org PR Bot
8ae36e2c8d
[chore] Update litegraph to 0.15.0-2 ( #3750 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-04 12:01:52 +10:00
Comfy Org PR Bot
53f766af3d
0.15.0-2 ( #1008 )
...
Prerelease version increment to 0.15.0-2
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-04 12:00:10 +10:00
filtered
81eed7a1fa
Add macOS trackpad gesture support ( #1007 )
...
Adds trackpad gesture support to canvas interaction. Supports:
- Pinch to zoom
- Two-finger panning
Feature is off by default. Also by default, the browser user-agent must
include "Mac" (even if the feature has been enabled).
```ts
// Enable mac trackpad gestures
LiteGraph.macTrackpadGestures = true
// Disable the default Mac user-agent check
LiteGraph.macGesturesRequireMac = false
```
2025-05-04 11:58:24 +10:00
Yiximail
cb9ec354e7
Implement mask editor undo/redo ( #3708 )
2025-05-03 19:55:37 -04:00
filtered
8713cd6e25
[TS] Require override keyword ( #3746 )
2025-05-03 19:54:45 -04:00
filtered
bfc87af9d1
[TS] Force explicit override & property access ( #1006 )
...
Enables TypeScript rules that improve code legibility.
- Requires `override` keyword
- Prevent indexed properties from being accessed with dot notation
```ts
const obj: Record<string, unknown> = {}
// Prefer
obj["property"]
// Over
obj.property
```
2025-05-03 20:37:01 +00:00
filtered
c30244ef66
[Desktop] Fix Server-Config panel does not load ( #3743 )
2025-05-04 05:13:04 +10:00
Comfy Org PR Bot
2024aa6562
1.19.0 ( #3737 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
v1.19.0
2025-05-03 11:14:47 -04:00
filtered
00c2181bb6
Show warning toast when no items are selected ( #3741 )
2025-05-03 11:14:02 -04:00
filtered
f2eafae82d
Add no-items-selected event ( #1004 )
...
Emits an event when attempting to delete items with nothing selected.
Event is generic and should also be used to report any other
user-initiated actions.
Emitted from LGraphCanvas.canvas
- bubbles
- non-cancellable
```
litegraph:no-items-selected
```
2025-05-03 13:49:33 +00:00
Christian Byrne
743f3cb5a1
[Subgraph] Add subgraph breadcrumbs component ( #3241 )
...
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2025-05-03 09:31:45 +10:00
Comfy Org PR Bot
111fdcc71a
[chore] Update litegraph to 0.15.0-1 ( #3738 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-03 08:33:18 +10:00
Comfy Org PR Bot
aa9f2f74b1
0.15.0-1 ( #1003 )
...
Prerelease version increment to 0.15.0-1
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-03 08:14:00 +10:00
filtered
27fbc2ea7c
[API] Rewrite LGraphCanvas.setGraph for subgraph ( #1002 )
...
Code search showed no usage.
Fixes TS type on LGraph.
2025-05-02 22:01:59 +00:00
Terry Jia
ba3b1bae87
add List view for workflow tempalte ( #3710 )
...
Co-authored-by: Chenlei Hu <hcl@comfy.org >
Co-authored-by: github-actions <github-actions@github.com >
2025-05-02 17:50:53 -04:00
filtered
9dcc3bf39a
[Refactor] Remove redundant code ( #1001 )
...
Removes redundant code. After being refactored out of LGraphCanvas, the
class methods were being passed their own properties as params.
2025-05-02 18:06:23 +00:00
Christian Byrne
23d32282bc
Fix: server fails to load SVG outputs when user has "Preview Format" setting specified ( #3734 )
2025-05-02 10:09:50 -07:00
Chenlei Hu
197f33ffcd
[Bug] Register dom widget when only node is added to graph ( #3732 )
2025-05-02 12:49:19 -04:00
filtered
b618ebe36d
Change groupNode menu anchor to retain position ( #3733 )
2025-05-03 02:11:06 +10:00
Benjamin Lu
b61640c51b
[Desktop] Add toasts for update check ( #3723 )
...
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2025-05-02 11:06:51 -04:00
Comfy Org PR Bot
869f500d4e
1.18.6 ( #3730 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
v1.18.6
2025-05-02 10:59:25 -04:00
Chenlei Hu
ec8ee49a2c
[Bug] Fix zoom lag of DOM widget ( #3714 )
2025-05-02 10:58:51 -04:00
Comfy Org PR Bot
53372110d3
[chore] Update electron-types to 0.4.43 ( #3731 )
...
Co-authored-by: benceruleanlu <162923238+benceruleanlu@users.noreply.github.com >
2025-05-02 10:32:13 -04:00
Christian Byrne
1cbc0fc613
[API Node] Sort API templates by name ( #3721 )
2025-05-01 21:30:32 -04:00
filtered
c82401c61c
[TS] Fix strict type on chain callback, widgetInput ( #3727 )
2025-05-01 21:29:43 -04:00
Comfy Org PR Bot
2c75948ab9
[chore] Update litegraph to 0.15.0-0 ( #3725 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-02 10:27:52 +10:00
Comfy Org PR Bot
b838a70ed2
0.15.0-0 ( #998 )
...
Preminor version increment to 0.15.0-0
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-05-02 00:10:00 +00:00
filtered
89b826a231
[Test] Add missing test expectation ( #3724 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-05-02 09:57:29 +10:00
Christian Byrne
3806ba3bf1
Increase template card titles' line height to 2 lines ( #3722 )
2025-05-01 19:28:02 -04:00
thot experiment
878aedb4f7
add svg metadata loading ( #3719 )
...
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2025-05-02 09:26:24 +10:00
filtered
199eeae269
Add subgraph skeleton classes ( #997 )
...
Allows downstream consumers to use subgraph types ahead of impl.
2025-05-01 23:16:19 +00:00
filtered
ee89fc575f
[Cleanup] Removes unused code ( #996 )
...
- Removes unused code
- Removes unnecessary globalAlpha reset when drawing reroute highlight
2025-05-01 22:38:54 +00:00
filtered
cb6020dfc1
[Perf] Prefer set over array.includes ( #995 )
...
Simplifies code and improves performance.
2025-05-01 22:31:51 +00:00
filtered
388a3d64cc
[Refactor] Split node slot code out to base class ( #994 )
...
Foundational work for subgraph.
2025-05-01 22:26:25 +00:00
filtered
2e0267105e
[chore] Update typescript package ( #993 )
...
v5.8.2 -> v5.8.3
2025-05-01 22:19:50 +00:00
Comfy Org PR Bot
f7e4ed23d7
[chore] Update litegraph to 0.14.6 ( #3717 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
Co-authored-by: github-actions <github-actions@github.com >
2025-05-01 16:19:35 -04:00
Chenlei Hu
4461210f43
Prune widgets on graph configure ( #3716 )
2025-05-01 16:07:42 -04:00