filtered
82d00a1bcf
Update Template copy & paste ( #1533 )
...
* Split original clipboard functions out
* Add version check for templates
* Fix regression in use template undo steps
2024-11-13 17:04:31 -05:00
Chenlei Hu
4bc79181ae
Move DOMClippingEnabled to coreSettings.ts ( #1516 )
...
* Move DOMClippingEnabled to coreSettings.ts
* nit
2024-11-12 12:01:44 -05:00
Chenlei Hu
1ff6e27d9c
Manage widget definitions with Pinia store ( #1510 )
...
* Fix compile
* nit
* Remove extensions.test
* nit
2024-11-11 17:23:52 -05:00
Chenlei Hu
d9a34872c3
[Electron] Add basic welcome screen ( #1491 )
...
* WIP
* Add LogTerminal
* Modify server startup view
* Add installView
* Add basic welcome screen and dev server setup
* nit
* nit
* nit
* nit
* nit
2024-11-10 09:41:32 -05:00
Chenlei Hu
f8ec87ddea
Fix changeTracker modified state ( #1481 )
...
* Add jsondiffpatch
* Add logs
* Add graphDiff helper
* Fix changeTracker
* Add loglevel
* Add playwright test
* Fix jest test
* nit
* nit
* Fix test url
* nit
2024-11-08 22:24:35 -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
0eba49c536
Update litegraph (Animate to bounds) ( #1475 )
2024-11-08 14:12:58 -05:00
Chenlei Hu
073638672d
Fix ('STRING',) input node ( #1457 )
...
* Fix ('STRING',) input node
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-07 13:03:54 -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
filtered
56b63ebab5
Update Litegraph API: Group move / select / titlebar ( #1418 )
...
* Litegraph: Group move / select
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-03 18:45:20 -05:00
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