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
Chenlei Hu
810a63f808
Support async hooks in TreeExplorerNode ( #888 )
...
* Support async hooks in TreeExplorerNode
* rebase
* nit
* Fix component test failure
* Add edit vitest
* Add more tests
* Add component test
2024-09-19 20:10:43 +09:00
Chenlei Hu
a57c958058
Bind extra context menu items on TreeExplorerNode interface ( #886 )
2024-09-19 14:51:07 +09:00
Chenlei Hu
b6dbe8f07b
Shorten node source package name by remove ComfyUI prefix/suffix ( #883 )
...
* Shorten node source package name by remove ComfyUI prefix/suffix
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-19 12:40:05 +09:00
Chenlei Hu
a2cf6a7be2
Refactor TreeExplorer (Add handleClick hook) ( #867 )
...
* Refactor TreeExplorer (Add handleClick hook)
* nit
2024-09-18 09:36:21 +09:00
Chenlei Hu
ebdcd92977
Extract error handling with toast message as hook ( #825 )
2024-09-14 11:25:08 +09:00
filtered
c98ea5ba01
Use LiteGraph validation for node search->create ( #822 )
...
Adds LiteGraph type to augmentation until LG types are auto-generated
Removes @ts-expect-error
2024-09-14 08:36:48 +09:00
filtered
48f84a46cd
Add apiTypes present in docs but missing in zod ( #821 )
...
* Add apiTypes present in docs but missing in zod
* Fix prettier check
2024-09-14 08:35:32 +09:00
Chenlei Hu
17db1e6074
Rework userFileStore ( #815 )
...
* Rework userFileStore
* nit
* Add back unittests
2024-09-13 17:40:08 +09:00
Chenlei Hu
880ac4fa5a
Add node lifecycle badge text ( #809 )
2024-09-13 10:04:36 +09:00
Chenlei Hu
8889c4de4a
Fix node def registeration ( #803 )
2024-09-12 20:17:21 +09:00
Chenlei Hu
637f5b501e
Add about panel in settings dialog ( #799 )
...
* basic about page
* Remove frontend version from setting dialog header
* Style about page
* basic system stats
* Basic styling
* Reword
* Format memory amount
2024-09-12 17:31:19 +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
bymyself
90abf9744c
Document registerCustomNodes ( #772 )
2024-09-10 12:43:39 +09:00
Chenlei Hu
36cdebcad1
Restore context menu for new searchbox ( #724 )
...
* Searchbox revamp
* nit
* nit
* Add playwright test
* Update litegraph
* Rename setting
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-03 13:28:26 -04:00
bymyself
a5d93f6910
Update Settings type with new fields ( #718 )
2024-09-02 22:50:56 -04:00
Chenlei Hu
51b7467012
Auto transforms bugged node pos ( #712 )
2024-09-02 14:41:45 -04:00
Chenlei Hu
e733b87f22
Add beforeRegisterVueAppNodeDefs hook ( #709 )
...
* Add beforeRegisterVueAppNodeDefs hook
* Remove min-char constraint on node library search
2024-09-02 11:06:16 -04:00
mijuku233
8ba5da14bc
Custom background image ( #698 )
2024-09-01 19:46:55 -04:00
Chenlei Hu
14da8433f7
Migrate node library sidebar to use unique name instead of display name ( #702 )
...
* Migrate node library sidebar to use unique name instead of display name
* Break word
2024-09-01 17:52:53 -04:00
huchenlei
5383f97eba
Add tree explorer tree node test
2024-08-31 21:10:32 -04:00
huchenlei
bc7da487e8
Add drop handler
2024-08-31 21:10:32 -04:00