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
e69930f7f4
feat: Admin 管理后台学习功能 - 路由、菜单、类型定义
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 12s
- App.tsx: 主应用更新
- menu.tsx: 菜单配置新增学习模块
- routes/index.tsx: 路由注册
- types/learning.ts: 学习相关类型定义
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 11:23:01 +08:00
6ad24aabe4
fix: add back /learning-data menu item
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 11s
Missing from original menu after regroup. Now 33/33 paths verified.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-15 22:17:41 +08:00
b05e5d86c7
fix: restore all original menu items, regroup into 6 categories
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 11s
All original entries preserved. New grouping:
- 总览
- 用户与权限 (管理员/普通用户/会员与额度)
- 知识库 (知识库+知识源+运维+发布+导入+文件+复习)
- 学习数据 (Dashboard/事件/会话/进度/每日/记录/时间线/异常/诊断)
- 系统运维 (Hermes/限流/安全/密钥/监控/AI/服务器/对话/事件/向量/配置/备份/缓存/通知/内容安全)
- 合规与报表 (合规/审计/报表/API用量/项目)
- 系统配置
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-15 22:09:02 +08:00
699f9012e0
refactor: organize admin menu into categories
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
Before: 17 flat first-level items, 14 under single "系统运维"
After: 5 groups — 总览/用户管理/知识库/学习数据/系统
- AdminMenuItem.path → optional for group headers
- Breadcrumb map updated to match new structure
- Removed unused entries (hermes/servers/billing/git/etc.)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-15 22:06:11 +08:00
d697877056
chore: remove TaskAssistant from admin
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
Remove /assistant route, menu item, breadcrumb from App.tsx,
routes/index.tsx, menu.tsx, AdminLayout.tsx.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-15 22:01:21 +08:00
050fb554f0
feat: M4-09 — compliance admin page (policies, agreements, filings, data requests, security)
...
Deploy Admin Frontend / build-and-deploy (push) Failing after 7s
- ComplianceAdmin page with 6 tabs: privacy policies, user agreements, filings, data deletion, data export, security events
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 18:19:51 +08:00
adfeeaa657
feat: M4-08 — release admin page (changelogs, ADR, checklist)
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
- ReleaseAdmin page with 3 tabs: version logs, architecture decisions, release checklist
- CRUD modals for changelogs and decisions
- Checklist with check/uncheck toggle
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 18:15:42 +08:00
471669c6cf
feat: M4-06 — project center page with repos/issues/milestones/releases/runners
...
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
- Replace GiteaEmbed iframe with full ProjectCenter page
- Tabs: repos, issues, milestones, releases, runners, Gitea embed
- Rename menu 代码仓库 → 项目中心
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 18:06:38 +08:00
4b14178574
feat: M4-05 — reporting admin page with CSV download buttons
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
- ReportingAdmin page: download user/learning/review CSV with day range selector
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 18:01:38 +08:00
b36924d9b3
feat: M4-04 — backup & cleanup admin page
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 11s
- Add BackupAdmin page with backup/cleanup tabs
- Trigger buttons for mysql/qdrant/files backup and soft-delete/api-metrics/task-logs cleanup
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 17:57:50 +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
9d080bf9e8
fix: M3 audit — scheduleState persistence, AI→ReviewCard subscriber, ActiveRecall queue, streak bug, domain events, admin pages
...
Deploy Admin Frontend / build-and-deploy (push) Failing after 8s
- M3-02: Add scheduleState to ReviewCard Prisma model + persist in updateCard/insertCard
- M3-02: Add ReviewCardSubscriber (OnEvent 'ai.analysis.completed' → generateCards)
- M3-02: Add AdminReviewController (GET /admin-api/reviews)
- M3-01: ActiveRecall now enqueues via AiAnalysisService instead of direct workflow call
- M3-01: FocusItem model adds source field, worker uses status:'open'
- M3-03: Fix streak calculation (break on gap), add StreakUpdatedEvent
- M3-03: Add LearningGoal/StreakRecord/LearningStats to Prisma
- M3-03: Fix FocusItem recommendation query (status:'pending' → 'open')
- Admin pages: ReviewAdmin, NotificationAdmin, CacheAdmin
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 16:17:00 +08:00
03c38f5d4c
feat: M3-04/05/06 — Workspace Experience, Notification, Cache Module
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
- M3-04: Workspace Module (RecentItem, Favorite, SearchHistory, Tags, Search, Dashboard)
- M3-05: Notification Module (Preferences, PushToken, Templates, Admin endpoints)
- M3-06: Cache Module (CacheService with wrap/penetration protection, Admin cache management)
- E2E: 27 new tests for M3-04/05/06 (35/36 passing overall)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 16:00:29 +08:00
d77423ef95
feat: M2-07 audit — admin chat log viewer page
...
Deploy Admin Frontend / build-and-deploy (push) Successful in 10s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 13:58:40 +08:00
1c864f0de1
feat: M2-08 admin — KnowledgeOps page (candidates, chunks, RAG debug)
...
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
f6917d63d3
feat: M1-01~03 admin pages — AI Gateway, Vector, Events deepening
...
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
64a77791c1
feat: M0-04+M0-05 — security events + throttle admin pages
Deploy Admin Frontend / build-and-deploy (push) Failing after 7s
2026-05-23 20:47:34 +08:00
11297127d6
feat: M0-12 secrets admin page
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
2026-05-23 20:37:26 +08:00
a0be7bf832
fix: remove duplicate menu entries
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
2026-05-23 20:32:44 +08:00
badf4258b1
feat: M0-08 AI Gateway admin web page
Deploy Admin Frontend / build-and-deploy (push) Has been cancelled
2026-05-23 09:39:53 +08:00
2413cdf561
feat: M0-06+M0-07 admin web — Content Safety + Metrics pages
Deploy Admin Frontend / build-and-deploy (push) Failing after 5s
2026-05-22 23:21:15 +08:00
a5483cf37f
feat: M0-03 config management admin page
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
2026-05-22 22:37:28 +08:00
af76de4ff7
feat: events queue page + restructure under 系统运维
Deploy Admin Frontend / build-and-deploy (push) Failing after 7s
2026-05-22 22:31:46 +08:00
865d8e329a
restore TaskAssistant + rename iframe to Hermes 设置
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
2026-05-22 17:13:09 +08:00
a53dfc184d
fix: rewrite menu — clean reorder
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
2026-05-22 16:41:10 +08:00
cfb45dcbe2
fix: reorder menu — settings at bottom
Deploy Admin Frontend / build-and-deploy (push) Failing after 4s
2026-05-22 16:40:16 +08:00
b3f4e141cb
fix: reorder sidebar — settings last
Deploy Admin Frontend / build-and-deploy (push) Failing after 4s
2026-05-22 16:39:42 +08:00
ff6a4df623
fix: reorder sidebar menu — settings at bottom
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
2026-05-22 16:39:01 +08:00
95d8d3cbb4
fix: knowledge bases under existing 知识库管理 menu
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
2026-05-22 16:02:51 +08:00
c5ddce4216
feat: knowledge base list page for admin
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s
2026-05-22 15:55:33 +08:00
49e1b10f67
replace ai-costs placeholder with real API billing dashboard
Deploy Admin Frontend / build-and-deploy (push) Failing after 0s
2026-05-22 15:31:00 +08:00
1a55fce7e4
feat: embed Gitea via iframe in admin panel
Deploy Admin Frontend / build-and-deploy (push) Failing after 5s
2026-05-22 14:35:26 +08:00
26f5750046
feat: server ops panel + dashboard server widgets
Deploy Admin Frontend / build-and-deploy (push) Successful in 7s
2026-05-22 13:30:37 +08:00
WangDL
f552ba0619
feat: add TaskAssistant page with AI chat + admin layout updates + service layer
2026-05-22 00:38:56 +08:00
4dad572731
feat: add admin layout, auth, user management, and routing
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 17:19:58 +08:00