Commit Graph

508 Commits

Author SHA1 Message Date
Chenlei Hu
ff2d160230 Reduce divider margin in node library (#701) 2024-09-01 14:49:31 -04:00
Chenlei Hu
b0b5f92940 Add setting to control tree explorer item padding (#700) 2024-09-01 14:36:15 -04:00
Chenlei Hu
d04dbcd2c1 [Major Refactor] Use TreeExplorer on nodeLibrarySidebarTab (#699)
* 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
2024-09-01 14:03:15 -04:00
huchenlei
5383f97eba Add tree explorer tree node test 2024-08-31 21:10:32 -04:00
huchenlei
bc7da487e8 Add drop handler 2024-08-31 21:10:32 -04:00
huchenlei
86e7c12e27 Add draggable/droppable flags 2024-08-31 21:10:32 -04:00
huchenlei
50f1ca8eaf Add extra interfaces 2024-08-31 21:10:32 -04:00
huchenlei
280b43fd58 Merge folder and node impl 2024-08-31 21:10:32 -04:00
huchenlei
488f0d82b4 More refactor 2024-08-31 21:10:32 -04:00
huchenlei
bc3ec65967 Move 2024-08-31 21:10:32 -04:00
huchenlei
61342edba0 1.2.42 v1.2.42 2024-08-31 09:56:05 -04:00
huchenlei
9247aec03a nit 2024-08-31 09:54:36 -04:00
huchenlei
0e88308571 Remove github button in error dialog 2024-08-31 09:54:36 -04:00
huchenlei
380cbdd5fc 1.2.41 v1.2.41 2024-08-30 21:27:06 -04:00
huchenlei
68d6b1f172 Add confirm dialog on window close 2024-08-30 16:51:10 -04:00
Chenlei Hu
70d5e98c73 Update github action run conditions (#682) 2024-08-30 15:32:26 -04:00
Chenlei Hu
9009e784f9 Add component test (Vitest) (#681)
* Add component test (Vitest)

* Fix compile error
2024-08-30 15:32:26 -04:00
Chenlei Hu
877e500510 Update litegraph (ES6 LGraphCanvas) (#679) 2024-08-30 15:32:26 -04:00
Chenlei Hu
aee2afee36 1.2.40 (#685) v1.2.40 2024-08-29 21:30:58 -04:00
Chenlei Hu
f42609c966 Add support for extra system stats in error report (#684)
* Add support for extra system stats in error report

* Add toast on error
2024-08-29 21:29:33 -04:00
pythongosssss
aaea05a37b Sync pr fix clip path when using new menu (#184)
* Sync pr fix clip path when using new menu

* Enable test

* Update outdated test image

* Update test image
2024-08-29 18:02:10 -04:00
pythongosssss
d0067719b8 Fix primitive resize (#683)
* Fix primitive resize on load
Fixes #676

* Add test

* Add playwright test

* Update test expectations [skip ci]

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
Co-authored-by: github-actions <github-actions@github.com>
2024-08-29 18:01:57 -04:00
Chenlei Hu
e59ed85cc0 1.2.39 (#675) v1.2.39 2024-08-28 20:22:18 -04:00
Alex "mcmonkey" Goodwin
d5b4311e24 run formatter and add .js to gitattributes (#673)
* run formatter and add .js to gitattributes

* remove npm format change
2024-08-28 17:21:07 -04:00
Alex "mcmonkey" Goodwin
6fed739402 add a git attributes file (#672)
set all ts and vue scripts as LF on Windows as there are scripts (eg the prettier format script) that will break with windows format
2024-08-28 17:03:38 -04:00
Chenlei Hu
b25c5259bd Fix node title editor's width when node is collapsed (#671)
* Fix node title editor's width when node is collapsed

* nit
2024-08-28 16:35:01 -04:00
Chenlei Hu
fb5bb57b0d Mark show missing models warning as experimental (#670)
* Mark show missing models warning as experimental

* nit
2024-08-28 16:22:40 -04:00
Chenlei Hu
986827cb91 Update litegraph (ES6 LGraphNode) (#669) 2024-08-28 15:45:45 -04:00
Chenlei Hu
6f9d2bfa17 Relands "Add support for LiteGraph to convert to classes" (#667)
* Revert "Revert "Add support for LiteGraph to convert to classes (#334)" (#386)"

This reverts commit d607f6c7f7.

* Format
2024-08-28 15:35:05 -04:00
Chenlei Hu
4e8acf6c77 Add setting to disable double click node title edit (#668) 2024-08-28 13:58:33 -04:00
Chenlei Hu
493805d0ee Update README (#664) 2024-08-28 12:00:13 -04:00
Chenlei Hu
2c174b5956 Group selected nodes by Ctrl + g (#663)
* Ctrl + g to group selected noes

* Add playwright test

* nit

* Move button loc

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-28 11:49:41 -04:00
Chenlei Hu
5c2cb00cd6 Replace autocomplete with select as node filter option input (#659)
* Replace autocomplete with select as node filter option input

* i18n
2024-08-27 21:45:44 -04:00
pythongosssss
968f417061 Node library search filters (#636)
* Add search filters to node library

* Fix

* Dont close on add

* Fix wildcard

---------

Co-authored-by: Chenlei Hu <chenlei.hu@mail.utoronto.ca>
2024-08-27 21:17:34 -04:00
Chenlei Hu
fef9395a2c Add format check CI task (#658) 2024-08-27 20:32:33 -04:00
Chenlei Hu
698754b835 1.2.38 (#657) v1.2.38 2024-08-27 18:23:10 -04:00
filtered
29d21348ca Fix image grid render consistency (#654)
- Makes image grids of non-uniform-size images fill the space the same as uniform image batches
- Re-uses existing code
- Removes workaround
- "Supports image sizes up to 1 terapixel"
2024-08-27 18:22:14 -04:00
Chenlei Hu
09d8f2a502 Missing model download dialog test (#656)
* Test prep

* Add missing model dialog test

* Basic test of download model

* Add comment

* Adjust setting in test

* Change download dir to not interfere with other tests
2024-08-27 17:34:32 -04:00
Chenlei Hu
50b418113c Double click node title to trigger edit (#655)
* Update litegraph

* Double click edit node title

* Update

* Auto select all

* Update litegraph

* Add playwright test

* Update readme

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-27 11:38:39 -04:00
Chenlei Hu
6ab92f28db Fix dialog maximization (#652) 2024-08-27 09:58:09 -04:00
Alex "mcmonkey" Goodwin
b19cbd9111 Model Downloader Improvements (#650)
* use new download_path value in download api

from https://github.com/comfyanonymous/ComfyUI/pull/4621

* add in-UI refusal for ckpt files
2024-08-27 08:56:57 -04:00
pythongosssss
9cdefca481 Enhancements to the queue image feed (#646)
* Enhancements to the queue image feed
 - Change flat list icon
 - Add cover/contain mode
 - Add right click -> go to node
 - Add go to node link on detail

* Add loading spinner

* resolve comments

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2024-08-26 21:57:23 -04:00
Chenlei Hu
84662ada9e 1.2.37 (#649) v1.2.37 2024-08-26 21:36:40 -04:00
Chenlei Hu
26b02979a1 1.2.36 (#648) 2024-08-26 21:31:38 -04:00
Chenlei Hu
0795c3041c Bookmark folder icon customization (#647)
* 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
2024-08-26 21:30:38 -04:00
pythongosssss
c604209f40 Fix crash connecting to node with no slots (#644)
* Fix crash connecting to node with no slots

* Add playwright test

* Update test expectations [skip ci]

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
Co-authored-by: github-actions <github-actions@github.com>
2024-08-26 18:29:52 -04:00
Chenlei Hu
96d129e8a6 Fix edit attention test (#640) 2024-08-26 11:31:46 -04:00
Chenlei Hu
a69858c87a Fix unbookmark node in node library (#639)
* Add unbookmark test

* Fix unbookmark
2024-08-26 11:04:08 -04:00
Chenlei Hu
03ac6eea19 Add playwright undo tests (#638) 2024-08-26 10:47:37 -04:00
filtered
f9ae5aaa0f Fix textarea undo history cleared by editAttention (#635) 2024-08-26 10:34:17 -04:00