Commit Graph

59 Commits

Author SHA1 Message Date
灵应 8935196fcd style: 后端代码black格式化
Deploy / Staging E2E Tests (push) Has been skipped
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 138h4m33s
CI/CD Pipeline / Frontend Lint (push) Failing after 138h4m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 138h4m39s
2026-07-03 18:49:54 +08:00
CI Test 464e13686e fix: 修复 Image.open() 资源泄漏
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
- asset_analyzer.py _load_image_as_array 使用 with 语句确保文件句柄关闭
2026-07-03 08:36:39 +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
灵应 4dcadea20c fix: PR #173 审计修复 — P1 真实文件上传 + P2-1 description 传递 + P2-2 setTimeout 清理
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 163h20m47s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 163h20m52s
Deploy / Deploy Staging (push) Failing after 163h20m54s
CI/CD Pipeline / Frontend Lint (push) Failing after 163h20m54s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 163h21m2s
P1: 音频文件改用 uploadAsset() 上传获取真实 URL,替换 mock:// 假 URL
P2-1: createVoiceClone() 构造 payload 时传递 description 字段到后端
P2-2: 组件卸载时通过 timerRef + useEffect cleanup 清理 setTimeout
2026-07-02 17:33:19 +08:00
灵应 71a1d38a6a feat: 任务 3.13 克隆 Modal 前端开发
- 新增 CloneModal 组件(components/voice/CloneModal.tsx)
  - 三步引导:上传音频 → 填写信息 → 提交克隆
  - 文件上传:支持 wav/mp3/m4a,≤10MB 验证,拖拽上传
  - 音色名称:必填,2-20 字符验证
  - 音色描述:可选,≤100 字符
  - 错误处理:格式错误、大小超限、API 失败提示
  - V21 设计系统样式(clone-modal.css)

- 扩展 voiceClone.ts API
  - CreateVoiceCloneRequest 新增 description 可选字段
  - createVoiceClone 函数传递 description 到后端

- 集成到 VoiceLibrary.tsx
  - pageActions 新增「克隆音色」按钮
  - 空状态按钮改为打开 CloneModal
  - 克隆成功后刷新列表(invalidateQueries)

- TypeScript 零错误
- V21 Design System — 零 antd 直接导入
2026-07-02 17:31:49 +08:00
灵应 c7fe28a0d0 feat: 任务 3.14 一键生成功能前端对接 TTS API
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 166h16m44s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 166h16m49s
Deploy / Deploy Staging (push) Failing after 166h18m39s
CI/CD Pipeline / Frontend Lint (push) Failing after 166h19m9s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 166h19m16s
- 新增 src/api/tts.ts:TTS 语音合成 API 模块,对接后端 /api/v1/tts/* 端点
- GeneratePage.tsx 对接真实预置音色 API(fetchPresetVoices 替换 MOCK_VOICES)
- 音色试听改为真实 audio 播放(使用 preview_url)
- 自定义录制模式对接 TTS 合成 API(synthesizeSpeech + 轮询状态)
- 克隆音色生成流程传递 voice_clone_profile_id
- 配音模式验证:clone 模式需选择克隆音色,custom 模式需文案或录音
- TypeScript 零错误
2026-07-02 14:35:11 +08:00
灵应 669b06fc73 feat(voices): 任务3.12 克隆音色卡片组件
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 167h6m25s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 167h6m30s
Deploy / Deploy Staging (push) Failing after 167h8m16s
CI/CD Pipeline / Frontend Lint (push) Failing after 167h8m47s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 167h8m54s
- 扩展 VoiceClone 类型(description/language/gender/error_message)
- 更新 toVoiceClone 映射(后端 pending → 前端 processing)
- 新增 CloneVoiceCard 组件(状态标签、播放控制、操作按钮)
- 新增 CloneDetailModal 详情弹窗
- 新增 CloneCardSkeleton 骨架屏加载
- 删除/重试 mutation + toast 提示
- 克隆卡片样式(voices.css ~450 行)
- TypeScript 零错误
2026-07-02 13:45:30 +08:00
灵应 b0aee55ff5 feat: 任务3.11 配音库页面升级 — 对接后端真实API
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 169h9m48s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 169h9m52s
Deploy / Deploy Staging (push) Failing after 169h11m45s
CI/CD Pipeline / Frontend Lint (push) Failing after 169h12m18s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 169h12m24s
- 重写 voices.ts:新增统一音色 API(fetchVoices/fetchPresetVoices),保留旧接口向后兼容
- 重写 voiceClone.ts:对接后端音色克隆 API,导出 toVoiceClone 类型转换
- 升级 VoiceLibrary.tsx:删除所有 Mock 数据,useQuery 对接 preset/clone/unified 三个接口
- 修复 CloneVoiceModal/VoiceCloneModal:toVoiceClone 包装 createVoiceClone 返回值
- 修复 VoiceClone.tsx:useQuery queryFn 箭头函数包装
2026-07-02 11:40:33 +08:00
灵应 aa4b490578 fix: Phase 8 前端 P1 问题修复 — 严格对照后端 API Schema
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 170h50m55s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 170h51m0s
Deploy / Deploy Staging (push) Failing after 170h51m13s
CI/CD Pipeline / Frontend Lint (push) Failing after 170h51m13s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 170h51m20s
- editPlans.ts: 按后端 Edit Plans Schema 重写所有 API 函数
  - getEditPlans/getEditPlanDetail/createEditPlan/updateEditPlan/deleteEditPlan
  - generateEditPlan/getGenerationStatus 对接真实接口
  - getMediaAssets/getAssetLibraries 传 libraryId 参数
  - AssetResponse 字段直接映射(thumbnail_url/duration/width/height 等)
- EditingPlanner.tsx: handleSave 传参匹配 CreateEditPlanRequest
- MediaPanel.tsx: 素材获取传 libraryId,移除未使用变量
- GeneratePage.tsx: 素材获取用真实 API,生成流程用轮询,移除未使用变量
- AssetSelector.tsx: 修复 TS 类型错误(onChange/buttonSize/未使用函数)
- MyVoices.tsx: 修复 PageHead 导入(default export)
- VoiceLibrary.tsx: 修复 PageHead 导入 + Modal 未使用 + Timeout 类型

TypeScript 零错误,严格匹配后端接口字段名。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 10:03:10 +08:00
xiaoxia 6c08459d12 Merge pull request 'feat(editing-planner): 生成进度展示 — 任务 2.17' (#158) from feature/task-2.17-generation-progress into develop
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 184h39m13s
CI/CD Pipeline / Frontend Lint (push) Failing after 184h39m38s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 184h39m43s
2026-07-01 20:14:47 +08:00
灵应 6ce40d76ea feat(editing-planner): 实现生成进度展示 — 任务 2.17
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 186h43m22s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 186h43m25s
Deploy / Deploy Staging (push) Failing after 186h43m53s
CI/CD Pipeline / Frontend Lint (push) Failing after 186h44m20s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 186h44m24s
- 新增 GenerationProgressModal 组件:三阶段 UI(setup → progress → completed/failed)
- 集成 React Query 轮询:refetchInterval 2s 轮询任务状态,终态自动停止
- 进度展示:SVG 进度环 + 进度条 + 步骤文案 + 任务 ID
- 失败处理:错误信息展示 + 可重试时显示重试按钮
- 对接 createGenerationTask / getTask / retryTask API
- V21 设计系统,CSS 类名前缀 ep-gen-
2026-07-01 18:09:58 +08:00
灵应 7e954405f3 feat(task-2.15): 素材选择器优化 — 批量选择 + 拖拽排序 + 预览缩略图 + 质量分筛选
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 187h50m29s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 187h50m32s
Deploy / Deploy Staging (push) Failing after 188h16m12s
CI/CD Pipeline / Frontend Lint (push) Failing after 188h16m34s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 188h16m38s
- 新增 AssetSelector 可复用组件(批量选择/拖拽排序/悬浮预览/质量分筛选/视图切换)
- MediaPanel 集成 AssetSelector,素材 Tab 使用 useQuery 内部获取数据
- TimelinePanel 支持批量素材拖入(application/x-media-assets)
- EditingPlanner 新增 handleBatchAddAssets 批量添加逻辑
- editPlans.ts 扩展 MediaAsset 类型(quality_score/classification_status)
- V21 设计系统响应式样式(1200/900/768/480 断点)
2026-07-01 16:37:27 +08:00
灵应 16bf124a60 feat(task-2.14): 剪辑计划编辑器完整版 — 三栏布局 + 拖拽 + 素材面板
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 189h47m20s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 189h47m22s
Deploy / Deploy Staging (push) Failing after 189h47m51s
CI/CD Pipeline / Frontend Lint (push) Failing after 189h48m17s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 189h48m22s
- 新增 editPlans API 模块(Mock 数据,预留真实接口)
- 新增 MediaPanel 组件:左侧 Tab 切换(模板+素材),素材可拖拽
- 重写 TimelinePanel:可视化时长条 + 片段卡片 + 拖拽排序 + 素材接收
- 新增 ClipPropertiesPanel:右侧片段属性编辑(文案/时长/转场/素材关联)
- 升级 EditingPlanner 主页面:集成三栏布局 + 剪辑计划 CRUD
- 重写 EditingPlanner.css:全新 V21 设计系统样式 + 响应式适配
- 修复 TypeScript 类型错误

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 15:03:58 +08:00
CI Test f0eed0ca3f style: fix prettier formatting issues
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 192h26m58s
CI/CD Pipeline / Frontend Lint (push) Failing after 192h27m37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 192h27m46s
2026-07-01 12:26:48 +08:00
灵应 89c1e42f38 feat(ui): 新建账号管理页面
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 194h12m19s
CI/CD Pipeline / Frontend Lint (push) Failing after 194h12m49s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 194h12m58s
- 新增 api/accounts.ts mock API(平台配置 + 绑定/解绑/查询)
- 新增 pages/accounts/Accounts.tsx 账号管理页面
  - 4 平台卡片(抖音/快手/小红书/微信视频号)
  - 2 列网格布局,响应式 768px 单列
  - 账号列表含头像/状态标签/解绑按钮
  - 空状态 🔓 提示
  - 底部统计栏:已绑定数/平台总数
  - 绑定/解绑操作(mock + window.prompt/confirm)
  - 自定义 toast 提示
- 新增 accounts.css V21 样式(CSS 变量,零 antd)
- 更新路由 /accounts
- 更新 Sidebar/Header 导航 + PageHead 标题映射
2026-07-01 10:41:33 +08:00
灵应 3a6d8d4bfd feat(ui): 新建我的音色页面
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 194h34m44s
CI/CD Pipeline / Frontend Lint (push) Failing after 194h35m24s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 194h35m35s
- 新增 api/voiceClone.ts: mock 数据模块(4条音色,含 ready/processing 状态)
- 新增 pages/voice-clone/VoiceClone.tsx: 主页面,卡片网格+空状态+编辑弹窗+toast
- 新增 pages/voice-clone/voice-clone.css: V21 设计系统样式
- 更新路由 /voice-clone、侧边栏菜单、Header导航、PageHead面包屑
- 零 antd 依赖,使用 V21 UI 组件(Button, Tooltip)
- TypeScript 检查通过
2026-07-01 10:18:54 +08:00
xiaoxia 560856cf22 fix: resolve all flake8 errors and apply Prettier formatting (#131)
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 210h26m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 210h27m0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 210h27m7s
2026-06-30 18:26:53 +08:00
xiaoxia 60c68ac586 fix: resolve all ESLint warnings for clean lint output (#128)
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 210h47m24s
CI/CD Pipeline / Frontend Lint (push) Failing after 210h47m48s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 210h47m52s
2026-06-30 18:06:41 +08:00
Audit Bot 304354208a fix(assets): add project_id to OSS direct upload and align size limit to 2048MB
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
P1: prepareDirectUpload and completeDirectUpload now require project_id,
uploadAssetDirect calls getOrCreateDefaultProject() to obtain it automatically.
P2: MAX_FILE_SIZE changed from 2*1024^3 to 2048*1024*1024 to align with
backend OSS_DIRECT_UPLOAD_MAX_MB=2000.
2026-06-30 00:07:27 +08:00
Audit Bot 265e49587f fix: tasks.ts 类型定义对齐后端 schema(P2 修复)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- CreateGenerationTaskResponse: task_id→id, message→error_message, 补全所有字段
- TaskItem: 补充 project_id, template_id 字段

对齐后端 GenerationTaskResponse 和 UserTaskResponse schema
2026-06-29 17:39:47 +08:00
Audit Bot c2a522babf fix: tasks.ts mock → 真实 API 迁移,对接后端方案 A(PR #109)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- createGenerationTask: 关闭 mock,调用 POST /generation/tasks
- getUserTasks: 关闭 mock,调用 GET /tasks(用户级列表)
- retryTask: 关闭 mock,调用 POST /tasks/{task_id}/retry
- 删除所有 mock 数据和 USE_MOCK 开关
2026-06-29 17:29:56 +08:00
xiaoxia 8c4c428cdc fix(api): editingPlanner 对接后端 /templates API,删除遗留 editPlans.ts (#108)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Squash merge PR#108
- editingPlanner.ts: mock → 真实 /templates API(7个函数)
- editPlans.ts: 已删除
- 代码审计通过
2026-06-29 16:33:23 +08:00
Audit Bot 067439a1dd fix: 修复 PR#106 代码审计问题
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
P0-1: TemplateMode 改为英文枚举值(pip/voice_over/one_take/voice_pip),显示层通过 MODE_LABELS 映射中文
P0-2: EditingPlanner 通过 useSearchParams 读取 ?template=xxx&generate=1,自动加载模板并打开发成弹窗
P1-3: 848行组件拆分为 5 个子组件(TemplatePanel/TimelinePanel/SettingsPanel/SaveModal/GenerateModal)
P1-4: GenerateFromTemplatePayload voiceover_id(string) → voiceover_duration(number)
P1-5: SaveModal 分类字段 Input → Select,关联后端 categories API
P1-6: SaveTemplatePayload 补充 estimated_duration 字段
P2: TimelinePanel Slider 约束 min≤max

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-29 15:18:33 +08:00
Audit Bot fff47a7a3d feat: 剪辑计划编辑器前端实现
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- 新增剪辑计划编辑器页面 (三栏布局)
  - 左侧:模板面板(搜索/筛选/加载模板)
  - 中间:预览区 + 时间线(片段拖拽排序)
  - 右侧:标题/字幕/BGM 设置面板
- 支持 4 种模式切换(画中画/人物口播/一镜到底/口播+混剪)
- 新增「我的模板」页面(卡片视图/编辑/复制/删除/生成)
- 新增 API 模块(mock 数据,后端就绪后替换)
- 更新路由和导航菜单

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-29 14:35:27 +08:00
Audit Bot 53910e5f20 fix: 前端交互全面审计 — 上传422修复 + 进度反馈 + 防重复提交
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
🔴 P0 Bug:
- AssetLibrary: handleUpload 补充 project_id,调用 getOrCreateDefaultProject() 解决 422

🟡 P0 交互:
- AssetLibrary: 上传时显示 Spin + 禁用 Dragger + 文案提示「正在上传」
- client.ts: 新增 413/415/503 状态码专属提示

🔵 全面交互排查:
- GeneratePage: 生成中禁用步骤导航按钮防误操作
- Billing: 自动续费 Switch 添加 loading 状态防连点
- TemplateLibrary: 收藏按钮 mutation 进行中 disabled 防重复
- TitleLibrary: 空状态增加「新建标题」和「批量导入」引导按钮
2026-06-29 10:48:39 +08:00
Audit Bot 4143018faa fix: 全面补充前端交互状态反馈
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- client.ts: 添加全局错误拦截器,自动提取后端 detail/message/msg 字段展示 toast
  - 处理网络异常、超时、5xx 等场景
  - 通过 __msgShown 标记避免与组件 onError 重复弹提示
- 6 个 delete mutation 补充 onError 回退提示(AssetLibrary、TitleLibrary、
  VoiceLibrary、ProductLibrary、DuplicationResults×2)
- GeneratePage: 5 个 query 增加 loading + error 状态展示
- TemplateLibrary: favMutation 增加收藏/取消收藏成功提示及失败回退
- Dashboard: 增加 isError 错误状态展示,避免静默显示全零数据
- DuplicationDetail: 增加 isError 状态,区分加载失败与记录不存在
2026-06-29 09:35:08 +08:00
Audit Bot 5eacac3abf fix: 修正 getProjects 响应解析 — 后端返回 {items:[...]} 而非裸数组
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- BackendProjectResponse 对齐后端 ProjectResponse(仅 id/name/description)
- getProjects 改为 response.data.items 解析
- 修复代码审计 PR#94 审查发现的 P0

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-29 07:25:41 +08:00
Audit Bot 841b501c30 fix: 素材库新建自动获取/创建默认项目以提供 project_id
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- 新增 api/projects.ts:项目 API 模块,含 getOrCreateDefaultProject
- 修改 createAssetLibrary:自动解析 project_id 再发送请求
- 后端 CreateAssetLibraryRequest 要求 project_id,前端之前未发送导致 422
- 修复 P0:新建素材库点击确定无响应

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-28 22:01:38 +08:00
Audit Bot 54cbfe2adf fix: 修复标题库新建/编辑功能 — 前后端字段名不匹配导致422
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
根因:前端发送 { content, category } 但后端 CreateTitleLibraryRequest
期望 { name (必填), text (必填), category }。字段名不匹配导致
Pydantic 校验失败返回 422,modal 不关闭,数据不保存。

修复:
- api/titles.ts: 请求时将 content 映射为 text + 自动截取 name
- api/titles.ts: 响应时将后端 text 字段映射回前端 content
- api/titles.ts: updateTitle 改用 PUT(后端实际方法)
- 页面代码无需改动,映射在 API 层透明处理

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-28 21:28:55 +08:00
CI Test c7027c07d1 feat(subscription): 对接后端订阅API,移除mock数据
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
2026-06-28 20:15:36 +08:00
Audit Bot f8cb32db56 fix: 修复一键生成页面废弃 API 调用及导航问题
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
Bug A: GeneratePage 引用已删除的 editPlans API(/edit-plans/auto-generate 不存在)
- 新增 createGenerationTask 到 tasks.ts(USE_MOCK 模式,待后端适配扁平化架构后切换)
- GeneratePage 改用 createGenerationTask 替代 autoGenerateEditPlan
- 移除对 @/api/editPlans 的引用

附带修复: window.location.href → useNavigate('/history')
2026-06-28 17:45:05 +08:00
Build Agent 927b302152 feat(subscription): 实现订阅管理前端页面
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- 新增 api/subscription.ts: 订阅 API 模块(mock数据+接口定义)
- 新增 UpgradeSubscription.tsx + .css: 升级/降级/续费页面
- 新增 Billing.tsx + .css: 账单管理页面
2026-06-28 16:19:02 +08:00
Audit Bot 92bf5d6cfa feat(phase2): 查重功能前端页面
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- 新增查重 API 模块(mock 数据),含上传、记录列表、详情、删除、重试接口
- 新增上传查重页(DuplicationUpload):拖拽上传、格式校验、上传进度
- 新增查重结果列表页(DuplicationResults):表格展示、状态标签、查重率进度条、批量删除
- 新增重复视频对比详情页(DuplicationDetail):片段时间线可视化、相似度展示
- 路由新增 /duplication、/duplication/results、/duplication/:id
- Header 导航新增「查重」入口

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-28 15:20:37 +08:00
xiaoxia abcca337e7 feat: Phase 1 - 前端重构(新路由/新页面/手机端适配/清理旧页面) (#73)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
2026-06-28 14:50:17 +08:00
CI Test 5c46fe648d fix(frontend): 深度健康检查 - 清理死代码和修复合并冲突
Tests / test (pull_request) Failing after 0s
Tests / lint (pull_request) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- 删除未使用的API模块: projects.ts, generation.ts, subscription.ts, projectTitles.ts
- 删除未使用的业务组件: InviteMemberModal.tsx, MemberList.tsx, PermissionMatrix.tsx
- 删除未引用的布局组件: Sidebar.tsx
- 删除未引用的状态管理: uiStore.ts
- 修复 business.css 中残留的git合并冲突标记
- 移除 business.css 中重复的注释行

所有删除的文件均经过引用检查,确认无任何页面/组件/hook引用
2026-06-28 10:34:00 +08:00
xiaoxia a6e85092ce fix: 统一 ENABLE_REDIS_SESSIONS 命名,修复登录因 AttributeError 导致 500 2026-06-27 17:05:48 +08:00
CI Bot c70add5d8d refactor(web): remove workspace-related frontend code after backend removal 2026-06-27 07:34:29 +08:00
Coze Agent a37100af95 feat: 生成页面剪辑模式选择 + 智能编排时间轴
- 新增剪辑模式选择器(one-take/pip/voiceover/voice_pip)
- 新增智能编排 API(auto-generate, getEditPlans, deleteEditPlan 等)
- 新增时间轴组件展示编排预览
- 新增 AutoArrangePanel 智能编排面板
- GenerationTaskItem 和 GeneratedVideoItem 新增 editing_mode 字段
- 生成弹窗新增剪辑模式选择 UI
2026-06-26 21:10:04 +08:00
Xiaoxia AI 0f59b412bc feat(plans): add edit plan preview workflow 2026-06-24 10:10:25 +08:00
Xiaoxia AI ea3a4c4111 feat(tasks): retry failed project tasks 2026-06-24 09:19:23 +08:00
Xiaoxia AI ee6b4a663a feat(tasks): add project task center 2026-06-24 08:39:32 +08:00
Xiaoxia AI 8acbd6c8a7 feat(results): add generated video management 2026-06-24 06:28:06 +08:00
Xiaoxia AI 17021c351f feat(titles): complete title selection workflow 2026-06-24 00:55:00 +08:00
Xiaoxia AI 6b66601d67 feat(titles): add project title library 2026-06-24 00:30:58 +08:00
Xiaoxia AI 9cc48aeee9 feat(assets): add review actions and high risk view 2026-06-23 22:57:56 +08:00
Xiaoxia AI f2a9b0868b feat(assets): track generation usage review state 2026-06-23 21:52:47 +08:00
Xiaoxia AI d052645307 feat(assets): add project material diagnosis 2026-06-23 20:14:03 +08:00
Xiaoxia AI 6e42f944c0 feat(upload): add OSS direct upload flow 2026-06-23 15:47:03 +08:00
Xiaoxia AI a466a13ec8 fix(web): avoid asset list failures during large uploads 2026-06-23 13:02:06 +08:00
Xiaoxia AI 14f72dbb50 fix(web): clear stale auth before workspace load 2026-06-22 20:41:48 +08:00