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
ad55722662
Docking action bar on top menu bar ( #1119 )
...
* Teleport when docked
* Docking logic
* Remove unnecessary v-show
* Docked panel style
* Drop zone highlight
* Rename test
* Add playwright test
2024-10-05 14:06:29 -04:00
Chenlei Hu
9c118c8e37
Add '- ComfyUI' suffix on browser title ( #1118 )
...
* Add '- ComfyUI' suffix on browser title
* Update test expectations
2024-10-05 11:35:17 -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
39d68bcdc4
Remove new default workflow button in workflows sidebar ( #1100 )
2024-10-04 11:37:37 -04:00
Chenlei Hu
e20126a254
Rename AppMenu to Actionbar ( #1099 )
...
* Rename AppMenu to Actionbar
* nit
* nit
2024-10-04 06:49:06 -04:00
Chenlei Hu
142882a8ff
Move keybinds to coreKeybindings ( #1078 )
...
* Refactor core keybinds
* Prevent default
* Add playwright test
2024-10-03 11:25:53 -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
bymyself
a737be7e16
Fix group node copy paste ( #1069 )
...
* Fix group node copy paste
* nit
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-10-02 15:51:33 -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
pythongosssss
861bcabd66
Add support for multiple changes in a single ChangeTracker state ( #1022 )
...
* wip
* Add tests
* Update package
* remove logs
* nit
* nit
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-10-02 11:53:54 -04:00
bymyself
31b1aeeb69
Add test for selecting nodes on mac ( #1055 )
...
* Add test for selecting nodes on mac
* Deselect nodes in teardown
* Fix unstable test. Remove test on unimplemented feature
2024-10-02 10:42:57 -04:00
pythongosssss
a2bd2a9bae
Implement creating inputs by dragging link to widget ( #1021 )
...
* Implement creating inputs by dragging link to widget
* Update litegraph
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-10-01 12:53:38 -04:00
Chenlei Hu
c42222cf0d
Update litegraph (Pan when dragging link) ( #1056 )
...
* Update litegraph (Pan when dragging link)
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-01 10:54:28 -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
bymyself
224c0080ee
Fix topbar submenu width on mobile/tablet ( #1047 )
...
* Fix topbar submenu width on tablet
* Add Playwright test
* Use better selector
* nit
---------
Co-authored-by: Chenlei Hu <chenlei.hu@mail.utoronto.ca >
2024-09-30 15:21:09 -04:00
bymyself
04e1344676
Fix closing saved workflows ( #1049 )
...
* Fix workflow save. Resolves #996 Resolves #1048
* Add test on closing tabs
* Add test on closing open workflows in sidebar
2024-09-30 15:09:24 -04:00
Chenlei Hu
9d110d39b2
Make action bar draggable ( #1035 )
...
* Basic draggable
* Nowrap
* Prevent double reset
* Persist position
* nit
* nit
* Window resize adjustment
* Fix playwright test
2024-09-28 11:21:38 +09:00
Alex "mcmonkey" Goodwin
81119acaf2
add a hotkey for settings ( #991 )
...
* add a hotkey for settings
for #942
* playwright test for settings menu hotkey
* make hotkey intercompatible with both old and new UI
2024-09-27 08:25:56 +09:00
Chenlei Hu
3585cb69f5
Allow extension register custom topbar menu command ( #982 )
...
* Refactor command store
* Rename coreMenuStore to menuStore
* Extension API to register command
* Update README
* Add playwright test
2024-09-26 10:44:15 +09:00
christian-byrne
1126eaa346
Add test workflow
2024-09-26 08:48:51 +09:00
christian-byrne
7e5d82d0e8
Use visibility of textarea to determine if loaded correctly
2024-09-26 08:48:51 +09:00
christian-byrne
2b2b1cdb85
Add Playwright test
2024-09-26 08:48:51 +09:00
Chenlei Hu
7760f91a56
Revert "Disable broken playwright test by backend change ( #967 )"
...
This reverts commit da651eee6f .
2024-09-25 19:20:08 +09:00
AustinMroz
9199639320
Reset FileInput value after load ( #958 )
...
When a file is browsed for, the fileInput remains associated with the
chosen file even after the associated workflow is loaded. If a user
attempts to load the same file again, the onchange event does not fire
and loading fails silently. This is fixed by clearing the fileInput
after the workflow has been loaded.
Out of an abundance of caution, the onchange is made async to ensure the
fileInput isn't cleared until after the workflow has loaded.
Add a test to check if the same workflow file can be loaded
consecutively.
2024-09-25 16:01:50 +09:00
Chenlei Hu
5ee0fd3519
Rework queue button ( #968 )
...
* Move queue button to right side
* Rework split button
* Group
* Remove unused code
* x2 buttons
* Use primevue divider
* adjust style
* Add tooltip
* Update test
* Add clearing pending tasks button to queue bar
* Fix state
* Dropdown list fix
2024-09-25 16:01:50 +09: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
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
0d28c108d2
Add topbar dropdown menu ( #937 )
...
* Add basic menu
* Add workflows/edit to menu bar
* Add command store
* Fix z-index
* Fix beta menu setting switch
* nit
* Drop to center
* Fix command invocation
2024-09-25 16:01:50 +09:00
pythongosssss
bf7652227a
Workflow templates ( #938 )
...
* Add template gallery
* Add simple test
* Add examples
* Enable floating menu in test
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
huchenlei
fa2884f9b2
Resolve merge conflict
2024-09-25 16:01:50 +09:00
Chenlei Hu
f4d4cc3439
Move workflow dropdown to sidebar tab ( #893 )
...
* Initial move to sidebar
Remove broken CSS
Move action buttons
Migrate open workflows
Add basic browse
WIP
Add insert support
Remove legacy workflow manager
Remove unused CSS
Reorder
Remove legacy workflow UI
nit
* Support bookmark
Add workflow bookmark store
nit
Add back bookmark functionality
Correctly load bookmarks
nit
Fix many other issues
Fix this binding
style divider
* Extract tree leaf component
* Hide bookmark section when no bookmarks
* nit
* Fix save
* Add workflows searchbox
* Add search support
* Show total opened
* Add basic test
* Add more tests
* Fix redo/undo test
* Temporarily disable browser tab title test
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
cf6367b649
Fix node bypass color ( #971 )
...
* Fix node bypass color
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-25 15:54:05 +09:00
bymyself
84fc0e9205
Fix group node naming compatibility ( #969 )
...
* Convery legacy group node names in workflow
* Add Playwright test
* Remove hardcoded strings
2024-09-25 15:25:08 +09:00
bymyself
941f71faea
Move groupnode test teardown logic to afterEach ( #965 )
2024-09-25 11:53:52 +09:00
Chenlei Hu
da651eee6f
Disable broken playwright test by backend change ( #967 )
2024-09-25 11:41:11 +09:00
bymyself
6b9c1b70ba
Fix group node bookmarking ( #950 )
...
* Resolves #926 group node bookmark
* Remove expect outside scope of test
* Update unit tests
* Update group node manager path separators
* Update group node path sepator in fixture
2024-09-24 16:26:02 +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
Chenlei Hu
04a950d7f5
More robust group node playwright test ( #935 )
...
* More robust group node playwright test
* nit
* nit
2024-09-23 14:30:45 +09:00
Chenlei Hu
65560604a8
Revert "test to validate subrouting ( #927 )" ( #936 )
...
This reverts commit 6a3dbe08de .
2024-09-23 14:30:17 +09:00
Alex "mcmonkey" Goodwin
6a3dbe08de
test to validate subrouting ( #927 )
...
* test to validate subrouting
* Update test expectations [skip ci]
* core tests need to prep the page
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-23 09:24:49 +09:00
Chenlei Hu
2878952b1d
Makes forceInput node input slot correctly reflect option/required state ( #921 )
...
* Correctly style optional force input input slot
* Add force input playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 16:35:56 +09:00
pythongosssss
223a1f677b
Fix links being lost after manage group node ( #916 )
...
* Fix links being lost after manage group node
* Change to use groupnodebuilder
* Make test more reliable
2024-09-22 16:17:39 +09:00
Chenlei Hu
7b4b40db5b
Update litegraph (Slot style) ( #919 )
...
* Update litegraph (Slot style)
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 16:15:39 +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
Chenlei Hu
f749734863
Make optional node input's slot hollow circle ( #912 )
...
* Use hollow circle for optional input
* nit
* Show hollow shape for optional input
* Add playwright tests
* Update litegraph
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-09-22 12:12:48 +09:00
Chenlei Hu
82d03b5c1b
Add colorPalette cleanup for playwright test ( #907 )
2024-09-22 08:53:01 +09:00