iven
8ea1032c9d
Main Merge / backend (push) Has been cancelled
Main Merge / frontend (push) Has been cancelled
feat(diary): Phase 1.3 完善修复 — 贴纸/主题 CRUD + 管理端对接 + HMS 清理
H7 贴纸 CRUD:
- POST /diary/sticker-packs — 创建贴纸包
- DELETE /diary/sticker-packs/:id — 软删除贴纸包
- POST /diary/sticker-packs/:id/stickers — 添加贴纸
H8 主题编辑/停用:
- PUT /diary/topics/:id — 编辑主题 (标题/描述/截止日期)
- PATCH /diary/topics/:id/deactivate — 停用主题
管理端前端:
- ClassList.tsx 对接 update/deactivate/reset-code (含 Popconfirm 确认)
- JournalList.tsx 班级筛选改用 classApi.listAll()
- classes.ts 新增 listAll/update/deactivate/resetCode API
M2 HMS 遗留清理:
- 删除 copilot.ts, healthFixtures.ts, healthHandlers.ts
- AuditLogViewer 资源类型 → 日记模块
- auth.test.ts / renderWithProviders health.* → diary.*
M4 编辑器加载:
- EditorPage journalId 非空时从 Isar 恢复笔画/元素/标签/心情/标题
77 tests passed, cargo check ✅, tsc ✅, flutter analyze ✅
2026-06-02 23:01:13 +08:00
..
2026-05-31 20:52:19 +08:00
2026-06-02 21:21:43 +08:00
2026-05-31 20:52:19 +08:00
2026-06-02 23:01:13 +08:00
2026-06-01 09:32:09 +08:00
2026-05-31 20:52:19 +08:00
2026-06-02 21:33:47 +08:00
2026-05-31 20:52:19 +08:00