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
3a910f25e9
Track previous workflow name on Vue side ( #1404 )
2024-11-02 14:40:05 -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
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
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
1f91a88d7b
Move linkRenderMode extension to core ( #1359 )
2024-10-29 11:00:10 -04:00
Chenlei Hu
645897f8b8
[Refactor] Make node badge a vue component ( #1317 )
...
* [Refactor] Make node badge a vue component
* Simplify badge logic
* nit
2024-10-26 15:28:14 -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
009dbcf8c7
Wrap pragmatic dnd API with hooks ( #1207 )
2024-10-10 10:53:49 -04:00
Chenlei Hu
82112c2c6e
Move low priority init to idle task ( #1192 )
2024-10-09 16:22:58 -04:00
Chenlei Hu
3cafc10c2b
Fix pan mode icon display ( #1173 )
2024-10-08 14:24:39 -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
1ba236bbce
Simplify node tooltip lifecycle ( #1162 )
2024-10-07 22:13:52 -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
1775d43d90
Support keybinding customization ( #1081 )
...
* Basic keybinding panel
nit
Make row selectable
Reduce padding
Better key seq render
Show actions on demand
Turn off autocomplete
nit
Persist keybindings
Autofocus
Fix set unsetted keybinding bug
Refactor
Add reset button
Add back default keybinding logic
Report key conflict error
Adjust style
fix bug
Highlight modified keybindings
* Set current editing command's id as dialog header
2024-10-03 16:58:56 -04:00
Alex "mcmonkey" Goodwin
b3a624a572
Allow dragging model library outputs onto existing nodes ( #1004 )
...
* allow multiple compatible node registrations for model type
* allow dragging model library outputs onto existing nodes
* easier registration
* add alt loaders for checkpoint and lora
2024-10-02 15:53:19 -04:00
Chenlei Hu
3a2b2f9e15
Add toggle link visibility button on canvas menu ( #1070 )
...
* Basic link visibility toggle
* Icon change
* nit
* Update litegraph
* nit
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-02 15:23:37 -04:00
Alex "mcmonkey" Goodwin
cc2b64df52
add filename in model preview popup ( #1005 )
...
* add filename in model preview popup
for #1003
* user setting for model name fomat in the tree
* add a tooltip for the setting to explain what things mean
* more explicit file_name naming
* touch of additional text in the tooltip
2024-10-02 10:59:01 -04:00
Chenlei Hu
5d957a05b9
Replace locking/unlocking of canvas with select/pan mode ( #1050 )
...
* Add dragging canvas state
* Change icon
* Add playwright test
* tooltip change
* Enable for legacy menu
* Update litegraph
* Hide canvas menu for test
2024-09-30 20:20:49 -04:00
pythongosssss
f75f774ddb
Graph canvas menu ( #1023 )
...
* add graph canvas menu
* Move to corner
* Remove action bar reset zoom button
* nit
* Add setting
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca >
2024-09-30 16:06:43 -04:00
Alex "mcmonkey" Goodwin
6a158d46b8
[Draft] Model library sidebar tab ( #837 )
...
* basic/empty model library sidebar tab
in-progress
* make it actually list out models
* extremely primitive search impl
* list out available folders
(incomplete list atm)
* load list dynamically
* nice lil loading icon
* that's not doing anything
* run autoformatter
* fix up some absolute vue shenanigans
* swap to pi-box
* is_fake_object
* i think apply the tailwind thingo
* trim '.safetensors' from end of display title
* oop
* after load, retain title if no new title is given
* is_load_requested to prevent duplication
* dirty initial model metadata load & preview
based on node preview code
* update model store tests
* initial image icon for model lib
* i hate this
* better empty spacer
* add api handler for '/models'
* load model folders list instead of hardcoding
* add a 'no content' placeholder for empty folders
* autoformat
* autoload model metadata
* error handling on metadata loading
* larger model icons
* click a model to spawn a node for it
* draggable model nodes
* add a setting for whether to autoload or not
* autoformat will be the death of me
* cleanup promise code
* make the model preview actually half-decent
* revert bad unchecked change
* put registration back
2024-09-25 16:01:50 +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
bymyself
326e0748c0
Add node opacity setting ( #909 )
...
* Add node opacity setting
* Add colorUtil unit test
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 15:18:38 +09:00
bymyself
290bf52fc5
Fix frontend node tooltip error ( #911 )
2024-09-22 11:52:35 +09:00
Chenlei Hu
6c4143ca94
Show node by frequency on empty query ( #878 )
2024-09-19 09:35:22 +09:00
Chenlei Hu
980dd285ad
Revert move floating menu to Vue ( #853 )
2024-09-17 09:33:25 +09:00
Chenlei Hu
327b67a022
Move floating menu to a Vue component ( #843 )
...
* Move floating menu to a Vue component
* nit
* Fix jest tests
2024-09-16 14:26:46 +09:00
Chenlei Hu
0a188aaf72
Disable zoom when editing titles ( #813 )
2024-09-13 11:42:24 +09:00
Chenlei Hu
c99ca004b4
Fix badge position on collapsed nodes ( #797 )
...
* Update litegraph (Proper collapsed node handling)
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-12 17:15:20 +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
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
Chenlei Hu
974a7ef63f
Store shallowRef of litegraph canvas ( #722 )
...
* Store shallowRef of litegraph canvas
* nit
2024-09-03 10:11:31 -04:00
Chenlei Hu
4a230f720e
Edit group name on group creation (With Ctrl + g) ( #715 )
...
* Editor store
* Merge editors
* nit
* Edit on group creation
* nit
2024-09-02 20:20:40 -04:00
Chenlei Hu
4ad1e67ebf
Double click group title to edit ( #714 )
...
* Double click group title to edit
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-02 18:01:02 -04:00
Chenlei Hu
80e4384644
Eager init nodeSearchService ( #713 )
2024-09-02 15:40:10 -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
Chenlei Hu
d04dbcd2c1
[Major Refactor] Use TreeExplorer on nodeLibrarySidebarTab ( #699 )
...
* Basic move
* Add back node bookmark
* Move node preview
* Fix drag node to canvas
* Restore click node to add to canvas
* Split bookmark tree and library tree
* Migrate rename and delete context menu
* Fix expanded keys
* Split components
* Support extra menu items
* Context menu only for folder
* Migrate add folder
* Handle drop
* Store color customization
* remove extra padding
* Do not show context menu if no item
* Hide divider if no bookmark
* Sort bookmarks alphabetically default
* nit
* proper edit
* Update test selectors
* Auto expand on item drop
* nit
* Fix tests
* Search also searches bookmarks tree
* Add serach playwright test
2024-09-01 14:03:15 -04:00
Chenlei Hu
b25c5259bd
Fix node title editor's width when node is collapsed ( #671 )
...
* Fix node title editor's width when node is collapsed
* nit
2024-08-28 16:35:01 -04:00
Chenlei Hu
4e8acf6c77
Add setting to disable double click node title edit ( #668 )
2024-08-28 13:58:33 -04:00
Chenlei Hu
50b418113c
Double click node title to trigger edit ( #655 )
...
* Update litegraph
* Double click edit node title
* Update
* Auto select all
* Update litegraph
* Add playwright test
* Update readme
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-08-27 11:38:39 -04:00
Chenlei Hu
a1e40b14c7
Add textarea widget spell check setting ( #627 )
2024-08-25 10:22:36 -04:00
Chenlei Hu
bff1dc91fa
Refactor node library drag and drop ( #617 )
2024-08-24 17:40:56 -04:00
Chenlei Hu
17c7f57d8f
Update litegraph (Zoom speed adjustment) ( #580 )
2024-08-21 17:16:06 -04:00
Chenlei Hu
9dd6da3dc2
Support node deprecated/experimental flag ( #563 )
...
* Add deprecated field
* Hide deprecated nodes
* Add experimental node show/hide
* Add setting tooltips
* nit
* nit
* nit
2024-08-20 17:00:47 -04:00
Chenlei Hu
f5ce42d5d5
Add setting to show/hide canvas info ( #533 )
...
* Add setting to show/hide canvas info
* nit
2024-08-19 12:12:37 -04:00
Björn Söderqvist
775f536d30
Add more Zod types to api.ts ( #440 )
2024-08-15 10:45:40 -04:00
Chenlei Hu
a68f7c680b
Rename SideBar to Sidebar ( #422 )
...
* Rename SideBar to Sidebar
* rename files
* rename files
2024-08-14 11:27:23 -04:00
Chenlei Hu
4b83ee3918
link release pops up searchbox by default ( #348 ) ( #350 )
...
* link release pops up searchbox by default (#348 )
* link release pops up searchbox by default
* Update browser test
* Fix tests
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-08-09 16:33:30 -04:00