Chenlei Hu
e79013dcfe
Remove deprecated type def on ComfyNodeDef ( #1720 )
2024-11-27 16:16:50 -05:00
Chenlei Hu
c4d3c672ad
Enforce ComfyExtension types ( #1718 )
...
* Enforce extension types
* nit
2024-11-27 15:35:18 -05:00
Chenlei Hu
c54b675a48
Revert Filter cached/canceled results ( #1586 ) ( #1703 )
...
* Revert "Filter cached/canceled results (#1586 )"
This reverts commit 6fbf1248f4 .
* nit
2024-11-26 13:17:26 -05:00
Chenlei Hu
3708afaf21
[Electron] Add fp32 and fp64 to unet inference precision options ( #1678 )
2024-11-25 11:20:49 -05:00
Chenlei Hu
4b91860227
[Refactor] Extract SettingsPanel ( #1673 )
...
* [Refactor] Extract SettingsPanel
* nit
2024-11-24 20:48:35 -05:00
Chenlei Hu
4007cc13c2
[Electron] ComfyUI server config (Launch args config) ( #1644 )
...
* Remove electron adapter server args
* Add server args typing
* Add server config constant file
* Tooltip to name; name to id
* Capitalize category
* Server config store
* Prevent default value
* Add serverconfig test
* Guard server config panel with electron flag
* Filter nullish values from server args
* Use slider for preview size
2024-11-22 16:50:24 -05:00
Chenlei Hu
f34d50da3d
[Refactor] Extract 'FormItem' and 'SettingItem' ( #1619 )
...
* Extract SettingItem component
* Extract GeneralSettingItem
* Rename to FormItem
* nit
* nit
2024-11-20 15:10:17 -05:00
pythongosssss
6fbf1248f4
Filter cached/canceled results ( #1586 )
...
* Filter cached/canceled results
* Highlight if on
* Update setting
2024-11-18 16:59:59 -05:00
Chenlei Hu
16b0ebf75a
Remove deprecated setting Comfy.NodeSearchBoxImpl.LinkReleaseTrigger ( #1574 )
2024-11-17 12:10:44 -05:00
filtered
dde0291add
Fix change tracker count desync on error ( #1555 )
...
* Add TS types
* Ensure changeTracker works after exceptions
Wraps all code between before/after change calls in try/finally blocks
2024-11-15 16:03:21 -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
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
filtered
31fac3873c
Litegraph: Reroute support ( #1420 )
...
* Add Litegraph schema v1 support
- LLink changed from array to object
- Add reroutes
- Graph state object
- Falls back to original schema if not validated
- Add version check to schema validation pass
* Fix test schema version detection
Resolves conflict with proposed schema v1
2024-11-09 15:46:34 -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
Chenlei Hu
c560628f1f
[Extension API] Register about panel badge ( #1436 )
...
* Custom about panel badge
* Add playwright test
* Update README
* nit
* nit
* nit
* nit
2024-11-05 19:06:38 -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
Chenlei Hu
0c8fe41b84
Fix queue ResultItem schema ( #1386 )
2024-10-30 20:36:33 -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
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
1f91a88d7b
Move linkRenderMode extension to core ( #1359 )
2024-10-29 11:00:10 -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
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
Chenlei Hu
377fed584f
[Extension API] Register custom bottom panel tabs ( #1296 )
...
* Bottom panel API
* Update README
2024-10-24 19:58:44 -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
957a767ed0
New settings API ( #1292 )
...
* Add settings API
* Add playwright test
* Update README
2024-10-24 10:26:01 -04:00
Chenlei Hu
5db757ade2
Enable ts-strict for uploadImage.ts ( #1280 )
2024-10-23 13:59:47 -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
Chenlei Hu
419009424b
Handle missing extraPngInfo field in queue ( #1223 )
2024-10-11 12:16:35 -04:00
Chenlei Hu
4413fd248c
Remove question mark badge on folders in model library tree ( #1205 )
2024-10-10 10:13:14 -04:00
Chenlei Hu
f71595fcc9
Fix node def handling of undefined fields ( #1199 )
...
* Fix node def handling
* nit
* Add test
2024-10-09 22:11:27 -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
c83ce863d7
Rework command menu extension API ( #1144 )
...
* Rework command menu API
* Update test
* Update README
* Prevent register other extension's command
2024-10-06 23:31:57 -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
2c90735bb1
Restore top/bottom menu location setting ( #1123 )
...
* Rename floating to top
* Adjust teleport target
* Fix dropdown direction for bottom menubar
* Fix z-index
2024-10-05 18:08:48 -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
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
Chenlei Hu
0194d76722
Make max batch count configurable ( #1060 )
2024-10-01 15:42:12 -04: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
Alex "mcmonkey" Goodwin
d2d645f74b
better badges for empty/loading model library folders ( #953 )
...
* better badges for empty/loading model library folders
for #945
* fix total count on loaded nodes
* fix test break
* additional test fix
* use a null prop fallback instead of having to explicitly calc
* patch
2024-09-25 16:01:50 +09:00
Chenlei Hu
4e5bcd6a3b
Migrate deprecated setting values ( #954 )
2024-09-25 16:01:50 +09:00
Chenlei Hu
6a8287e192
Show opened workflows as topbar tabs ( #952 )
...
* Basic tab switching
* Closing tabs
* Style buttons
* wip
* Fix scroll style
* Add setting
* Add playwright test
* Add unsaved status
* nit
2024-09-25 16:01:50 +09:00
Chenlei Hu
2aaee5c331
Remove support of Top/Bottom in menu positions ( #933 )
...
* Remove support of Top/Bottom in menu positions
* Update menu positions in test setting
* nit
2024-09-25 16:01:50 +09:00
pythongosssss
2d1ff64951
Floating menu option ( #726 )
...
* Add floating menu
* Fix
* Updates
* Add auto-queue change test
* Fix
2024-09-25 16:01:50 +09:00
Chenlei Hu
78dea484c9
Fix type for Comfy.Sidebar.Size in apiTypes ( #932 )
2024-09-23 11:31:18 +09:00
Chenlei Hu
9aa976fdf0
Show total/free ram in about page ( #924 )
2024-09-22 17:40:40 +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
filtered
88acabb355
Fix TS type on InputSpec ( #901 )
2024-09-21 14:12:39 +09:00