feat(task-3.14): 一键生成对接音色克隆 — API获取克隆列表 + VoiceCloneModal集成 #150

Merged
xiaoxia merged 2 commits from feat/generate-voice-clone into develop 2026-07-01 16:36:23 +08:00

2 Commits

Author SHA1 Message Date
Audit Bot aa33c2e6c8 feat(task-3.14): 一键生成对接声音克隆 — getVoiceClones API + VoiceCloneModal 集成
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 188h57m24s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 188h57m29s
- GeneratePage: 替换内联克隆UI为API数据驱动的音色网格
- 集成 VoiceCloneModal 组件(四阶段进度弹窗)
- 页面加载时自动 fetchClonedVoices,支持克隆成功后刷新列表
- 音色卡片区分 ready/processing/failed 状态,非 ready 禁用选择
- generate.css: 新增 disabled 卡片、选中勾选标记样式
- router/index.tsx: 修复 voice-clone 路由缺失闭合括号的语法错误
2026-07-01 15:28:11 +08:00
Audit Bot b676f9e2c3 feat: add VoiceCloneModal component with 3-stage progress
- VoiceCloneModal.tsx: upload audio / record audio, fill voice name,
  submit clone task, 3-stage progress display (上传中 → 克隆中 → 完成)
- voice-clone-modal.css: CSS variables from global.css, xx-vcmodal-*
  naming convention, responsive breakpoints at 768/480px
- Uses Modal/Button from @/components/ui (V21 Design System)
- Calls createVoiceClone API (POST /api/v1/voice-clones mock)
- Props: open, onClose, onSuccess — integrates with MyVoices page

Task 3.13 — 音色克隆弹窗组件
2026-07-01 15:23:32 +08:00