From f73246b523527407ad3651bf0e6e85a2e7351a9e Mon Sep 17 00:00:00 2001 From: Wang Zhuoxuan Date: Wed, 8 Apr 2026 12:30:54 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20CLAUDE.md=20?= =?UTF-8?q?=E2=80=94=20Phase=202=20=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 10 ++++++---- dev-spec.md | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 35f2712..fb366d2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,7 +5,7 @@ ## Current Status -**Phase 1c in progress.** 技能树章节管理 + 批量操作 + 用户列表基础版 done. Remaining: 数据看板真实数据(对接 stats API). Next: complete Phase 1c. +**Phase 2 done.** 用户详情页 + 反馈管理 + 订阅管理 + CSV 导出 已完成。Phase 1c 数据看板真实数据仍延后。Next: Phase 3 — UGC 审核. Development follows the phased roadmap in [dev-spec.md](./dev-spec.md) §九. @@ -40,15 +40,17 @@ src/ │ ├── category/ # Category CRUD (columns, dialogs) │ ├── question/ # Question CRUD (columns, form, StatusBadge, DistractorEditor, KnowledgeCardFields, StatusTransitionDialog, ImportQuestionsDialog) │ ├── skill-tree/ # Skill Tree chapter CRUD (columns, form dialog, delete dialog) -│ ├── user/ # User list (columns, read-only) +│ ├── user/ # User CRUD (columns, UserProfileCard, GameStatsGrid, AnswerHistoryTable, ChapterProgressList, TierChangeDialog) +│ ├── feedback/ # Feedback management (columns, FeedbackDetailDialog) ├── lib/ │ ├── api-client.ts # HTTP client for /admin/* endpoints │ ├── auth.ts # Admin JWT token management │ ├── utils.ts # Utility functions -│ └── constants.ts # Status enums, difficulty levels +│ ├── csv-export.ts # Generic CSV export utility (BOM-compatible) +│ └── constants.ts # Status enums, difficulty levels, feedback/tier labels ├── hooks/ # useAuth ├── stores/ # Zustand stores (auth-store) -└── types/ # question, user, category, api types +└── types/ # question, user, user-detail, feedback, category, api types ``` ## Key Patterns diff --git a/dev-spec.md b/dev-spec.md index da3df06..9e636e7 100644 --- a/dev-spec.md +++ b/dev-spec.md @@ -414,4 +414,4 @@ VITE_API_BASE_URL=http://localhost:3000 --- *创建日期:2026-04-06* -*状态:Phase 1 待启动开发(与 duoqi-api Phase 1a 同步搭建)* +*状态:Phase 2 已完成,Phase 3 待启动*