Terry Jia
7355209c12
build vue and primevue separately and generate importmap ( #3473 )
...
Co-authored-by: Chenlei Hu <hcl@comfy.org >
2025-04-20 13:43:22 -04:00
Chenlei Hu
907632a250
Use bundler moduleResolution mode in tsconfig ( #3464 )
2025-04-15 11:17:07 -04:00
Chenlei Hu
a049e9ae2d
[TS] Enable strict mode ( #3136 )
2025-03-18 22:57:17 -04:00
Chenlei Hu
7af003fcab
[TS] Enable noUnusedParameters ( #3110 )
2025-03-17 16:47:45 -04:00
Chenlei Hu
7e66e99c3a
[TS] Enable noUnusedLocals ( #3108 )
2025-03-17 16:20:56 -04:00
Yuki Shindo
9ef40189f9
Add lobe-i18n setup and translation scripts and update translation files for consistency ( #1751 )
...
* refactor: convert translation files from TS to JSON format
* feat: add lobe-i18n setup and translation scripts
* chore: update translation files for consistency
* chore: refine translations in ja_JP.json for natural phrasing
* refactor: revert locale file names to original simpler format (e.g., en_US → en)
2024-12-01 20:03:17 -05:00
Chenlei Hu
5611e90fda
Add ts-strict-ignore plugin ( #1235 )
...
* Add ts-strict-ignore plugin
* nit
* Add to typecheck script
2024-10-12 11:56:49 -04:00
ArtificialLab
ea0f74a9f6
Cleanup ( #915 )
...
* (update) cleanup:
- move reflect to main.ts
- add config.ts with comfy frontend version
- cleanup index.html and App.vue
* (fix) lint doesn't like branch assignments
* (fix) properly add __COMFYUI_FRONTEND_VERSION__ to ts globals
2024-09-22 10:12:54 +04:00
余腾靖
b5a919e8b2
fix: remove useless @ts-ignore and migrate to @ts-expect-error ( #293 )
...
* fix: vite primevue/treenode import error
* refactor: remove useless @ts-ignore and replace with @ts-expect-error
* build(tsconfig): enable incremental to speed up secondary time type check
2024-08-04 07:22:24 -04:00
Chenlei Hu
c6d2767af1
Transforms ComfyInputsSpec on nodes ( #220 )
...
* Convert input spec defs
* Fix test
* Add combo test
* import metadata
2024-07-25 13:50:55 -04:00
Chenlei Hu
a28ac0c0fa
New searchbox with fuzzy search (WIP) ( #83 )
...
* Disable default searchbox
Add headlessui and vue
Add vite's vue plugin
Vue app helloworld
Format vue
Add vue shim
minimal working searchbox
Add primevue dark mode
Use primevue
nit
Add fuse fuzzy search
Add tailwindcss / center searchbox
Fix style
Add node source chip
desc text wrapping
Add placeholder
inputbox filter support wip
Revert some filter designs
Add filter modal
Drop down show all nodes
Change modal font
Add filtered search
nit
Complete on focus
Auto fill filterOption
Fix dropdown
Fix z-index
Fix search bug
Properly remove chip
Adjust node source detection
Resolve merge conflict
nit
* Refactor
* Use badge to display filter type
* nit
* Trigger on canvas event
* nit
* Auto add data type filter when link released
* nit
* Auto focus when shown
* Focus on add/remvoe filter
* close dialog when escape pressed
* Add node at fixed location
* nit
* Update litegraph
* nit
* Change theme
* Increase search limit
* Add node on event location
* Clear filter when dialog closed
* Enable/Disable new search bx
* Improve app loading
* Fix copy node
* Update test expectations
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-07-10 19:46:35 -04:00
Chenlei Hu
d1934f27c8
Use '@' path mapping ( #94 )
2024-07-05 22:04:29 -04:00
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
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
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
d7d2a1826e
Change tsconfig
2024-06-13 16:44:26 -04:00
huchenlei
1cfcd76754
Put lib/css under public/
2024-06-13 14:17:06 -04:00
huchenlei
2d00a34ffd
Resolve build errors
2024-06-13 12:04:55 -04:00
huchenlei
0711fa683c
Bootstrap vite
2024-06-12 20:34:50 -04:00