* forward mouse events from textareas to canvas
* use arrow functions
* Apply suggestions from code review
Use pointer events instead of mouse to get extended properties
Remove workaround (only required due to missing extended properties)
* Apply code review - Adjust UX
- Do not prevent middle click from hitting DOM widgets
- Allow middle click and drag to continue functioning if another button is held down
---------
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
* Move to new route
* Convert to tailwind
* Basic style
* Add userStore
* nit
* nit
* nit
* Remove app.#setUser
* Route to user-select view
* Mock login
* Use primevue UI components
* handle create new user
* Remove legacy user selection
* Add logout button on side toolbar
* Add username to logout button tooltip
* Add playwright tests
* hide logout button in single user server
* nit
* 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>
* 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>
* Add option to disable ctrl + shift + zoom
Minor change to default behaviour: zoom no longer triggers if alt key is also down.
* Update coreSettings.ts
Next release will be 1.4.0 to leave room for patches in 1.3 stable after today's main repo sync.
---------
Co-authored-by: Chenlei Hu <huchenlei@proton.me>
* Allow future extensions of added schema objects
* Add explicit versioning to zod schemas
* Extend schema 0.4 with new fields in extras
- Allows Reroutes without using schema v1
- Reroute data is retained when using old versions - simply not displayed
* Add Reroute undo/redo support
* 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>