Chenlei Hu
8ae9210298
Always sort workflows tree ( #1456 )
...
* Always sort workflows tree
* nit
* nit
* Add tests
* nit
* nit
2024-11-07 11:29:29 -05:00
Chenlei Hu
daf94d74d5
1.3.36 ( #1453 )
v1.3.36
2024-11-07 08:59:56 -05:00
Chenlei Hu
14b3d4c766
Fix loading of workflow bookmarks ( #1452 )
2024-11-07 08:58:28 -05:00
Chenlei Hu
40880dbb59
Move refresh button from actionbar to 'Edit' menu ( #1451 )
2024-11-07 08:47:46 -05:00
Chenlei Hu
aa4742e394
Update litegraph ( #1447 )
2024-11-06 21:51:03 -05:00
Chenlei Hu
80cbe491f8
0.8.21 ( #283 )
2024-11-06 21:47:31 -05:00
Chenlei Hu
0a7000328a
Add menu button to toggle focus mode ( #1446 )
...
* Add focus mode toggle button
* handle menu position
* nit
2024-11-06 20:56:32 -05:00
dependabot[bot]
da7a49bb5c
Bump happy-dom from 15.4.0 to 15.11.0 ( #1445 )
...
Bumps [happy-dom](https://github.com/capricorn86/happy-dom ) from 15.4.0 to 15.11.0.
- [Release notes](https://github.com/capricorn86/happy-dom/releases )
- [Commits](https://github.com/capricorn86/happy-dom/compare/v15.4.0...v15.11.0 )
---
updated-dependencies:
- dependency-name: happy-dom
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-06 19:59:13 -05:00
Chenlei Hu
5e4439b905
[Electron] Add electron-specific setup page ( #1444 )
...
* Add dummy server start view
* Do external nav
* nit
* nit
* nit
* nit
2024-11-06 19:39:09 -05:00
filtered
e1aac5cf61
Improve hitbox for group resize ( #277 )
...
Now the same as the visual area
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2024-11-06 19:35:56 -05:00
filtered
7e21b00cc7
Replace test framework: jest -> vitest ( #281 )
...
* Replace test framework: jest -> vitest
* nit - remove deprecated npm scripts
* Add vitest config
* Add a few basic tests
* Update actions with vitest params
* Add correct expectations
* Remove jest config
2024-11-06 17:27:32 -05:00
Chenlei Hu
ea0883271e
1.3.35 ( #1443 )
v1.3.35
2024-11-06 13:49:12 -05:00
Chenlei Hu
3d303c7693
Fix save workflow binding on Ctrl + S ( #1442 )
...
* Fix save workflow binding on Ctrl + S
* nit
2024-11-06 13:46:56 -05:00
Chenlei Hu
9f14edaf2b
1.3.34 ( #1440 )
v1.3.34
2024-11-06 08:53:38 -05:00
Chenlei Hu
d1738b50d2
Update litegraph (Remove hardcode +1 size) ( #1438 )
...
* Update litegraph (Remove hardcode +1 size)
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-05 19:07:38 -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
93c26ac99e
0.8.20 ( #280 )
2024-11-05 18:36:37 -05:00
filtered
2ba048de52
Remove hard-coded modifications to nodes ( #247 )
...
* Remove arbitrary 5 graph unit margin around nodes
* Remove arbitrary +1 pixel added to node width
---------
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2024-11-05 18:35:59 -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
Chenlei Hu
1387d7e627
1.3.33 ( #1435 )
v1.3.33
2024-11-05 10:06:51 -05:00
Chenlei Hu
16f2e56d8e
Handle errors from top action menu commands ( #1432 )
2024-11-04 22:50:19 -05:00
Chenlei Hu
75ffab2160
Fix user stuck in title editing state ( #1430 )
...
* Fix user stuck in title editing state
* Fix test
2024-11-04 21:59:40 -05:00
filtered
e6961f1c5a
Code cleanup, docs, TS types ( #278 )
...
* Fix test TS types
Prefer relative imports over @imports
* Add tuple names SerialisedLLinkArray
* nit
* [Refactor] LGraphCanvas.computeConnectionPoint
* [Refactor] Add LGraphCanvas.#dirty()
* Remove string LLink IDs
No downstream support for strings at present.
* nit - Rename
* nit
* nit
* nit - Remove unused code
* nit - Doc
* nit
* nit - Remove redundant code
* Remove unused: LGraphCanvas.isOverNodeBox
* Optimise - remove 2d context save/restore
* [Refactor] Move node collapsed check to class
* Add minor code change to support stricter types
* Revert accidental deletion in 0f2d04d
0f2d04d09e5e8a27a6d46d8c910dc077ed2d9071
2024-11-04 21:08:59 -05:00
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