8663ceba66
feat: HTTP 层重构 + API 抽离 + 状态管理优化 + 路由修复
...
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
ce08736c3a
fix: add defaultPageSize: 20 to all table pagination configs
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
2026-06-19 15:20:06 +08:00
14bc16ea01
fix: handle undefined in mode label render
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
2026-06-19 12:51:24 +08:00
a30bfcf087
fix: add mode labels for learning sessions
Deploy Admin Frontend / build-and-deploy (push) Failing after 10s
2026-06-19 12:50:14 +08:00
129a9b9abc
fix: show user/kb names in LearningData page
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
2026-06-19 12:48:01 +08:00
60b6100466
feat: add Chinese labels for admin learning data pages
...
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
35a3f40ef8
feat: M4-02 — LearningData admin page with sessions, analysis, AI usage tabs
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 10s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 17:45:53 +08:00