cuiluzhengandClaude Code 01689b24fc feat: 实现指标详情子页(周/月切换 + 趋势图)
替换 MetricDetailPlaceholder 为真实详情页:范围切换、柱状趋势图、平均/最高/最低摘要,
睡眠指标额外渲染深睡/浅睡/清醒分期条与入睡/起床时间。
新增 MetricDetailViewModel(flatMapLatest 重新订阅数据源)与其 3 条 JVM 测试、
RoutesTest(锁住路由模板与 Routes.detail() 拼串)、Formatters.formatDecimal 与其测试。
接入 RingHealthApp 的 DETAIL_PATTERN,参数无法解析时直接抛而不是静默兜底。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-10 12:27:00 +08:00

ring-health-app

智能戒指健康 App(原生 Android / Kotlin + Jetpack Compose)。

  • 设计文档:见 ring-health-docs 仓库 superpowers/specs/
  • 当前阶段:M1 静态页面(数据来自 Mock,未接入蓝牙 SDK)

构建

./gradlew assembleDebug      # 产物在 app/build/outputs/apk/debug/
./gradlew installDebug       # 安装到已连接设备
./gradlew test               # 单元测试

要求:JDK 17、Android SDK(platform 36 / build-tools 36.1.0)。

S
Description
No description provided
Readme
424 KiB
Languages
Kotlin 100%