Commit Graph

3476 Commits

Author SHA1 Message Date
Chenlei Hu
f85cb3d5e9 Migrate all tests to TypeScript (#19)
* Merge 2 npm repos

* Install ts-jest

* Update jestconfig

* Fix jest types

* jest fix

* Fix babel config ref issue

* Fix import

* Fix import meta issue

* fix generate

* Skip multi-user tests
2024-06-17 11:25:56 -04:00
Chenlei Hu
48d5870d9c Sync with upstream (#20) 2024-06-17 09:37:25 -04:00
Chenlei Hu
0ef74392ca Migrate ui/ (#14)
* Rename js to ts

* Fix all tsc errors
2024-06-14 20:53:25 -04:00
Chenlei Hu
1376459cd8 Migrate app.js (#12)
* Rename js to ts

* Fix all tsc errors

* nit
2024-06-14 17:11:19 -04:00
Chenlei Hu
23074eb823 Migrate api.js (#11)
* Rename file

* Migrate api.js
2024-06-14 15:11:09 -04:00
Chenlei Hu
42cf977ca1 Migrate pnginfo (#10) 2024-06-14 14:55:37 -04:00
Chenlei Hu
d85cff385d Migrate utils.js (#9)
* Rename js to ts

* Migrate utils
2024-06-14 14:38:49 -04:00
Chenlei Hu
bcf3a39de7 Migreate ui.js (#8)
* Rename js to ts

* Migrate ui.js
2024-06-14 14:28:39 -04:00
Chenlei Hu
92f5da72a4 Migrate ui/settings.js (#7)
* Migrate ui/settings.js

* nit
2024-06-14 13:43:25 -04:00
Chenlei Hu
cefa452c3b Migrate logging.js (#6)
* Rename js to ts

* Format code

* Fix all tsc errors
2024-06-14 13:22:09 -04:00
Chenlei Hu
2595d12a84 Re-enable TSC on build (#5)
* Fix fall through

* Re-enable tsc
2024-06-14 09:55:33 -04:00
Chenlei Hu
92b08c0808 Migrate widgets.js (#4)
* Rename js to ts

* Fix ts error

* nit
2024-06-14 09:23:21 -04:00
Chenlei Hu
74abc34624 Migrate domWidget from js to ts (#3)
* Rename js to ts

* Migrate domWidget.js

* Fix global declare
2024-06-13 23:57:14 -04:00
Chenlei Hu
3fbb75ce76 Configure vite to copy from src to dist (#2)
* nit

* move

* direct copy lib dir

* nit

* disable treeshake
2024-06-13 23:09:10 -04:00
huchenlei
e50259cefb Move everything under public 2024-06-13 15:59:56 -04:00
huchenlei
ee0b054cde Move extensions to public folder 2024-06-13 14:23:31 -04:00
huchenlei
c8ea8132bc Move 2024-06-13 14:19:15 -04:00
huchenlei
1cfcd76754 Put lib/css under public/ 2024-06-13 14:17:06 -04:00
huchenlei
36f55018ce Add extensions core 2024-06-13 14:08:38 -04:00
huchenlei
b4ff842058 format code 2024-06-12 21:39:31 -04:00
huchenlei
4f093a147a Format code 2024-06-12 20:50:09 -04:00
huchenlei
2f028f952c Remove temp files 2024-06-12 20:48:39 -04:00
huchenlei
513c0aa24b Remove temp files 2024-06-12 20:48:26 -04:00
huchenlei
4176712038 Move index.html 2024-06-12 20:47:29 -04:00
huchenlei
0711fa683c Bootstrap vite 2024-06-12 20:34:50 -04:00
huchenlei
de5a383951 Add src 2024-06-12 20:28:44 -04:00
comfyanonymous
c608227c3c Fix links sometimes not being correct when copy pasting nodes. 2024-04-05 15:25:59 -04:00
pythongosssss
49a3e31402 Fix using enter to select item (#6) 2024-02-06 12:27:29 -05:00
pythongosssss
5925961fa1 Show node title in search and also search title (#5)
Fix long types overflowing dialog
2024-01-30 22:24:37 -05:00
pythongosssss
208eb2d006 Support custom hide timeout on node search dialog (#4) 2024-01-23 19:48:42 -05:00
comfyanonymous
eec3575df5 Auto select value in prompt. 2023-12-21 13:18:52 -05:00
comfyanonymous
6a0e012475 Increase maximum number of nodes to 10k. 2023-12-21 13:18:23 -05:00
comfyanonymous
a9d6ff977f Fix group loading. 2023-12-21 13:08:53 -05:00
pythongosssss
f71e6f3106 allow nodes to be specified when copying (#3) 2023-12-21 13:08:53 -05:00
comfyanonymous
3a3a51cfcd Lower search timeout. 2023-12-21 13:05:43 -05:00
comfyanonymous
fb126fff4f Fix middle mouse drag. 2023-12-21 13:05:43 -05:00
comfyanonymous
a525552030 Fix litegraph button being black on light theme. 2023-12-21 13:05:43 -05:00
comfyanonymous
864d0f1270 Add back roundRect so firefox ESR can work again. 2023-12-21 13:05:43 -05:00
comfyanonymous
41050752dd Fix for high DPI. 2023-12-21 13:05:43 -05:00
comfyanonymous
8e6be3c8de Put PR #386 in right file. 2023-12-21 13:05:43 -05:00
comfyanonymous
adbbc53fa4 Move properties panel from double click to menu option. 2023-12-21 13:05:43 -05:00
comfyanonymous
8cc3cd39d9 Make nodes easier to resize. 2023-12-21 13:05:43 -05:00
comfyanonymous
59192b8a58 enable new CTRL-SHIFT-V 2023-12-21 13:05:43 -05:00
comfyanonymous
4e0670ffb1 litegraph dev forgot to remove the title height from the collision if it's hidden 2023-12-21 13:05:43 -05:00
comfyanonymous
db34e87d6c Allow dragging again. 2023-12-21 13:05:43 -05:00
comfyanonymous
6c746ab5fc ComfyUI fixes for mobile stuff. 2023-12-21 13:05:43 -05:00
Javi Agenjo
2a1b25f850 Merge pull request #405 from M1kep/fix/group-drag
fix: Correct bounding box calculation
2023-11-28 08:19:08 +01:00
Javi Agenjo
015547db2e Update base.js 2023-10-27 10:28:34 +02:00
Javi Agenjo
3acdcee1fd Update network.js 2023-10-26 20:36:33 +02:00
Javi Agenjo
2bc9fd9e41 Update network.js 2023-10-26 20:31:10 +02:00