Complete frontend rewrite from vanilla HTML/CSS/JS to React 19 + TypeScript + Tailwind CSS v4. Frontend (frontend/commander-ai-lab-ui/): - Vite + React 19 + TypeScript + Tailwind CSS v4 + React Router - 7 pages: BatchSim, Collection, Decks, AutoGen, Simulator, Coach, Training - Reusable components: Spinner, StatusBadge, CardImage, ManaSymbols, EmptyState - Full typed API client layer (8 modules matching all backend endpoints) - Recharts for mana curves, win rate charts, progress bars - Lucide icons throughout - Custom dark theme with MTG mana color tokens - Code splitting (recharts + react in separate chunks) Backend (lab_api.py): - SPA-aware static file serving with catch-all for client-side routing - Fallback to legacy ui/ folder if React dist not built - Updated startup log with SPA route list Build system: - .gitignore added (was missing - removes pyc, db, node_modules, etc.) - build-full-installer-v2.py: v23 with Node.js check + React build step - Vite build config with manual chunks for optimal loading Also includes: V3 deck generator fixes, coach improvements, DeepSeek sim modules
45 lines
481 B
Plaintext
45 lines
481 B
Plaintext
# Build artifacts
|
|
target/
|
|
dist/
|
|
dependency-reduced-pom.xml
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.egg-info/
|
|
*.egg
|
|
.eggs/
|
|
|
|
# Node
|
|
node_modules/
|
|
.vite/
|
|
|
|
# Data & runtime
|
|
*.db
|
|
*.db-journal
|
|
results/
|
|
imported-decks/
|
|
deck-reports/
|
|
coach-sessions/
|
|
embeddings/
|
|
logs/
|
|
checkpoints/
|
|
data/mtg-embeddings.npz
|
|
data/mtg-embeddings.parquet
|
|
card_names_cache.json
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Installer (generated, too large for git)
|
|
install-commander-ai-lab.ps1
|