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
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
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
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
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
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
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
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
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
pythongosssss
f75f774ddb
Graph canvas menu ( #1023 )
...
* add graph canvas menu
* Move to corner
* Remove action bar reset zoom button
* nit
* Add setting
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca >
2024-09-30 16:06:43 -04:00
Alex "mcmonkey" Goodwin
6a158d46b8
[Draft] Model library sidebar tab ( #837 )
...
* basic/empty model library sidebar tab
in-progress
* make it actually list out models
* extremely primitive search impl
* list out available folders
(incomplete list atm)
* load list dynamically
* nice lil loading icon
* that's not doing anything
* run autoformatter
* fix up some absolute vue shenanigans
* swap to pi-box
* is_fake_object
* i think apply the tailwind thingo
* trim '.safetensors' from end of display title
* oop
* after load, retain title if no new title is given
* is_load_requested to prevent duplication
* dirty initial model metadata load & preview
based on node preview code
* update model store tests
* initial image icon for model lib
* i hate this
* better empty spacer
* add api handler for '/models'
* load model folders list instead of hardcoding
* add a 'no content' placeholder for empty folders
* autoformat
* autoload model metadata
* error handling on metadata loading
* larger model icons
* click a model to spawn a node for it
* draggable model nodes
* add a setting for whether to autoload or not
* autoformat will be the death of me
* cleanup promise code
* make the model preview actually half-decent
* revert bad unchecked change
* put registration back
2024-09-25 16:01:50 +09:00
bymyself
b21c0f59f9
Apply node opacity setting to all node colors ( #947 )
...
* Apply opacity to node colors. Resolves #928
* Handle default and custom colors all in draw handler
* Add colorUtil unit tests
* Add Playwright test
* Remove comment
* Revert colorPalette.ts changes
* Remove unused imports
* Fix typo
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-24 16:19:53 +09:00
bymyself
326e0748c0
Add node opacity setting ( #909 )
...
* Add node opacity setting
* Add colorUtil unit test
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 15:18:38 +09:00
Chenlei Hu
6c4143ca94
Show node by frequency on empty query ( #878 )
2024-09-19 09:35:22 +09:00
Chenlei Hu
980dd285ad
Revert move floating menu to Vue ( #853 )
2024-09-17 09:33:25 +09:00
Chenlei Hu
327b67a022
Move floating menu to a Vue component ( #843 )
...
* Move floating menu to a Vue component
* nit
* Fix jest tests
2024-09-16 14:26:46 +09:00
Chenlei Hu
80ca1808f0
Node source/id badge ( #781 )
...
* Add basic node badge
* Node source badge
* Prevent manager badge rendering
* Update litegraph (Badge support)
* Add playwright tests
* Separate nodes
* nit
* Checkout devtools repo for browser test expectation CI
* Fix failing unittests
* Rename setting
* Hide all badges in playwright tests
* Handle group node
* Update test expectations [skip ci]
* Fix unittest
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-12 09:36:06 +09:00