3 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
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
1c864f0de1 feat: M2-08 admin — KnowledgeOps page (candidates, chunks, RAG debug)
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 13:42:54 +08:00