filtered
4c19e1ba3a
Speed up E2E tests using fully parallel ( #1429 )
...
With flaky tests / async bugs all dealt with, fullyParallel can be restored.
2024-11-04 20:33:50 -05:00
Chenlei Hu
2161ae4e5b
Pin selected items (Nodes + Groups) ( #1427 )
...
* Pin selected items (Nodes + Groups)
* Update litegraph
* Add playwright test
* nit
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-04 17:36:33 -05:00
Chenlei Hu
e1a118a70f
0.8.19 ( #276 )
2024-11-04 15:10:16 -05:00
Chenlei Hu
5edfc185c5
Unify pin/unpin interface between LGraphNode and LGraphGroup ( #274 )
2024-11-04 15:09:17 -05:00
Chenlei Hu
b663f86c9e
Serialize to node pos/size to plain array ( #273 )
2024-11-04 14:08:09 -05:00
Chenlei Hu
3148c90e28
[skip ci] Update README.md ( #1425 )
2024-11-04 09:16:55 -05:00
Chenlei Hu
497b2fba8d
1.3.32 ( #1424 )
v1.3.32
2024-11-04 09:03:27 -05:00
Chenlei Hu
09d5e29f01
Create new branch in release script ( #1423 )
2024-11-04 09:02:33 -05:00
filtered
56b63ebab5
Update Litegraph API: Group move / select / titlebar ( #1418 )
...
* Litegraph: Group move / select
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-03 18:45:20 -05:00
Chenlei Hu
6c60045208
0.8.18 ( #272 )
2024-11-03 18:31:45 -05:00
filtered
ba52402851
Replace canvas "action" magic strings ( #271 )
2024-11-03 18:30:19 -05:00
filtered
ce8d39f650
Group update - titlebar, resize, config ( #270 )
...
* Backport group header from frontend
* nit - TS types & redundant code
* Refactor - simplify group resize
* Fix group resize can be inverted
* Move group resize check to group class
* Add config for group padding & default colour
* nit - Remove redundant code
2024-11-03 18:27:41 -05:00
filtered
3be1937c41
Update delete selected ( #269 )
...
* Standardise naming - deleteSelected
Renamed from deleteSelectedItems
* nit - Refactor to match future state
2024-11-03 18:10:46 -05:00
filtered
3ba776e6ca
Add Litegraph multi-select & group nesting ( #1416 )
...
* Allow nested groups
Pass all selected items (new litegraph feature) instead of just selected nodes.
* Allow nested groups - context menus
* Update litegraph
* Update litegraph (Select all / Delete selected)
* Add playwright test
* nit
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-03 18:08:42 -05:00
Chenlei Hu
d874493405
0.8.17 ( #267 )
2024-11-03 17:28:43 -05:00
Chenlei Hu
88edf11068
Create unique branch name [skip ci] ( #266 )
2024-11-03 17:26:05 -05:00
Chenlei Hu
6180f5ef55
Backspace delete selected (Nodes + Groups) ( #265 )
...
* Backspace delete selected (Nodes + Groups)
* nit
* nit
2024-11-03 17:22:08 -05:00
Chenlei Hu
62bc1ecd9f
Ctrl+a select all items (Group + Node) ( #264 )
...
* Ctrl+a select all items (Group + Node)
* refactor
* nit
2024-11-03 17:16:11 -05:00
Chenlei Hu
30642850cb
0.8.16 ( #263 )
...
* Checkout new branch on release script run
* 0.8.16
* nit
2024-11-03 16:26:07 -05:00
filtered
1b110a62cf
Add multi select & group nesting ( #262 )
...
* Add multi-select all canvas items (groups, nodes)
* Add Feat: Group & Node Multi-Select / Nesting
- Groups can now contain groups
- Nested groups re-order on top of parent groups
- Groups can be added / removed from selection
- Uses new Positionable interface - easily extensible to new types
* Enhance add / remove from selection UX
More in line with normal desktop UX. Structured for keys to be customisable (if impl. later).
* Fix regression in link highlight
Legacy selection code still in use
* Allow nested groups to align perfectly on edges
* Remove group-move position rounding
Did not work under all circumstances, and resulted in misalignment more often than it helped.
2024-11-03 16:21:21 -05:00
Chenlei Hu
0a784d9236
Highlight splitter gutter on resizing ( #1414 )
2024-11-03 12:38:39 -05:00
filtered
e661decddc
Positionable: Common interface for canvas items ( #256 )
...
* Add Positionable interface to canvas elements
* Add group resizeTo children
Refactor out duplicated code from Node
* Remove redundant "is_selected" check
* Improve measure pass - interface, caching
Node bounds once per render
Cached results
* Use cached bounds for repeat canvas calls
- Removes margin param from getNodeOnPos
- Removes margin param from getGroupOnPos
- Hitboxes now uniform for render / mouse features
- Simplifies code
* nit - Refactor
* Fix top-left edge of hitbox missing
* Add ID to groups
2024-11-03 11:12:21 -05:00
Chenlei Hu
00df7b428f
Animate goto node ( #1412 )
...
* Animate goto node
* Update litegraph (animateToNode)
2024-11-03 10:57:17 -05:00
Chenlei Hu
d9efeb819d
0.8.15 ( #260 )
2024-11-03 10:47:54 -05:00
Chenlei Hu
6200aa8602
Reland animateToNode ( #259 )
...
* Reland animateToNode
* nit
2024-11-03 10:45:42 -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
Chenlei Hu
4dc3dc97f8
[Reland][skip ci] (add) watch to package.json scripts
...
Co-authored-by: dmx <vincent.f@intp.com >
2024-11-03 09:51:00 -05:00
filtered
394df49208
Fix primitive size on load ( #1407 )
v1.3.31
2024-11-03 09:29:39 -05:00
Chenlei Hu
38847e1079
1.3.31 ( #1411 )
2024-11-03 09:27:58 -05:00
Chenlei Hu
7c0240857c
Revert branch to cb6e80a645 ( #257 )
2024-11-03 09:12:47 -05:00
Chenlei Hu
dd86417177
Disable flaky test on missing model download dialog ( #1409 )
2024-11-03 09:04:18 -05:00
dmx
9b0f572ca1
(feature) animateToNode method
2024-11-03 17:18:34 +04:00
dmx
11fe365983
(add) onPositionChanged and onZoomChanged events
2024-11-03 17:03:30 +04:00
dmx
13c8c80509
(add) watch to package.json scripts
2024-11-03 17:02:37 +04:00
dmx
78426148ac
fix TS error 'Timeout' is not assignable to type 'number'
2024-11-03 10:00:38 +04:00
dmx
c8bac1aa40
add onNodeUpdated event in LGraph
2024-11-03 09:44:48 +04:00
dmx
79c53e0095
(prettier formatting)
2024-11-03 09:20:57 +04:00
dmx
cb6e80a645
update gitignore
2024-11-03 06:57:25 +04:00
filtered
1366c8cb44
Fix primitive resize when node size ref retained ( #1405 )
...
* Fix primitive resize when node size ref retained
Primitive assumes that setting node size property will replace the ref. Minimal change.
* Use explicit variable names
2024-11-02 16:14:49 -04:00
Chenlei Hu
3a910f25e9
Track previous workflow name on Vue side ( #1404 )
2024-11-02 14:40:05 -04:00
Chenlei Hu
9ec17c04a9
Update test ci action ( #255 )
2024-11-02 13:11:32 -04:00
Chenlei Hu
cc420b70a5
Add finally handler for rename tree node action ( #1403 )
...
* Add finally handler for rename tree node action
* nit
2024-11-02 11:39:15 -04:00
filtered
1dfe824239
Shared measure functions ( #254 )
...
* Add findPointOnCurve function
* Add measure functions: contains centre/rect
* Improve measure interfaces (ReadOnlyPoint/Rect)
* nit - Doc
* Add TS strict types
* Add TS strict types
* Add TS strict types
* Add TS type
2024-11-02 10:35:36 -04: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
filtered
c0217dbb7e
Remove _ctor pattern from Node & Group ( #248 )
...
Convert to initializers
2024-11-01 23:12:03 -04:00
Chenlei Hu
8baaf380dc
Split jest tests into fast and slow groups ( #1401 )
2024-11-01 22:39:42 -04:00
Chenlei Hu
d719a4e0fb
Move exportWorkflow from menu to workflowService ( #1399 )
2024-11-01 19:44:21 -04:00
Chenlei Hu
d254559e20
[Refactor] Extract createTemporary ( #1398 )
...
* [Refactor] Extract createTemporary
* nit
2024-11-01 19:32:50 -04:00
pythongosssss
d701758663
Add support for hidden & advanced widgets ( #1389 )
...
* Add support for hidden & advanced widgets
* Fix
* Update package
* Remove ts-expect-error
* Fix test, tidy
2024-11-01 19:12:44 -04:00
Chenlei Hu
a11b78d1c3
Remove deprecated method isFavourite ( #1397 )
2024-11-01 19:12:04 -04:00