feat: 任务 3.15 克隆进度展示 — 轮询 Hook + 进度条 + 状态标签 #153

Merged
xiaoxia merged 2 commits from feat/clone-progress-3.15 into develop 2026-07-02 18:27:04 +08:00

2 Commits

Author SHA1 Message Date
灵应 8dd0db58b8 fix: progress bar indeterminate animation (P2)
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 162h32m5s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 162h32m11s
- GeneratePage.tsx: processing 状态进度条改为 indeterminate 条纹流动动画
- MyVoices.tsx: 同上,移除硬编码 progress: 0 百分比显示
- generate.css: 添加 @keyframes xx-clone-progress-flow 条纹流动 + pulse 脉冲
- my-voices.css: 添加 @keyframes xx-mv-progress-flow 条纹流动 + pulse 脉冲
- 文本从 '0%' 改为 '处理中…',给用户处理中的视觉反馈

Fixes: P2 — progress 硬编码为 0,进度条永远显示 0%
2026-07-02 18:22:19 +08:00
Audit Bot c52be9b036 feat: 任务 3.15 克隆进度展示 — 轮询 Hook + 进度条 + 状态标签
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 162h42m48s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 162h42m54s
- 新增 useCloneProgress hook:processing 状态自动 3s 轮询,全部就绪后停止
- 新增 voiceClone API 层:VoiceClone 类型、CRUD 函数、进度模拟
- 重构 MyVoices.tsx:使用共享 API 和 hook,支持进度条/状态标签/轮询提示
- 重构 GeneratePage.tsx 克隆区域:调用 createVoiceClone API,显示进度和状态
- 新增 generate.css / my-voices.css 进度条、轮询提示、状态变体样式
2026-07-02 18:11:17 +08:00