Chenlei Hu
00df7b428f
Animate goto node ( #1412 )
...
* Animate goto node
* Update litegraph (animateToNode)
2024-11-03 10:57:17 -05: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
filtered
ed0592d6e0
Update litegraph API - add @ts-expect-error ( #1380 )
...
* Update litegraph API - add @ts-expect-error
LG update removes some implicit any, exposing existing errors
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-10-30 20:05:04 -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
4582c71583
[Refactor] Rework modelStore and ModelLibrarySidebarTab ( #1350 )
...
* nit
* Rename
* nit
* Move load model folders to app level
* Various fixes
* nit
* nit
* wip
* nit
* nit
* nit
* Split
* nit
* Add back spinner
* nit
* nit
* Add refresh button
* nit
* nit
* Preserve model folder order
* Avoid order change on folder open
2024-10-28 21:23:53 -04:00
Chenlei Hu
44b109a449
Add type annotation for missingNodeTypes ( #1349 )
...
* Add type annotation for missingNodeTypes
* nit
* nit
2024-10-28 17:26:52 -04:00
Chenlei Hu
229896a4b7
Restyle missing node warning dialog ( #1348 )
...
* nit
* Restyle missing node warning dialog
* nit
* nit
2024-10-28 16:45:47 -04:00
filtered
7d450adf93
Remove unused param - litegraph update ( #1335 )
2024-10-27 16:21:14 -04:00
Zoltán Dócs
7729611a2a
Bugfix node widgets wrongly being prepared for qeueing on saving the workflow ( #1331 )
...
- calling graphToPrompt() invokes beforeQueued() which should not happen when saving the workflow
2024-10-27 09:59:27 -04:00
Chenlei Hu
dc3dab4e1c
Enable ts-strict for commandStore ( #1321 )
2024-10-26 17:05:42 -04:00
Chenlei Hu
92f0f4a21c
Convert nodeDefStore to use composition API ( #1318 )
...
* Convert nodeDefStore to use composition API
* nit
2024-10-26 15:48:40 -04:00
Chenlei Hu
ef4179a06c
Update litegraph to 0.8.6 ( #1316 )
...
* Update litegraph
* Remove ts-expect-error
2024-10-26 14:36:45 -04:00
YANG Zhitao
05221f7961
Enable ts-strict for clipspace.ts ( #1291 )
2024-10-24 07:31:15 -04:00
Chenlei Hu
269fc7c8c9
Remove misleading console error on paste ( #1282 )
2024-10-23 14:59:24 -04:00
Chenlei Hu
5611e90fda
Add ts-strict-ignore plugin ( #1235 )
...
* Add ts-strict-ignore plugin
* nit
* Add to typecheck script
2024-10-12 11:56:49 -04:00
AustinMroz
014c3f3172
Fix load workflow with converted widget ( #1222 )
...
f74973 introduced a regression where a node which has had an input
added, will clobber a converted input of in a workflow created before
the input was added.
The prior behaviour was also incorrect (the new input would not exist on
the node), but would often be runnable.
Keeping the position of the converted widget and adding the new input to
the end is an unfortunate compromise. Doing it the other way around
breaks primitive nodes
2024-10-11 12:20:03 -04:00
Chenlei Hu
f64365915b
Mark app.showMissingNodeDialog private ( #1210 )
2024-10-10 16:35:29 -04:00
Chenlei Hu
f94bdc358b
Disable node def validation by default ( #1190 )
...
* Add setting
* Make node def validation optional
2024-10-09 16:02:27 -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
23952d9751
Show queue front icon when shift is pressed ( #1157 )
...
* Move shiftDown state to workspaceStateStore
* Queue front state
2024-10-07 19:54:00 -04:00
Chenlei Hu
cc17bee945
Manage app.ts litegraph keybindings ( #1151 )
...
* Manage app.ts litegraph keybindings
* nit
2024-10-07 16:50:58 -04:00
Chenlei Hu
dee1ec1a2a
Update Litegraph (TypeScript conversion) ( #1145 )
...
* Fix various type errors
* Fix rest of ts errors
* update litegraph
* nit
2024-10-07 11:31:54 -04:00
Chenlei Hu
38e3dcbaeb
Add frontend extension management panel ( #1141 )
...
* Manage register of extension in pinia
* Add disabled extensions setting
* nit
* Disable extension
* Add virtual divider
* Basic extension panel
* Style cell
* nit
* Fix loading
* inactive rules
* nit
* Calculate changes
* nit
* Experimental setting guard
2024-10-06 22:15:33 -04:00
Chenlei Hu
4cc69544b5
Replace window.alert with toast alert ( #1112 )
...
* Replace window.alert with toast alert
* Mock jest
2024-10-04 22:00:44 -04:00
Chenlei Hu
ebc71b0e46
Add PromptDialog to replace window.prompt ( #1104 )
...
* Save file prompt dialog
* Don't download if dialog dismissed
* refactor
* style dialog
* nit
* Autofocus
2024-10-04 15:33:27 -04:00
Chenlei Hu
77aaa38a92
[Extension API] Custom commands and keybindings ( #1075 )
...
* Add keybinding schema
* nit
* Keybinding store
* nit
* wip
* Bind condition on ComfyCommand
* Add settings
* nit
* Revamp keybinding store
* Add tests
* Add load keybinding
* load extension keybindings
* Load extension commands
* Handle keybindings
* test
* Keybinding playwright test
* Update README
* nit
* Remove log
* Remove system stats fromt logging.ts
2024-10-02 21:38:04 -04:00
Alex "mcmonkey" Goodwin
a7a0035b0e
allow custom bypass color ( #993 )
...
* allow custom bypass color
* shove the not-litegraph-color-def into litegraph
* prettier just does this to be funny i swear
2024-10-02 10:49:59 -04:00
pythongosssss
a2bd2a9bae
Implement creating inputs by dragging link to widget ( #1021 )
...
* Implement creating inputs by dragging link to widget
* Update litegraph
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-10-01 12:53:38 -04:00
Alex "mcmonkey" Goodwin
0cf21b190c
don't remove invalid dropdown values ( #998 )
...
for #963
2024-09-27 09:03:55 +09:00
christian-byrne
0b7c1609fd
Fix nodes with only optional inputs
2024-09-26 08:48:51 +09:00
Alex "mcmonkey" Goodwin
35a7c81fd8
initial download-folder-selector interface ( #890 )
...
* initial download-folder-selector interface
* use primevue select
* add a folder select visibility checkbox
* slightly reduce indirection
* fix up select box updating
* revert bad upstream changes
* cleanup
* allow localhost sourced models in ui side
(for testing purposes only basically, but does no harm in deployed envs)
* add screenshot expectations to test
* Update test expectations [skip ci]
* add testing of folder select
* fix test
* don't exclude folder selector when there's only 1
since the checkbox covers that better anyway
* oo - fix checkbox
* Update test expectations [skip ci]
* testing - don't expect screenshots :(
* experimental new test code
* toHaveClass is silly
* add // comments documenting intent of allowedSources
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-25 16:01:50 +09:00
Chenlei Hu
f4d4cc3439
Move workflow dropdown to sidebar tab ( #893 )
...
* Initial move to sidebar
Remove broken CSS
Move action buttons
Migrate open workflows
Add basic browse
WIP
Add insert support
Remove legacy workflow manager
Remove unused CSS
Reorder
Remove legacy workflow UI
nit
* Support bookmark
Add workflow bookmark store
nit
Add back bookmark functionality
Correctly load bookmarks
nit
Fix many other issues
Fix this binding
style divider
* Extract tree leaf component
* Hide bookmark section when no bookmarks
* nit
* Fix save
* Add workflows searchbox
* Add search support
* Show total opened
* Add basic test
* Add more tests
* Fix redo/undo test
* Temporarily disable browser tab title test
2024-09-25 16:01:50 +09:00
Chenlei Hu
cf6367b649
Fix node bypass color ( #971 )
...
* Fix node bypass color
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-25 15:54:05 +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
Chenlei Hu
2878952b1d
Makes forceInput node input slot correctly reflect option/required state ( #921 )
...
* Correctly style optional force input input slot
* Add force input playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 16:35:56 +09:00
Chenlei Hu
1052603a17
Revert "Any keyboard layout for Ctrl + V, Z, Y... ( #763 )" ( #920 )
...
This reverts commit 23796d9040 .
2024-09-22 16:14:59 +09:00
Chenlei Hu
f749734863
Make optional node input's slot hollow circle ( #912 )
...
* Use hollow circle for optional input
* nit
* Show hollow shape for optional input
* Add playwright tests
* Update litegraph
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 12:12:48 +09:00
filtered
c7f123766e
Add TS types / merge ComfyLGraphNode ( #902 )
...
* Add TS type for LGraphNodeConstructor
* Add TS type & move shared prop to parent
* Add TS types - Comfy augmentations
* nit - TS type
* Merge ComfyLGNode into existing augmentations
* nit - fix missed explicit type on import
2024-09-21 18:18:27 +09:00
Chenlei Hu
091b8a74fb
Mock settingStore ( #845 )
2024-09-16 16:25:32 +09:00
Chenlei Hu
12c699cc87
Update litegraph (Getters) ( #829 )
...
* Update litegraph (Getters)
* Update
2024-09-14 17:10:57 +09:00
Chenlei Hu
588cfeca4b
Replace ComfyApp.runningNodeId with executionStore.executingNodeId ( #828 )
...
* Replace ComfyApp.runningNodeId with executionStore.executingNodeId
* nit
2024-09-14 16:01:37 +09:00
Chenlei Hu
f983f42c45
Add executionStore ( #827 )
...
* Extract execution store
* Fix executing nodes highlight
* nit
* nit
* nit
2024-09-14 15:15:15 +09:00
Chenlei Hu
8889c4de4a
Fix node def registeration ( #803 )
2024-09-12 20:17:21 +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
Chenlei Hu
8ce7b515a3
Fix ComfyExtension types ( #778 )
2024-09-11 10:43:01 +09:00
ArtificialLab
05b3ad2f59
Front stack primary updates and improvements ( #757 )
...
* (fix) index.html formating for prettier
* (add) proper icon management
- on-demand icons auto importing
- handle all available icon sets (https://icones.js.org )
* (fix) proper css management
* (add) front stack improvement:
- implement vue router
- prepare for App.vue simplification
- proper management of views and layouts
- fix Tailwind CSS and prepare for overall css cleaning
* (fix) move back user.css to public dir
* (fix) remove user.css import from main.ts
2024-09-11 08:53:54 +09:00
Chenlei Hu
23796d9040
Any keyboard layout for Ctrl + V, Z, Y... ( #763 )
...
* Any keyboard layout for Ctrl + V, Z, Y...
`if` conditioning changed for better support any keyboard layout for shortcuts
* Format
---------
Co-authored-by: Khachatur Avanesian <jailbreakvideo@gmail.com >
2024-09-09 10:17:14 +09:00
Chenlei Hu
38c957d3a9
Fix load of string node id workflow ( #744 )
...
* Update litegraph
* Fix string node id
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-05 11:16:41 -04:00
Chenlei Hu
9d855d637e
Ignore missing dialog ( #743 )
...
* Do not report missing nodes/models warning repeatedly
* Add playwright tests
* cast finalOptions, add comments to interface
* Use old menu in tests to not break top left click methods
* Assert no dialog on undo and on redo separately
* nit
* nit
---------
Co-authored-by: christian-byrne <abolkonsky.rem@gmail.com >
2024-09-05 11:00:41 -04:00