Chenlei Hu
46428cbf7d
[Cleanup] Rename remoteWidgetHook ( #2500 )
2025-02-10 18:12:15 -05:00
bymyself
eeb1c34ada
Update public API syntax of remote (lazy) widgets ( #2477 )
...
Co-authored-by: huchenlei <huchenlei@proton.me >
2025-02-09 12:41:14 -05:00
bymyself
a914456827
Add support for new COMBO input spec and lazy/remote COMBO widgets ( #2422 )
2025-02-07 15:35:42 -05:00
bymyself
ce0726d85e
Restore all open workflows on load ( #2238 )
2025-01-13 20:24:40 -05:00
Chenlei Hu
ea6c9e7ca5
Replace unset unknown keybinding error with warn ( #2186 )
2025-01-07 10:33:23 -05:00
Chenlei Hu
077ded2cce
[Refactor] Simplify keybindingStore with _.groupBy ( #2180 )
2025-01-06 19:46:20 -05:00
Chenlei Hu
31ea39e44c
Prevent reference sharing on settingStore content ( #2160 )
2025-01-04 19:31:32 -05:00
Chenlei Hu
3d2b9a8d9d
Call api.storeSetting only when setting value changes ( #2119 )
2025-01-01 17:34:58 -05:00
pythongosssss
c77a5cab5b
Add support for nested dynamic prompts ( #2117 )
2025-01-01 15:29:17 -05:00
bymyself
f507142e6a
Fix error when adding custom setting with no category ( #2112 )
...
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-12-31 19:04:58 -05:00
Chenlei Hu
d8f074fea0
[Lint] Sort imports ( #2104 )
2024-12-30 17:26:37 -05:00
Chenlei Hu
94f964cf17
[Cleanup] Remove legacy slow jest test utils ( #2093 )
2024-12-29 17:05:05 -05:00
Chenlei Hu
642094ead1
Remove legacy slow jest tests ( #2092 )
2024-12-29 16:25:06 -05:00
Chenlei Hu
95a4623c37
Re-enable keybinding jest test ( #2090 )
2024-12-29 14:55:18 -05:00
Chenlei Hu
a48ad1cb41
Move setting impl from ComfySettingsDialog to settingStore ( #2085 )
2024-12-28 21:31:09 -05:00
Chenlei Hu
c433b38ba8
[CNR] Support module sytax of <node name>@<version> ( #1994 )
2024-12-19 14:48:33 -08:00
Hayden
5b72fc7fdc
Optimize model library ( #1739 )
...
* Adapt experiment models api
* Add model preview
2024-12-16 15:27:30 -08:00
Chenlei Hu
ae26390776
Properly implement ComfyNodeDef interface ( #1821 )
...
* nit
* Properly implement ComfyNodeDef interface
* nit
* Mark readonly
2024-12-06 12:00:15 -05:00
filtered
2017b9016b
Add TS types - API ( #1736 )
...
* nit
* Add TS types - API events
* Replace all API event emits with type-safe variants
* Add missing API type
* nit
* Remove test code, nit
2024-11-29 13:15:25 -05:00
Chenlei Hu
9e565154a9
Rework user selection ( #1728 )
...
* Move to new route
* Convert to tailwind
* Basic style
* Add userStore
* nit
* nit
* nit
* Remove app.#setUser
* Route to user-select view
* Mock login
* Use primevue UI components
* handle create new user
* Remove legacy user selection
* Add logout button on side toolbar
* Add username to logout button tooltip
* Add playwright tests
* hide logout button in single user server
* nit
2024-11-28 23:36:41 -05:00
Chenlei Hu
df3fff5dbb
Remove migration logic (settings & templates storage location) ( #1732 )
...
* Remove isNewUserSession handling
* Remove writing of setting and templates to localStorage
2024-11-28 14:24:06 -05:00
Chenlei Hu
e79013dcfe
Remove deprecated type def on ComfyNodeDef ( #1720 )
2024-11-27 16:16:50 -05:00
Chenlei Hu
e01c8f06c7
[Electron] Show server launch args in server config panel ( #1669 )
...
* Move revertChanges
* Show launch args
* Explicit ServerConfigValue type
* nit
* nit
* Add tests
2024-11-24 18:14:05 -05:00
Chenlei Hu
c61ed4da37
Add server config modified message to prompt restart ( #1668 )
...
* Server config changed message
* Write to settings on unmount
* nit
* Highlight modified config
* Move modified logic to store
* Add jest test
* nit
2024-11-24 16:13:37 -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
886c40a69a
Fix keybinding conflict ( #1630 )
2024-11-21 11:49:57 -05:00
Chenlei Hu
4f3693e322
Reland 'Bind Ctrl+s to Comfy.SaveWorkflow' ( #1618 )
2024-11-20 15:01:04 -05:00
filtered
f8e7058e19
Add jest set/has pointer capture mocks ( #1581 )
...
* Add set/has pointer capter mocks
* Add mock impl.
2024-11-17 21:41:37 -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
73bdbddf90
Fix rename open/bookmark workflow ( #1507 )
...
* Fix rename open/bookmark workflow
* nit
* Fix save as
* Add browser test
2024-11-11 11:06:41 -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
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
Chenlei Hu
dd192777b7
Consistently use -1 for temporary file size ( #1464 )
2024-11-07 23:34:46 -05:00
Chenlei Hu
8ae9210298
Always sort workflows tree ( #1456 )
...
* Always sort workflows tree
* nit
* nit
* Add tests
* nit
* nit
2024-11-07 11:29:29 -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
Chenlei Hu
8baaf380dc
Split jest tests into fast and slow groups ( #1401 )
2024-11-01 22:39:42 -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
Chenlei Hu
74f7311585
Fix jest test mock ( #1375 )
2024-10-30 10:37:54 -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
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
14a6687cc9
Integrated terminal ( #1295 )
...
* Add terminal tab
* Add basic terminal
* Style terminal
* Add keybinding
* Auto scroll:
* Mock for jest test
2024-10-24 17:31:00 -04:00
Chenlei Hu
a890756868
Enable ts-strict for modelStore.ts ( #1241 )
2024-10-12 16:38:27 -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
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
e99329cff5
Remove class-transformer dependency ( #1187 )
...
* nit
* Fix test
* Remove class-transformer and its deps
* nit
* Fix invalid type for dummy node
2024-10-09 15:10:19 -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
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
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