7 Commits

Author SHA1 Message Date
8663ceba66 feat: HTTP 层重构 + API 抽离 + 状态管理优化 + 路由修复
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 10s
- HTTP 层:安装 axios,创建 lib/api-client.ts 统一拦截器
- API 层:创建 33 个 api/*.ts 文件,所有页面迁移完成
- DataPages.tsx 拆分为 10 个独立文件
- message 导入统一为 App.useApp()
- 新增 StaticAntdProvider 全局消息/通知
- 全局 HTTP 错误/成功提示(notification.error/success)
- learning 路由 /learning → /learning/dashboard 修复选中 bug
- 学习会话页面优化(移除 ID 列、加批量删除、后端排序)
- 文档导入页面重构(知识库筛选、批量重新解析)
- 删除旧 service 文件 10 个(admin-api、billing-api 等)
- antd App 包裹根组件

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 22:44:51 +08:00
57aac73eff fix: add 'read' to progressStatusLabels
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 12s
2026-06-19 15:13:26 +08:00
def5c953be fix: map record titles to Chinese (covers historical English data)
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 12s
2026-06-19 13:23:44 +08:00
252b159537 fix: add 'new' to scheduleStateLabels
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
2026-06-19 13:16:13 +08:00
7ebe092f3f feat(ADMIN-INFO-014): add Chinese status labels across 8 admin pages
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 13s
- labels.ts: add 15 new label maps (review, import, admin, kb, etc.)
- ReviewAdmin: status/scheduleState/difficulty + filter dropdown
- KnowledgeBases: status
- KnowledgeOps: userId + status
- BackupAdmin: status (both backup & cleanup)
- Secrets: status
- ReleaseAdmin: status
- HermesSettings: agent task + artifact status

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-19 13:06:57 +08:00
a30bfcf087 fix: add mode labels for learning sessions
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 10s
2026-06-19 12:50:14 +08:00
60b6100466 feat: add Chinese labels for admin learning data pages
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 10s
- New constants/labels.ts with all enum → Chinese mappings
- DataPages.tsx: all render() functions use labels
- Dashboard.tsx: eventType shows Chinese
- LearningData.tsx: session status shows Chinese
- Filter dropdowns also show Chinese options

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-19 12:36:54 +08:00