```
feat: 添加拍药盒功能和语音直达入口 - 实现拍药盒扫描流程,支持本地OCR识别药品信息 - 在日记页面添加拍药盒和记症状的三选一入口 - 优化按钮点击区域,确保符合苹果HIG最小命中区标准 - 添加用药记录到时间线的独立分类显示 - 实现长按+号语音直达功能,支持语音意图分类跳转 - 更新项目配置文件,启用代码分析和死代码剥离选项 - 增加多项本地化字符串支持新功能 ```
This commit is contained in:
@@ -10,6 +10,10 @@ struct TimelineGroupingTests {
|
||||
return Calendar(identifier: .gregorian).date(from: c)!
|
||||
}()
|
||||
|
||||
@Test func timelineKindOrderMatchesRecordFilterChips() {
|
||||
#expect(TimelineKind.allCases == [.diary, .symptom, .indicator, .medication, .report])
|
||||
}
|
||||
|
||||
@Test func todaySection() {
|
||||
#expect(TimelineGrouping.section(for: now, now: now) == .today)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user