4 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
8464640e5d fix: TypeScript build errors — unused imports, unknown types
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
- Remove unused imports from AiGateway (Space, EditOutlined, etc.)
- Add type annotations in Events page (batch retry, failed jobs)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 10:23:10 +08:00
f6917d63d3 feat: M1-01~03 admin pages — AI Gateway, Vector, Events deepening
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 7s
M1-01 AI Gateway:
- Tab-based layout: Overview, Routes CRUD, Provider toggle, Fallback logs

M1-02 Vector:
- New VectorAdmin page: collection stats, info panel, reindex trigger
- Route /vector + menu entry under 系统运维

M1-03 Events:
- Tab-based layout: Queue overview (with batch retry), Task statistics
- Worker status panel, 16 task type configs table

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 10:18:22 +08:00
badf4258b1 feat: M0-08 AI Gateway admin web page
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Has been cancelled
2026-05-23 09:39:53 +08:00