6224ef5980
- Implemented a new Growth page to track practice time and trends. - Added API integration for fetching review data. - Created components for displaying practice statistics and trends. - Updated navigation titles for the main index and growth pages. - Removed unused styles from the index page. - Introduced a Projects management page for adding and editing practice projects. - Developed a Record form for logging practice sessions with validation. - Added utility functions for date manipulation and duration formatting. - Implemented error handling and session management in the practice service. - Created unit tests for the practice service to ensure reliability.
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# Domain Docs
|
|
|
|
本仓库采用 single-context 布局,前端和后端共享根目录的领域文档。
|
|
|
|
## 探索前读取
|
|
|
|
- 根目录的 `CONTEXT.md`:领域术语、概念和关系。
|
|
- 根目录的 `docs/adr/`:仅阅读与当前工作相关的架构决策。
|
|
|
|
文件不存在时直接继续,不把缺失视为阻塞,也不主动建议预先创建。
|
|
后续由 `domain-modeling` 在术语或决策得到验证、且用户明确批准后
|
|
按需创建。
|
|
|
|
## 文件布局
|
|
|
|
- `CONTEXT.md`:仓库共享的领域上下文。
|
|
- `docs/adr/NNNN-<slug>.md`:按编号保存架构决策。
|
|
- `miniprogram/` 和 `backend/` 继续按各自的项目约定开发。
|
|
|
|
## 术语一致性
|
|
|
|
事项标题、重构建议、假设和测试名称中的领域概念,
|
|
使用 `CONTEXT.md` 已定义的术语,遵循其明确规定的用词边界。
|
|
|
|
所需概念尚未定义时,先判断是否误用了项目之外的术语;
|
|
确有缺口时,将其列为后续领域建模的候选。
|
|
|
|
## 决策冲突
|
|
|
|
输出与现有 ADR 冲突时,明确指出对应 ADR、冲突内容及重新讨论的理由,
|
|
不静默覆盖已有决策。
|