* Revert "Revert "Fix undo / redo filling with empty steps (#1649)" (#1652)"
This reverts commit 7623810166.
* Update test expectations
* Add dirty flag if workflow is not persisted
* Add dirty flag to other UI areas for new workflows
* Remove redundant code
* Fix regression: undo / redo steps lost on refresh
The history is still be cleared, but any changes made by issuing undo / redo comands prior to refresh are not lost.
* Update test expectations
Partially reverts f8cc2c0d67 - adds dirty flags back to unsaved workflows.
---------
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
* 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.
* 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
* 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
* 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
* Add bookmark customization support
* WIP
* Fix bugs
* Fix color update
* Handle rename and delete of customization
* nit
* Add custom color picker
* Computed final color
* i18n
* Remove cancel button as dialog already has it
* Add playwright test
* Add new folder button
* Add tree util test
* nit
* Support empty folder in node library
* Drag to bookmark folder
* Use bookmark icon for bookmark folder
* Highlight on dragover
* nit
* Auto-expand on item added
* Extract bookmark system as store
* Add context menu on bookmark folder
* Add editable text
* Fix reactivity
* Plumb editable text
* refactor
* Rename node
* Fix focus
* Prevent name collision
* nit
* Add new folder
* nested folder support
* Change drag behavior
* Add basic playwright tests
* nit
* Target tree-node-content instead of tree-node
* Basic tree
* Add node filter
* Fix key issue
* Add icons
* Node count
* nit
* Add node preview basics
* Node preview
* Make comfy node in node lib draggable
* Set drop target
* Add node on drop
* Drop on dynamic location
* nit
* nit
* Fix hover preview issue
* nit
* More visual diff between node and folder
* Add playwright test
* Add dep
* Get rid of screenshot test