Files
xiaoxia-saas/apps
CI Test 48a5fc0720
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 2m31s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m43s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 2m33s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m10s
chore(frontend): Phase 1 清理 — 删除死代码和重复样式(-713行)
删除废弃文件:
- src/config/navigation.tsx (211行, 无引用, navigation.ts 为实际使用文件)
- src/components/business/ 目录 (365行, 空壳目录+死CSS)
- src/api/dashboard.ts (42行, 0处导入, Dashboard用硬编码mock)

修复路由:
- 删除 router/index.tsx 重复的 my-voices 路由 (7行)

清理重复CSS:
- generate.css: 删除重复 .xx-btn/.xx-btn-primary/.xx-btn-ghost 定义 (48行, 改用ui.css统一样式)
- Admin.css: 删除重复 .xx-card/.xx-select 定义 (40行, 改用ui.css/global.css统一样式)

构建验证: vite build 通过
预计减少: 713行 (41798 -> 41085)
2026-07-13 12:25:01 +08:00
..