Commit 8daad37
committed
refactor: clean up card import — fix reload hack, extract plugin, improve types
- Replace window.location.reload() with CustomEvent('open-mod-editor')
for cross-component communication after mod generation
- Extract appGeneratorPlugin (~440 lines) from vite.config.ts into
standalone module, accept explicit paths instead of __dirname
- Fix _index type hack in cardExtractor: return { entry, index } tuple
instead of sneaking undeclared field via double type assertion
- Remove unused ExtractPreviewModal (replaced by inline upload flow)
- Remove emoji from server-side console logs
- Use logger consistently (replace stray console.warn)
- Clean up duplicate setExtracting(false) in handleUploadSubmit
- Revert unrelated liveWallpaper default change
- Move prompt_generate_mod_en.md to .claude/
- Remove unused @types/jszip dependency1 parent f112df0 commit 8daad37
10 files changed
Lines changed: 864 additions & 1127 deletions
File tree
- .claude
- apps/webuiapps
- src
- components
- ChatPanel
- Shell
- lib
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
439 | 442 | | |
440 | 443 | | |
441 | 444 | | |
| |||
Lines changed: 0 additions & 351 deletions
This file was deleted.
0 commit comments