Chenlei Hu
2da23fd373
[Refactor] Extract litegraph settings sync to a composable ( #2461 )
2025-02-06 15:21:11 -05:00
Chenlei Hu
7ddcac88d7
[Refactor] Upstream drag zoom feature to litegraph ( #2459 )
2025-02-06 14:54:36 -05:00
Chenlei Hu
1061620783
[Refactor] Move paste handling to usePaste composable ( #2452 )
2025-02-06 13:37:37 -05:00
Chenlei Hu
af7a6601e0
[Refactor] Move copy handling to useCopy composable ( #2451 )
2025-02-06 13:22:48 -05:00
Chenlei Hu
6525ae7cf4
[Refactor] Rename hooks/ to composables/ ( #2437 )
2025-02-05 15:05:56 -05:00
KarryCharon
2c12df12ab
[i18n] Impl i18n context menu translation ( #2425 )
...
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: huchenlei <huchenlei@proton.me >
2025-02-05 12:07:40 -05:00
Chenlei Hu
98c197e8b1
Add LiteGraph.Canvas.LowQualityRenderingZoomThreshold setting ( #2412 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-02-03 20:28:07 -05:00
filtered
57bc7ad312
Add node tooltip delay setting ( #2396 )
...
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2025-02-02 14:31:34 -05:00
Chenlei Hu
7afc1baf7d
[Refactor] Extract litegraph canvas drop target logic as composable ( #2381 )
2025-01-29 17:15:01 -08:00
Chenlei Hu
7bdad335ca
[Refactor] Extract global window litegraph as a composable ( #2380 )
2025-01-29 16:53:26 -08:00
filtered
e3ab0e4d68
Add option to disable combo box zoom-in scaling ( #2362 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-01-27 22:56:40 +11:00
bymyself
7bd8527bca
Add cursor drop effect when dragging nodes/models onto graph ( #2354 )
2025-01-26 07:08:10 -05:00
Chenlei Hu
2852720b2c
[Refactor] Extract workflow/workflow tabs restore into a composable ( #2350 )
2025-01-25 16:58:50 -05:00
Chenlei Hu
38b8a68e50
[Refactor] Move workflow restore from app to GraphCanvas ( #2349 )
2025-01-25 15:36:50 -05:00
Chenlei Hu
1bcc00cd33
[i18n] Load custom nodes locales from ComfyUI server ( #2314 )
2025-01-22 17:37:02 -05:00
bymyself
ce0726d85e
Restore all open workflows on load ( #2238 )
2025-01-13 20:24:40 -05:00
Chenlei Hu
a1a834a76d
Support 2nd row location for workflow tabs ( #2193 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-01-07 16:05:37 -05:00
bymyself
972af1977d
Improve menu accessibility ( #2163 )
2025-01-04 20:30:27 -05:00
Chenlei Hu
39e9f421f4
Fix double trigger of loadColorPalette effect ( #2118 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-01-01 19:27:22 -05:00
Chenlei Hu
d8f074fea0
[Lint] Sort imports ( #2104 )
2024-12-30 17:26:37 -05:00
Chenlei Hu
3bf0dfd218
[Refactor] Move addNodeOnGraph to litegraphService ( #2100 )
2024-12-30 16:09:44 -05:00
Chenlei Hu
6dce285210
Fix litegraph grab cursor style ( #2097 )
2024-12-30 10:50:53 -05:00
Chenlei Hu
a48ad1cb41
Move setting impl from ComfySettingsDialog to settingStore ( #2085 )
2024-12-28 21:31:09 -05:00
Chenlei Hu
af1a5d9dbc
Fix Comfy.WidgetControlMode watcher ( #2079 )
2024-12-27 22:42:41 -05:00
Chenlei Hu
feabd3f11d
[Refactor] Move Comfy.WidgetControlMode to coreSettings ( #2078 )
2024-12-27 21:06:23 -05:00
Chenlei Hu
4e554503c0
[Refactor] Convert workflowService to composable ( #2057 )
2024-12-26 00:11:27 -05:00
Chenlei Hu
db572a4085
Implement color palette in Vue ( #2047 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-12-25 21:41:48 -05:00
Chenlei Hu
fa06d6ea99
[Refactor] Split color palettes into separate json files ( #2029 )
2024-12-23 14:42:03 -05:00
Chenlei Hu
9900e46b95
Unify title edit handling ( #1995 )
2024-12-19 16:56:26 -08:00
Chenlei Hu
ac6130a556
[i18n] Translate node input/output label and tooltip ( #1860 )
...
* [i18n] Translate node input/output labels
* nit
* Impl actual translation
* Remove outputs where name is the type
* Pick outputs key
* Translate outputs
* Properly persist label
* Translate input tooltips
* Translate single node
* Translate first node
* Translate 10 nodes
* Exclude input name translation
* Update test expectations [skip ci]
* nit
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-12-10 17:08:45 -08:00
Chenlei Hu
fd621f485e
Reload current workflow when locale changes ( #1824 )
2024-12-06 17:37:25 -05:00
Chenlei Hu
517ae56763
Translate node title and description ( #1822 )
...
* Collect node def i18n
* Add collected en locale
* Sort by node id
* Add translations
* Show translated node def
* Update locales [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-12-06 16:56:54 -05:00
Chenlei Hu
ae26390776
Properly implement ComfyNodeDef interface ( #1821 )
...
* nit
* Properly implement ComfyNodeDef interface
* nit
* Mark readonly
2024-12-06 12:00:15 -05:00
filtered
578870d345
Add canvas maximum FPS setting ( #1727 )
...
* Add canvas maximum FPS setting
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-28 11:46:54 -05:00
Chenlei Hu
479d1b28c7
Update litegraph (Global snap to grid setting) ( #1629 )
2024-11-21 10:30:54 -05:00
Chenlei Hu
2a7df57404
Fix always snap to grid ( #1604 )
2024-11-19 12:10:40 -05:00
filtered
a8f869337e
Fix load crash when graph or config unset ( #1587 )
...
Resolves #1585
2024-11-18 12:51:46 -05:00
filtered
7e245ba1cf
Update Litegraph: Canvas Pointer ( #1556 )
...
* Litegraph: canvas.pointer
Clear @ts-expect-error
Fix exception thrown on slot double-click
Long-standing bug but has no real impact in prod - just logs an error.
Required for new connecting_link features.
Add settings: CanvasPointer options
Update litegraph 0.8.28
Fix regression in snap to grid render
Fix snap to grid marker always on
Update snap to grid to use Positionable API
Fix test clicks registering as double-click
Improve test precision
Current test proves it has changed to something smaller.
New test proves it is exactly what was specified.
Will need refinement when a limit is put on latent width.
Fix test expects collapse node to select node
Remove redundant code
Resolved by CanvasPointer
Fix flaky test - ContextMenu
Fix settings group
* Update litegraph
* Remove snapToGrid extension
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-18 10:50:51 -05:00
Chenlei Hu
71e4a42cfe
Only persist workflow on workflow change/switch ( #1576 )
...
* Only persist workflow on workflow change/switch
* nit
* Add playwright test
* Add modify test
* nit
* Fix playwright tests
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-17 14:13:52 -05:00
Chenlei Hu
82b4547d7d
Remove canvas border rendering ( #1549 )
...
* Remove canvas border rendering
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-15 09:24:51 -05:00
Chenlei Hu
a73fdcd3bd
Fix sidebar splitter state ( #1523 )
2024-11-12 23:12:56 -05:00
filtered
feafbf9cbf
Litegraph Reroute Beta ( #1421 )
...
* Add Reroute support - ConnectingLinkImpl
Bonus: TS strict
* Add Reroute support
* Remove unused TS expect error
* Add reroute beta opt-in option
* Add settings option: Middle-click reroute node
* Add settings: Link Markers
* Move settings
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-12 11:46:14 -05:00
filtered
43012eb1d1
Add settings option: Keep links on delete ( #1504 )
2024-11-10 21:33:48 -05:00
Chenlei Hu
4617e0fb1a
Fix node badge on unknown color palette ( #1487 )
...
* Fix node badge on unknown color palette
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-09 10:55:25 -05:00
Zoltán Dócs
0161a670cf
Fit view to bounds ( #1474 )
...
* fit view:
- fit view to canvas selection
- fit view to whole graph when nothing is selected
- add button to graph canvas menu
- assign default keybinding '.'
* Adjust on changed APIs
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-08 15:03:21 -05:00
Chenlei Hu
0a7000328a
Add menu button to toggle focus mode ( #1446 )
...
* Add focus mode toggle button
* handle menu position
* nit
2024-11-06 20:56:32 -05:00
Chenlei Hu
c56533bb23
Workflow Management Reworked ( #1406 )
...
* Merge temp userfile
Basic migration
Remove deprecated isFavourite
Rename
nit
nit
Rework open/load
Refactor save
Refactor delete
Remove workflow dep on manager
WIP
Change map to record
Fix directory
nit
isActive
Move
nit
Add unload
Add close workflow
Remove workflowManager.closeWorkflow
nit
Remove workflowManager.storePrompt
move from commandStore
move more from commandStore
nit
Use workflowservice
nit
nit
implement setWorkflow
nit
Remove workflows.ts
Fix strict errors
nit
nit
Resolves circular dep
nit
nit
Fix workflow switching
Add openworkflowPaths
Fix store
Fix key
Serialize by default
Fix proxy
nit
Update path
Proper sync
Fix tabs
WIP
nit
Resolve merge conflict
Fix userfile store tests
Update jest test
Update tabs
patch tests
Fix changeTracker init
Move insert to service
nit
Fix insert
nit
Handle bookmark rename
Refactor tests
Add delete workflow
Add test on deleting workflow
Add closeWorkflow tests
nit
* Fix path
* Move load next/previous
* Move logic from store to service
* nit
* nit
* nit
* nit
* nit
* Add ChangeTracker.initialState
* ChangeTracker load/unload
* Remove app.changeWorkflow
* Hook to app.ts
* Changetracker restore
* nit
* nit
* nit
* Add debug logs
* Remove unnecessary checkState on graphLoad
* nit
* Fix strict
* Fix temp workflow name
* Track ismodified
* Fix reactivity
* nit
* Fix graph equal
* nit
* update test
* nit
* nit
* Fix modified state
* nit
* Fix modified state
* Sidebar force close
* tabs force close
* Fix save
* Add load remote workflow test
* Force save
* Add save test
* nit
* Correctly handle delete last opened workflow
* nit
* Fix workflow rename
* Fix save
* Fix tests
* Fix strict
* Update playwright tests
* Fix filename conflict handling
* nit
* Merge temporary and persisted ref
* Update playwright expectations
* nit
* nit
* Fix saveAs
* Add playwright test
* nit
2024-11-05 11:03:27 -05:00
Chenlei Hu
3a910f25e9
Track previous workflow name on Vue side ( #1404 )
2024-11-02 14:40:05 -04:00
pythongosssss
d701758663
Add support for hidden & advanced widgets ( #1389 )
...
* Add support for hidden & advanced widgets
* Fix
* Update package
* Remove ts-expect-error
* Fix test, tidy
2024-11-01 19:12:44 -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