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
Chenlei Hu
97c38583e9
Rename workspaceStateStore to workspaceStore ( #1374 )
2024-10-30 09:49:23 -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
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
Chenlei Hu
1f91a88d7b
Move linkRenderMode extension to core ( #1359 )
2024-10-29 11:00:10 -04:00
Chenlei Hu
645897f8b8
[Refactor] Make node badge a vue component ( #1317 )
...
* [Refactor] Make node badge a vue component
* Simplify badge logic
* nit
2024-10-26 15:28:14 -04:00
Chenlei Hu
d142893244
Add bottom panel support ( #1294 )
...
* Add bottom panel
* Bottom panel store
* Extract ExtensionSlot component
* Tab rendering
* Add toggle button on top menu bar
* nit
* Add toggle button tooltip
* Add command
2024-10-24 15:15:19 -04:00
Chenlei Hu
009dbcf8c7
Wrap pragmatic dnd API with hooks ( #1207 )
2024-10-10 10:53:49 -04:00
Chenlei Hu
82112c2c6e
Move low priority init to idle task ( #1192 )
2024-10-09 16:22:58 -04:00
Chenlei Hu
3cafc10c2b
Fix pan mode icon display ( #1173 )
2024-10-08 14:24:39 -04:00
Chenlei Hu
2cb1cea196
Make LGraphCanvas shallowReactive ( #1169 )
...
* Make LGraphCanvas shallowReactive
* Restore canvas options after creation
2024-10-08 14:07:15 -04:00
Chenlei Hu
1ba236bbce
Simplify node tooltip lifecycle ( #1162 )
2024-10-07 22:13:52 -04:00
Chenlei Hu
57a4cb9036
Add default toast error handling for command execution ( #1106 )
...
* Error handling execute command
* Cleanup
* Add playwright test
* Mock i18n in jest test
* Reduce test func timeout
2024-10-04 16:28:08 -04:00
Chenlei Hu
1775d43d90
Support keybinding customization ( #1081 )
...
* Basic keybinding panel
nit
Make row selectable
Reduce padding
Better key seq render
Show actions on demand
Turn off autocomplete
nit
Persist keybindings
Autofocus
Fix set unsetted keybinding bug
Refactor
Add reset button
Add back default keybinding logic
Report key conflict error
Adjust style
fix bug
Highlight modified keybindings
* Set current editing command's id as dialog header
2024-10-03 16:58:56 -04:00
Alex "mcmonkey" Goodwin
b3a624a572
Allow dragging model library outputs onto existing nodes ( #1004 )
...
* allow multiple compatible node registrations for model type
* allow dragging model library outputs onto existing nodes
* easier registration
* add alt loaders for checkpoint and lora
2024-10-02 15:53:19 -04:00
Chenlei Hu
3a2b2f9e15
Add toggle link visibility button on canvas menu ( #1070 )
...
* Basic link visibility toggle
* Icon change
* nit
* Update litegraph
* nit
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-02 15:23:37 -04:00
Alex "mcmonkey" Goodwin
cc2b64df52
add filename in model preview popup ( #1005 )
...
* add filename in model preview popup
for #1003
* user setting for model name fomat in the tree
* add a tooltip for the setting to explain what things mean
* more explicit file_name naming
* touch of additional text in the tooltip
2024-10-02 10:59:01 -04:00
Chenlei Hu
5d957a05b9
Replace locking/unlocking of canvas with select/pan mode ( #1050 )
...
* Add dragging canvas state
* Change icon
* Add playwright test
* tooltip change
* Enable for legacy menu
* Update litegraph
* Hide canvas menu for test
2024-09-30 20:20:49 -04:00