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
a0d552c91a
fix: remove unused formatAmount to fix web build error
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 21:10:43 +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
xiaoxia
ba71fa9860
fix: remove unused Modal import from Billing.tsx
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 16:33:06 +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
49c8440fe1
fix(phase2): 修复 PR#75 代码审计 P1 问题
...
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
P1-1: DuplicationUpload 使用 navigate 替代 window.location.href,避免整页刷新
P1-2: DuplicationResults 批量删除使用 Promise.allSettled,部分失败时正确反馈结果
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-28 15:41:10 +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
efc8d23b1d
fix: resolve all TS6133 unused variable errors (Plans, ProjectGeneration, ProjectTasks)
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 11:17:52 +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
CI Test
ecfa0d33e4
fix(P1-2): generation.py _download_library_assets 改用 Worker SessionLocal 替代直接 create_engine
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 10:25:38 +08:00
Audit Bot
fb996a0a65
fix: 清理前端 console.log/warn/error 调试日志
...
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- 移除 ProjectGeneration.tsx 中唯一的 console.error 调用
- 确保生产构建不包含调试日志
- 前端代码中已无任何 console.log/warn/error
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-27 22:17:42 +08:00
CI Test
ef8c210c6e
fix: 修复 WorkspaceDetail.tsx TS 编译错误(移除 workspace_id 参数)
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-27 20:19:05 +08:00
CI Test
7c8ae7f3cc
fix: 添加 /projects 路由修复登录后页面空白
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-27 20:16:35 +08:00
Audit Bot
bad52fd1d0
fix: 修复前端构建问题 - 恢复 develop 分支配置
...
- develop 分支已包含完整的 package.json、tsconfig.json、vite.config.ts
- develop 分支已包含完整的路由、useAuth、api/tasks 实现
- @/ 路径别名已在 tsconfig 和 vite 配置中正确设置
额外修复:
- 删除 Next.js 残留文件 (next.config.js, next-env.d.ts)
- 删除死代码:workspaceStore.ts(从未被引用)、QuotaDisplay.tsx(从未被使用)
- 删除 Vite 脚手架残留:App.tsx、App.css
- Header.tsx 添加 Header.css 导入,修复顶部导航无样式问题
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-27 18:16:43 +08:00
xiaoxia
15b49082d1
Merge pull request 'fix: 修复前端审计问题 (#26-28)' ( #50 ) from fix/audit-frontend-p2 into develop
2026-06-27 17:19:51 +08:00
xiaoxia
a6e85092ce
fix: 统一 ENABLE_REDIS_SESSIONS 命名,修复登录因 AttributeError 导致 500
2026-06-27 17:05:48 +08:00
Audit Agent
91bdc57402
fix: remove duplicate route configuration
...
Issue #28 : Clean up duplicate routes
- Removed duplicate 'profile/settings' route that pointed to same Settings component
- 'profile' route is now the single route for settings page
2026-06-27 17:01:31 +08:00
Audit Agent
80544af807
fix: remove console.log statements from frontend code
...
Issue #26 : Clean up console.log debug statements in production code
- Removed debug console.log from Plans.tsx (subscription page)
- Removed debug console.log from ProjectGeneration.tsx (workspace page)
- Kept console.error for error logging
2026-06-27 16:59:43 +08:00
CI Bot
11494918eb
fix: resolve all workspace removal breakage - stub permissions, quota, ports, adapters
...
- Remove Workspace from domain/__init__.py exports
- Stub domain/permissions.py (all checks pass)
- Stub domain/quota.py (all checks pass)
- Create missing port stubs: workspace_member_repository, workspace_repository, workspace_invitation_repository
- Create missing adapter stubs: workspace_repository, workspace_invitation_repository
- Create routes/permissions.py stub (require_workspace_member no-op)
- Fix .env Redis URL encoding on production server
2026-06-27 09:16:53 +08:00
CI Bot
c70add5d8d
refactor(web): remove workspace-related frontend code after backend removal
2026-06-27 07:34:29 +08:00
CI Bot
597ddd4318
fix: escape quotes in JSX description prop
2026-06-26 22:19:43 +08:00
CI Bot
8c88fed8db
feat: V21 Admin 页面样式对齐 ( #31 )
2026-06-26 22:15:42 +08:00
CI Bot
d8afc46d29
feat: V21 Workspace+组件样式对齐 ( #30 )
...
Resolved merge conflict in business.css by keeping both sides
2026-06-26 22:15:36 +08:00
CI Bot
c6d53060fa
feat: V21 Auth 页面样式对齐 ( #29 )
2026-06-26 22:14:39 +08:00
xiaoxia
416d7646f4
feat: V21 订阅+设置页面样式对齐 ( #28 )
...
对齐 Subscription、UpgradeSubscription、Profile、Settings 页面到 V21 设计系统
2026-06-26 22:13:56 +08:00
CI Bot
a980691a10
fix: 修复剩余两个 TS 编译错误
...
1. ProjectAssets.tsx: 处理 file_size 可能为 undefined 的情况
2. ProjectGeneration.tsx: 替换不存在的 AutoGenerateOutlined 为 ThunderboltOutlined
2026-06-26 22:09:02 +08:00
CI Bot
5e50e9ae07
fix: 修复两个 TypeScript 编译错误
...
1. ProjectAssets.tsx: 将 asset.size 改为 asset.file_size(与 AssetItem 接口一致)
2. ProjectGeneration.tsx: 将 ant-design/icons 改为 @ant-design/icons(正确的包名)
Fixes CI build errors
2026-06-26 22:06:34 +08:00
CI Test
294dea39f3
feat: V21 design system alignment for admin pages
...
- Create unified Admin.css with V21 design tokens
- Update Dashboard with stat cards and V21 color scheme
- Update Analytics with V21 chart colors and metrics
- Update UserManagement with V21 table and search styles
- Update LogViewer with V21 filter bar and log level tags
- Update SystemMonitor with V21 progress and resource cards
- Update AdminComingSoon with V21 result styling
- Replace all inline styles with V21 CSS classes
- Apply Indigo/Green/Amber/Purple V21 color palette
2026-06-26 21:40:50 +08:00
CI Test
206957eb10
feat: V21 design system alignment for workspace pages and business components
...
- Add V21 styles to WorkspaceDetail page (page-head, cards, buttons)
- Create ProjectTasks.css and update ProjectTasks.tsx with V21 UI
- Create business.css with shared V21 styles (buttons, cards, tables, tags)
- Update InviteMemberModal with V21 modal styles
- Update MemberList with V21 table and tag styles
- Update PermissionMatrix with V21 card and table styles
- Update QuotaDisplay with V21 card and progress styles
- Update App.tsx and App.css with V21 design system
2026-06-26 21:37:28 +08:00
CI Test
0d232b1588
feat(auth): 将 Register/ForgotPassword/ResetPassword 页面样式对齐 V21 设计系统
...
- 使用统一的 xx-auth-page/xx-auth-card 布局结构
- 统一的渐变背景: rgba(79, 70, 229, 0.08) -> rgba(16, 185, 129, 0.06)
- 白色卡片 28px 圆角 + 大阴影效果
- Input 12px 圆角,focus 时 Indigo 边框
- 使用 btn primary class 样式按钮
- 添加 xx-auth-header/footer 统一头部和底部样式
- Result 页面使用 xx-result-page/xx-result-card 布局
2026-06-26 21:34:15 +08:00
Coze Agent
e740ac6429
feat: V21 UI full alignment ( #27 )
2026-06-26 21:27:19 +08:00
Coze Agent
06557f1709
feat: merge frontend generation UI ( #26 )
2026-06-26 21:27:02 +08:00
CI Test
ac5324d860
feat: 全面对齐 V21 设计系统 - Indigo主色/大圆角/毛玻璃/渐变背景
2026-06-26 21:16:21 +08:00
xiaoxia
f687b4207f
feat: add download_url field to generated video APIs ( #20 )
2026-06-26 21:13:18 +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
3961bb5777
fix(web): remove unused parameters and imports
2026-06-25 15:15:05 +08:00
Xiaoxia AI
e53eefbfe3
fix(web): disable noUnusedLocals/noUnusedParameters to allow build
2026-06-25 15:08:45 +08:00
Xiaoxia AI
1353441a96
fix(web): resolve TypeScript unused variable warnings
2026-06-25 14:56:47 +08:00
Xiaoxia AI
a0ea960eb8
feat(web): complete V21 UI redesign for all pages
...
- Replaced Ant Design Card/Layout with V21-compliant components
- Updated Header, MainLayout to V21 sticky top navigation
- Redesigned WorkspaceList, ProjectAssets, ProjectResults, ProjectTitles, ProjectVoices, ProjectGeneration with V21 card/grid system
- Added V21 color scheme, typography, spacing, pill badges, vertical/video cards
- Updated Login page and Plans subscription page to V21 design
- CSS-only styling without Ant Design overrides where possible
2026-06-25 14:53:49 +08:00
Xiaoxia AI
e40a7d4df9
test(web): target generation approval pill
2026-06-25 12:58:36 +08:00
Xiaoxia AI
da55b865a6
test(web): scope generation approval assertion
2026-06-25 12:43:17 +08:00
Xiaoxia AI
5f27e235b2
test(web): stabilize core E2E against V21 UI
2026-06-25 01:38:15 +08:00
Xiaoxia AI
dd390c10e4
fix(web): restore V21 workspace Chinese copy
2026-06-25 00:51:00 +08:00
Xiaoxia AI
cca3f0b711
feat(web): align SaaS UI with V21 prototype
2026-06-24 19:19:27 +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
50858a8810
test(e2e): stabilize task center completion assertion
2026-06-24 08:53:34 +08:00
Xiaoxia AI
ee6b4a663a
feat(tasks): add project task center
2026-06-24 08:39:32 +08:00