* 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>
* fit view:
- fit view to canvas selection
- fit view to whole graph when nothing is selected
- add button to graph canvas menu
- assign default keybinding '.'
* Adjust on changed APIs
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me>
* 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
* 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
* Add dragging canvas state
* Change icon
* Add playwright test
* tooltip change
* Enable for legacy menu
* Update litegraph
* Hide canvas menu for test
* 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
* Double click group title to edit
* Add playwright test
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com>
* 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