docs(architecture): 组件化重构专项遗漏补全 - 更新 005 lastUpdate + known-issues 25.4 节

- 005 JSON: lastUpdate 追加遗漏补全 9 模块 20 组件迁移记录
- known-issues.md: 新增 25.4 遗漏补全规则章节
- 全量验证:49 个重复组件全部删除,modules/*/components/ 下无残留
This commit is contained in:
SpecialX
2026-07-06 22:24:17 +08:00
parent e76c626779
commit 6104e6a685
2 changed files with 10 additions and 2 deletions

View File

@@ -1338,7 +1338,15 @@ if (announcement.type === "school") {
| 单数与复数重复时合并 | attendance 的 `attendance-stats-card.tsx`(单数)删除 | 保留两份 |
| StatsGrid 列数支持 2/3/4/5 | `<StatsGrid columns={5}>` 按需指定 | 固定 4 列 |
### 25.4 验证规则
### 25.4 遗漏补全规则
| 规则 | 正确写法 | 错误写法 |
|------|---------|---------|
| 批次划分需覆盖全部重复组件 | 审查 spec 附录清单与批次覆盖范围的一致性 | 仅覆盖有巨型文件的模块,遗漏无巨型文件模块 |
| i18n 键跨命名空间补齐 | school/settings/classes 等模块补 `error.boundaryTitle` 等 | 仅补部分模块,导致 next-intl SSR IntlError |
| adaptive-practice stats-cards 同样需迁移 | `practice-stats-cards` / `practice-overview-stats-cards` → StatsGrid | 仅迁移 grades/attendance 等批次内模块 |
### 25.5 验证规则
| 规则 | 正确写法 | 错误写法 |
|------|---------|---------|