filtered
b922aa5c7c
Add option to disable ctrl + shift + zoom ( #1545 )
...
* Add option to disable ctrl + shift + zoom
Minor change to default behaviour: zoom no longer triggers if alt key is also down.
* Update coreSettings.ts
Next release will be 1.4.0 to leave room for patches in 1.3 stable after today's main repo sync.
---------
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2024-11-15 09:10:09 -05:00
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
05ba526388
Type DOMWidget and DOMWidgetOptions ( #1517 )
...
* Type DOMWidget and DOMWidgetOptions
* Annotate widget value type
2024-11-12 13:35:24 -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
filtered
59b555b448
Fix multiline text input alignment & clipping ( #1513 )
...
* Simplify multiline widget scaling
* Fix multiline widget clipping
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-12 10:38:03 -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
filtered
7bc79edf3d
Add back/forwards compatibility to schema validation ( #1501 )
...
* Allow future extensions of added schema objects
* Add explicit versioning to zod schemas
* Extend schema 0.4 with new fields in extras
- Allows Reroutes without using schema v1
- Reroute data is retained when using old versions - simply not displayed
* Add Reroute undo/redo support
2024-11-10 19:50:18 -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
pythongosssss
7e0b87dd32
Live terminal output ( #1347 )
...
* Add live terminal output
* Fix scrolling
* Refactor loading
* Fallback to polling if endpoint fails
* Comment
* Move clientId to executionStore
Refactor types
* Remove polling
2024-11-08 15:38:21 -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
Chenlei Hu
3a910f25e9
Track previous workflow name on Vue side ( #1404 )
2024-11-02 14:40:05 -04:00
Chenlei Hu
d719a4e0fb
Move exportWorkflow from menu to workflowService ( #1399 )
2024-11-01 19:44:21 -04:00
Chenlei Hu
d254559e20
[Refactor] Extract createTemporary ( #1398 )
...
* [Refactor] Extract createTemporary
* nit
2024-11-01 19:32:50 -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
a11b78d1c3
Remove deprecated method isFavourite ( #1397 )
2024-11-01 19:12:04 -04:00
Chenlei Hu
dfb695be72
[Refactor] Rework userFileStore to match existing API on ComfyWorkflow ( #1394 )
...
* nit
* Move load
* nit
* nit
* Update store API
* nit
* nit
* Move api
* nit
* Update tests
* Add docs
* Add temp user file
* Implement save as
* Test saveAs
2024-10-31 21:58:00 -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
94f4147f92
Fix double trigger of setting onChange callback ( #1385 )
...
* Fix onChange double trigger
* nit
* Add playwright test
2024-10-30 19:55:46 -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
8dddffe840
Use browser download in missing model dialog ( #1362 )
...
* Remove custom backend download logic
* Add download hooks
* Download button
* Use browser download
* Update test
2024-10-29 14:07:16 -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
Chenlei Hu
eed92864f2
Enable ts-strict for changeTracker ( #1338 )
...
* Fix app getter
* nit
* nit
* nit
* Fix rest of errors
* nit
2024-10-27 16:20:32 -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
571386c061
Enable ts-strict for api.ts ( #1324 )
2024-10-26 18:08:24 -04:00
Chenlei Hu
44d886a18b
Enable ts-strict for ui/settings ( #1323 )
2024-10-26 17:25:15 -04:00
Chenlei Hu
dc3dab4e1c
Enable ts-strict for commandStore ( #1321 )
2024-10-26 17:05:42 -04:00
Chenlei Hu
386594554e
Enable ts-strict for executionStore ( #1320 )
...
* Fix listener types
* nit
* nit
* fix type
2024-10-26 17:00:18 -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
Chenlei Hu
957a767ed0
New settings API ( #1292 )
...
* Add settings API
* Add playwright test
* Update README
2024-10-24 10:26:01 -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
482da21ba7
Remove state check on continuous keydown ( #1171 )
...
* Remove state check on continuous keydown
* nit
2024-10-08 11:01:08 -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