Chenlei Hu
d531bc34c4
Make ChangeTracker detect changes in workflow.extra (Except ds) ( #1692 )
...
* Compare workflow.extra content
* Add tests
2024-11-25 21:59:27 -05:00
Chenlei Hu
6352cd86ee
Show confirm dialog on workflow path conflict (Save As) ( #1590 )
...
* Show confirm dialog on workflow path conflict (Save As)
* Fix closeworkflow
* nit
* Add playwright tests
* nit
* nit
* Move workflows dir cleanup
2024-11-18 23:07:24 -05:00
filtered
7e245ba1cf
Update Litegraph: Canvas Pointer ( #1556 )
...
* Litegraph: canvas.pointer
Clear @ts-expect-error
Fix exception thrown on slot double-click
Long-standing bug but has no real impact in prod - just logs an error.
Required for new connecting_link features.
Add settings: CanvasPointer options
Update litegraph 0.8.28
Fix regression in snap to grid render
Fix snap to grid marker always on
Update snap to grid to use Positionable API
Fix test clicks registering as double-click
Improve test precision
Current test proves it has changed to something smaller.
New test proves it is exactly what was specified.
Will need refinement when a limit is put on latent width.
Fix test expects collapse node to select node
Remove redundant code
Resolved by CanvasPointer
Fix flaky test - ContextMenu
Fix settings group
* Update litegraph
* Remove snapToGrid extension
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-18 10:50:51 -05:00
Chenlei Hu
71e4a42cfe
Only persist workflow on workflow change/switch ( #1576 )
...
* Only persist workflow on workflow change/switch
* nit
* Add playwright test
* Add modify test
* nit
* Fix playwright tests
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-17 14:13:52 -05:00
Chenlei Hu
b4352bcd8d
Fix node search box filter test ( #1561 )
2024-11-15 21:18:19 -05:00
filtered
7e0d1d441d
Flaky tests and observable state ( #1526 )
...
* Fix missing await
* Fix flaky tests - keyboard combos
Old code is causing playwright &/ changeTracker to add an undo step. Using combo mode resolves flakiness until that can be investigated thoroughly.
* Restore skipped tests
* Fix flaky tests
* Async clean up
* Fix test always fails on retry
* Add TS types (tests)
* Fix flaky test
* Add observable busy state to workflow store
* Add workflow store busy wait to tests
* Rename test for clarity
* Fix flaky tests - use press() from locator API
Ref: https://playwright.dev/docs/api/class-keyboard#keyboard-press
* Fix flaky test - wait next frame
* Add delay between mouse events
Litegraph pointer handling is all custom coded, so a adding a delay between events for a bit of reality is actually beneficial.
2024-11-13 09:35:22 -05:00
Chenlei Hu
8236163fea
Enable New UI by default ( #1515 )
...
nit
Add playwright test
nit
nit
nit
2024-11-12 10:48:26 -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
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
acbc38ced4
Revert "Enable New UI by default ( #1460 )" ( #1476 )
...
This reverts commit f0b735f3dd .
2024-11-08 16:35:52 -05:00
Chenlei Hu
f0b735f3dd
Enable New UI by default ( #1460 )
...
* Enable New UI by default
* nit
* Add playwright test
* nit
* nit
* nit
2024-11-07 17:55:53 -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
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
filtered
27bacc36d4
Update tests with precise node positions / sizes ( #1408 )
...
* Update tests with precise node positions / sizes
* Fix test flakiness - missing await
* Fix test failures - async not awaited
* Update action
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-03 10:42:54 -05:00
filtered
caa3ac2068
Add playwright concurrency - multi-user mode ( #1400 )
...
* Add playwright concurrency - multi-user mode
* Add extra server params
* nit
* Update to v2.1 action
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-02 09:51:24 -04:00
Chenlei Hu
94f4147f92
Fix double trigger of setting onChange callback ( #1385 )
...
* Fix onChange double trigger
* nit
* Add playwright test
2024-10-30 19:55:46 -04:00
Chenlei Hu
546c5dabc8
Update litegraph (Slot highlight) ( #1339 )
...
* Update litegraph (Slot highlight)
* Disable tooltip setting in playwright tests
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-27 19:31:22 -04:00
Chenlei Hu
4f9dc830b6
Setup clean setting state before every playwright test ( #1309 )
...
* Use reload
* setting setup
* nit
* Remove setting cleanups
* Wait for frame
* nit
* nit
2024-10-25 11:25:17 -04:00
Chenlei Hu
16ebfd6171
Fix import of NodeReference in ComfyPage ( #1306 )
2024-10-25 08:32:12 -04:00
Chenlei Hu
59c999324e
Split ComfyPage fixture ( #1305 )
...
* Split down page components
* Move litegraph utils
* nit
2024-10-25 08:29:02 -04:00
Chenlei Hu
624bcc75ab
Move ComfyPage to fixtures folder ( #1304 )
2024-10-25 08:01:50 -04: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