Commit Graph
6 Commits
Author SHA1 Message Date
cuiluzheng c71c3c32f6 docs: Mock 数据源注入时钟,消除 flaky 断言(ledger R17)
- MockDataProvider 增加 now: () -> Long = System::currentTimeMillis
- metricHistory / workouts 改用 now(),使「确定性」承诺成立
- 测试注入 FIXED_NOW,并补一条时间戳严格递增的断言
2026-09-10 10:40:55 +08:00
cuiluzheng 42bc9fe12e docs: 修正格式化层与占位页的硬编码文案(ledger R13/R14)
- formatCalories 不再拼接「千卡」(与 R.string.home_calories_label 重复),
  workout_detail_calories 改为「消耗 %1$s 千卡」
- stressLevelLabel(String) 改为 @StringRes stressLevelLabelRes(Int),描述进 strings.xml
- Global Constraints 写明唯一豁免(formatSleepDuration/formatDuration 的复合时长值)及判据
- Task 7 的 7 个占位 Composable 改用 stringResource,补齐 import 与 3 条占位文案
2026-09-10 10:32:55 +08:00
cuiluzheng bf983833c8 docs: 豁免设计系统 token 的命名约束(R10) 2026-09-10 10:22:21 +08:00
cuiluzheng ac9019d56a docs: 修正计划示例中的硬编码文案(R9),补齐 stringResource 用法与警示 2026-09-10 10:18:54 +08:00
cuiluzheng 616bd1aea2 docs: 按 pre-flight 冲突扫描修订 M0+M1 计划(R1-R4) 2026-09-10 09:07:56 +08:00
cuiluzheng a1bc2322f3 docs: 新增 M0+M1 实施计划(14 个任务,含 TDD 步骤) 2026-09-10 09:01:41 +08:00