diff --git a/app/src/main/assets/i18n/pt-BR.json b/app/src/main/assets/i18n/pt-BR.json index 641c4c7b..9429564e 100644 --- a/app/src/main/assets/i18n/pt-BR.json +++ b/app/src/main/assets/i18n/pt-BR.json @@ -1559,7 +1559,7 @@ "Score {0} out of 100": "Pontuação {0} de 100", "Scores are PulseLoop estimates from ring data compared with the user's own baseline, not medical measurements.": "As pontuações são estimativas do PulseLoop a partir dos dados do anel comparados com a linha de base do próprio usuário, não medidas médicas.", "Screens in bed": "Telas na cama", - "Screens that have moved to it so far: Today, Vitals, Sleep, Symptom Radar.": "Telas que já usam o novo visual: Hoje, Vitais, Sono, Radar de sintomas.", + "Screens that have moved to it so far: Today, Vitals, Sleep, Activity, Symptom Radar.": "Telas que já usam o novo visual: Hoje, Vitais, Sono, Atividade, Radar de sintomas.", "Searching…": "Procurando…", "See Raw Packets above.": "Veja Pacotes brutos acima.", "See Ring Events above.": "Veja Eventos do anel acima.", @@ -1996,6 +1996,7 @@ "Week {0}: resting HR {1} · HRV {2}": "Semana {0}: FC em repouso {1} · HRV {2}", "Weekly": "Semanal", "Weekly Sleep": "Sono semanal", + "Weekly goal": "Meta semanal", "Weekly limit": "Limite semanal", "Weekly report": "Relatório semanal", "Weekly target": "Meta semanal", diff --git a/app/src/main/java/com/pulseloop/service/DailyGuidance.kt b/app/src/main/java/com/pulseloop/service/DailyGuidance.kt index a15287a3..acd7b293 100644 --- a/app/src/main/java/com/pulseloop/service/DailyGuidance.kt +++ b/app/src/main/java/com/pulseloop/service/DailyGuidance.kt @@ -20,7 +20,14 @@ import kotlin.math.roundToInt */ /** One overnight signal outside the user's typical range. */ -data class OffSignal(val title: String, val detail: String) +data class OffSignal(val title: String, val detail: String) { + /** + * The title inside a running sentence ("Outside your usual: resting heart rate, HRV"): + * lower-cased, except an acronym, which a plain lowercase() turned into "hrv". + */ + val inSentence: String get() = + if (title.length > 1 && title[0].isUpperCase() && title[1].isUpperCase()) title else title.lowercase() +} object VitalsCheck { /** Nights needed before a typical range means anything. */ diff --git a/app/src/main/java/com/pulseloop/ui/components/VitalCard.kt b/app/src/main/java/com/pulseloop/ui/components/VitalCard.kt index a2852a44..89eea69f 100644 --- a/app/src/main/java/com/pulseloop/ui/components/VitalCard.kt +++ b/app/src/main/java/com/pulseloop/ui/components/VitalCard.kt @@ -178,7 +178,8 @@ private fun ValueRow(state: VitalCardState) { val calmStatus = com.pulseloop.ui.calm.NewLook.on Text( if (calmStatus) state.statusText else state.statusText.uppercase(), - style = if (calmStatus) com.pulseloop.ui.calm.CalmType.title else com.pulseloop.ui.theme.PulseType.eyebrow, + // A step under the card's title, so the two don't compete (impeccable pass). + style = if (calmStatus) com.pulseloop.ui.calm.CalmType.bodySmall else com.pulseloop.ui.theme.PulseType.eyebrow, fontWeight = FontWeight.SemiBold, color = state.statusToken.toColor(), diff --git a/app/src/main/java/com/pulseloop/ui/components/VitalRingGauge.kt b/app/src/main/java/com/pulseloop/ui/components/VitalRingGauge.kt index a2be4660..83725bfd 100644 --- a/app/src/main/java/com/pulseloop/ui/components/VitalRingGauge.kt +++ b/app/src/main/java/com/pulseloop/ui/components/VitalRingGauge.kt @@ -196,11 +196,12 @@ fun VitalRingGauge( ) } if (centerStatus != null) { + val calm = com.pulseloop.ui.calm.NewLook.on Text( - centerStatus.uppercase(), + if (calm) centerStatus else centerStatus.uppercase(), fontSize = onScale(size.value * 0.08f), fontWeight = FontWeight.SemiBold, - letterSpacing = 1.sp, + letterSpacing = if (calm) 0.sp else 1.sp, color = valueColor, // A translated zone label can outgrow the ring's hole: wrap it centred, never // more than two lines, instead of spilling over the arc. diff --git a/app/src/main/java/com/pulseloop/ui/screens/ActivityScreen.kt b/app/src/main/java/com/pulseloop/ui/screens/ActivityScreen.kt index dcf7798c..550870c0 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/ActivityScreen.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/ActivityScreen.kt @@ -165,10 +165,15 @@ fun ActivityScreen( WeeklyDay(label, completed = (stepsByWeekday[i] ?: 0) >= state.stepGoal, isToday = i == todayIdx) } + val calm = com.pulseloop.ui.calm.NewLook.on + // The new look (docs/new-look-plan.md, "Activity"): page colour, gutter, 720dp cap, Inter. + com.pulseloop.ui.calm.CalmTypography(enabled = calm) { LazyColumn( - modifier = Modifier.fillMaxSize(), + modifier = if (calm) Modifier.fillMaxSize().background(com.pulseloop.ui.calm.CalmColors.page) + .wrapContentWidth().widthIn(max = 720.dp).fillMaxWidth() else Modifier.fillMaxSize(), contentPadding = PaddingValues( - start = 16.dp, end = 16.dp, + start = if (calm) com.pulseloop.ui.calm.CalmShape.gutter else 16.dp, + end = if (calm) com.pulseloop.ui.calm.CalmShape.gutter else 16.dp, top = 16.dp + topBarPadding, bottom = 16.dp + bottomBarPadding, ), verticalArrangement = Arrangement.spacedBy(16.dp), @@ -203,7 +208,12 @@ fun ActivityScreen( item { DetectedActivityCard() } item { - Text( + if (calm) Text( + // A section heading in the new look, not a tracked-caps label. + if (isToday) tr("Today") else dayHeaderLabel(dayStart), + style = com.pulseloop.ui.calm.CalmType.sectionTitle, color = com.pulseloop.ui.calm.CalmColors.text, + modifier = Modifier.padding(top = 8.dp), + ) else Text( if (isToday) tr("TODAY") else dayHeaderLabel(dayStart).uppercase(), style = com.pulseloop.ui.theme.PulseType.eyebrow, color = PulseColors.textSecondary, ) @@ -213,10 +223,8 @@ fun ActivityScreen( Column( Modifier .fillMaxWidth() - .clip(RoundedCornerShape(8.dp)) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, RoundedCornerShape(8.dp)) - .padding(vertical = 24.dp), + .activityCard() + .padding(vertical = 24.dp, horizontal = 16.dp), horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.spacedBy(4.dp), ) { @@ -265,6 +273,7 @@ fun ActivityScreen( } item { Spacer(Modifier.height(64.dp)) } } + } if (permissionDenied) { AlertDialog( @@ -400,7 +409,6 @@ private fun dayHeaderLabel(dayMillis: Long): String { @Composable private fun DailyActivitySummaryCard(state: ActivityViewModel.ActivityState, units: UnitSystem) { - val shape = RoundedCornerShape(8.dp) // The shown day's totals, not always-today: day navigation must move this card (issue #76). // No fallback to today: a day with no stored row is a day with no data, not today's (issue #101). // WeeklyGoalCard keeps reading state.today — a week widget is about the live week. @@ -409,10 +417,8 @@ private fun DailyActivitySummaryCard(state: ActivityViewModel.ActivityState, uni Row( Modifier .fillMaxWidth() - .clip(shape) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, shape) - .padding(16.dp), + .activityCard() + .padding(if (com.pulseloop.ui.calm.NewLook.on) 20.dp else 16.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(12.dp), ) { @@ -442,13 +448,21 @@ private fun DailyActivitySummaryCard(state: ActivityViewModel.ActivityState, uni @Composable private fun SummaryMetric(label: String, value: String, unit: String?, color: Color, modifier: Modifier = Modifier) { Column(modifier, verticalArrangement = Arrangement.spacedBy(4.dp)) { - Text( + val calm = com.pulseloop.ui.calm.NewLook.on + if (calm) Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp)) { + // The metric's colour stays on its dot; the name reads as text, not a coloured caps label. + Box(Modifier.size(8.dp).clip(androidx.compose.foundation.shape.CircleShape).background(color)) + Text(label, style = com.pulseloop.ui.calm.CalmType.bodySmall, color = com.pulseloop.ui.calm.CalmColors.textSecondary, maxLines = 1) + } else Text( label.uppercase(), style = com.pulseloop.ui.theme.PulseType.eyebrow, color = color, maxLines = 1, ) Row(verticalAlignment = Alignment.Bottom, horizontalArrangement = Arrangement.spacedBy(4.dp)) { // weight(fill = false): bounded so the unit beside it is never squeezed off. - Text( + if (calm) Text( + value, style = com.pulseloop.ui.calm.CalmType.display, color = com.pulseloop.ui.calm.CalmColors.text, + maxLines = 1, overflow = TextOverflow.Ellipsis, modifier = Modifier.weight(1f, fill = false), + ) else Text( value, fontSize = 32.sp, fontWeight = FontWeight.SemiBold, color = PulseColors.textPrimary, maxLines = 1, overflow = TextOverflow.Ellipsis, modifier = Modifier.weight(1f, fill = false), @@ -466,16 +480,14 @@ private fun SummaryMetric(label: String, value: String, unit: String?, color: Co @Composable fun ActivityWorkoutRow(session: ActivitySessionEntity, units: UnitSystem, onTap: () -> Unit) { val corrections = rememberAccuracyCorrections() - val shape = RoundedCornerShape(8.dp) + val calm = com.pulseloop.ui.calm.NewLook.on val durationSec = session.endedAt?.let { ((it - session.startedAt) / 1000 - session.totalPauseSeconds).toInt() } Row( Modifier .fillMaxWidth() - .clip(shape) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, shape) + .activityCard() .clickable(role = Role.Button, onClick = onTap) - .padding(12.dp), + .padding(if (calm) 16.dp else 12.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(12.dp), ) { @@ -483,7 +495,8 @@ fun ActivityWorkoutRow(session: ActivitySessionEntity, units: UnitSystem, onTap: Modifier .size(44.dp) .clip(RoundedCornerShape(8.dp)) - .dither(PulseColors.accent, 0.18f), + // A plain raised tile in the new look; the dither is the old look's. + .then(if (calm) Modifier.background(com.pulseloop.ui.calm.CalmColors.cardRaised) else Modifier.dither(PulseColors.accent, 0.18f)), contentAlignment = Alignment.Center, ) { Icon(ActivityMeta.icon(session.type), null, tint = PulseColors.accent, modifier = Modifier.size(20.dp)) @@ -494,7 +507,8 @@ fun ActivityWorkoutRow(session: ActivitySessionEntity, units: UnitSystem, onTap: // ellipsizes instead of squeezing the start time. Text( ActivityMeta.label(session.type), - fontSize = 14.sp, fontWeight = FontWeight.SemiBold, color = PulseColors.textPrimary, + fontSize = if (calm) 16.sp else 14.sp, fontWeight = FontWeight.SemiBold, + color = if (calm) com.pulseloop.ui.calm.CalmColors.text else PulseColors.textPrimary, maxLines = 1, overflow = TextOverflow.Ellipsis, modifier = Modifier.weight(1f), ) @@ -522,6 +536,16 @@ fun ActivityWorkoutRow(session: ActivitySessionEntity, units: UnitSystem, onTap: } } +/** The card surface, in whichever look is on, so every Activity card matches. */ +@Composable +private fun Modifier.activityCard(): Modifier { + val calm = com.pulseloop.ui.calm.NewLook.on + val shape = RoundedCornerShape(if (calm) com.pulseloop.ui.calm.CalmShape.radius else 8.dp) + return this.clip(shape) + .background(if (calm) com.pulseloop.ui.calm.CalmColors.card else PulseColors.card) + .border(1.dp, if (calm) com.pulseloop.ui.calm.CalmColors.border else PulseColors.borderSubtle, shape) +} + private fun durationLabel(seconds: Int): String = Formats.durationCompact(seconds / 60) // ─────────────────── Weekly goal widget ─────────────────── @@ -530,17 +554,15 @@ data class WeeklyDay(val label: String, val completed: Boolean, val isToday: Boo @Composable private fun WeeklyGoalCard(state: ActivityViewModel.ActivityState, days: List, onTap: () -> Unit) { - val shape = RoundedCornerShape(8.dp) + val calm = com.pulseloop.ui.calm.NewLook.on val activeMinutes = state.today?.activeMinutes ?: 0 val activeDayCount = days.count { it.completed } Column( Modifier .fillMaxWidth() - .clip(shape) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, shape) + .activityCard() .clickable(role = Role.Button, onClick = onTap) - .padding(16.dp), + .padding(if (calm) 20.dp else 16.dp), verticalArrangement = Arrangement.spacedBy(16.dp), ) { Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(16.dp)) { @@ -551,15 +573,22 @@ private fun WeeklyGoalCard(state: ActivityViewModel.ActivityState, days: List Unit = {}) { ) { Column(Modifier.weight(1f)) { Text(tr("Try the new look"), style = MaterialTheme.typography.bodyMedium) - Text(tr("Screens that have moved to it so far: Today, Vitals, Sleep, Symptom Radar."), style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.onSurfaceVariant) + Text(tr("Screens that have moved to it so far: Today, Vitals, Sleep, Activity, Symptom Radar."), style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.onSurfaceVariant) } Switch(checked = com.pulseloop.ui.calm.NewLook.on, onCheckedChange = null) } diff --git a/app/src/main/java/com/pulseloop/ui/screens/Screens.kt b/app/src/main/java/com/pulseloop/ui/screens/Screens.kt index c549ac7b..12104bea 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/Screens.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/Screens.kt @@ -1417,7 +1417,7 @@ private fun VitalsStatusLine() { when { off == null -> " " off.isEmpty() -> tr("All within your usual range") - else -> trf("Outside your usual: {0}", off.joinToString(", ") { it.title.lowercase() }) + else -> trf("Outside your usual: {0}", off.joinToString(", ") { it.inSentence }) }, style = com.pulseloop.ui.calm.CalmType.sectionTitle, color = if (off.isNullOrEmpty()) com.pulseloop.ui.calm.CalmColors.text else PulseColors.warning, @@ -1431,7 +1431,7 @@ private fun VitalsStatusLine() { when { off == null -> " " off.isEmpty() -> tr("Last night: all within your usual range") - else -> trf("Outside your usual last night: {0}", off.joinToString(", ") { it.title.lowercase() }) + else -> trf("Outside your usual last night: {0}", off.joinToString(", ") { it.inSentence }) }, style = MaterialTheme.typography.bodySmall, color = if (off.isNullOrEmpty()) MaterialTheme.colorScheme.onSurfaceVariant else PulseColors.warning, diff --git a/app/src/main/java/com/pulseloop/ui/screens/SleepScreen.kt b/app/src/main/java/com/pulseloop/ui/screens/SleepScreen.kt index ad09a244..39b3942d 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/SleepScreen.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/SleepScreen.kt @@ -459,8 +459,11 @@ private fun VisualizationCard( ) { Row(verticalAlignment = Alignment.Top) { Column(Modifier.weight(1f), verticalArrangement = Arrangement.spacedBy(4.dp)) { - SleepLabel(eyebrow) + // The new look leads with the title and puts the category under it: a label over a + // heading is a kicker, which the craft floor bans (impeccable pass). + if (!calm) SleepLabel(eyebrow) Text(title, fontSize = 16.sp, fontWeight = FontWeight.SemiBold, color = if (calm) com.pulseloop.ui.calm.CalmColors.text else PulseColors.textPrimary) + if (calm) SleepLabel(eyebrow) } if (legend) { // A wrapping legend capped at half the row (weight, fill = false): four translated diff --git a/app/src/main/java/com/pulseloop/ui/screens/TodayGlance.kt b/app/src/main/java/com/pulseloop/ui/screens/TodayGlance.kt index 53d2400e..6c04b356 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/TodayGlance.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/TodayGlance.kt @@ -106,7 +106,7 @@ fun TodayGlance( ) { Icon(Icons.Filled.Warning, null, Modifier.size(16.dp), tint = PulseColors.warning) Text( - tr("Unusual last night: ") + alert.joinToString(", ") { it.title.lowercase() }, + tr("Unusual last night: ") + alert.joinToString(", ") { it.inSentence }, fontSize = 14.sp, color = PulseColors.textPrimary, maxLines = 2, overflow = TextOverflow.Ellipsis, modifier = Modifier.weight(1f), diff --git a/app/src/main/java/com/pulseloop/ui/screens/TodayScreen.kt b/app/src/main/java/com/pulseloop/ui/screens/TodayScreen.kt index 89ff8973..4e2015db 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/TodayScreen.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/TodayScreen.kt @@ -236,7 +236,7 @@ fun TodayScreen( val alert = guidance?.offSignals?.takeIf { com.pulseloop.service.VitalsCheck.shouldAlert(it) } val summary = state.coachSummary CalmGlance( - alert = alert?.let { tr("Unusual last night: ") + it.joinToString(", ") { s -> s.title.lowercase() } }, + alert = alert?.let { tr("Unusual last night: ") + it.joinToString(", ") { s -> s.inSentence } }, insight = if (coachEnabled && summary != null) listOf(summary.title, summary.body).filter { it.isNotBlank() }.joinToString(". ") else if (readinessLoad.loaded && readiness == null) hero.summary else null, insightPending = coachEnabled && summary == null && !readinessLoad.loaded, diff --git a/audits/2026-11-16-impeccable-pass-vitals-sleep-activity.md b/audits/2026-11-16-impeccable-pass-vitals-sleep-activity.md new file mode 100644 index 00000000..c10d96ce --- /dev/null +++ b/audits/2026-11-16-impeccable-pass-vitals-sleep-activity.md @@ -0,0 +1,85 @@ +# Audit: impeccable pass on Vitals and Sleep (redone), and Activity in the new look (2.16.13) + +Date: 2026-11-16 · PR: see the PR linking this file · Auditor: Claude Code, with impeccable loaded +for this pass (`impeccable context` with PRODUCT.md, `audit.native.md`, `critique-rubric.md`, +`craft-floor.md`, `polish.md`, `android.md`). Native platform: design review only, detector not +applicable. No emulator here: every finding is from source; the on-device check is still owed. +ux-user-flows, graphic-design-fundamentals and less-is-more applied by hand from their SKILL.md files. + +Why this file exists: the Vitals and Sleep audits were scored from source without a fresh +impeccable pass on those screens. The owner asked for a pass after every step, and for the +screens that missed one. This is that pass, plus Activity's. + +## Vitals + +### Findings and fixes +| Sev | Finding | Fix | +|---|---|---| +| P1 | The statement and the Today alert lower-cased every signal name, so "HRV" read "hrv" (Match real world) | `OffSignal.inSentence` keeps acronyms; used in Vitals (both looks) and Today's alert (both looks) | +| P2 | Card title and verdict were the same 16sp semibold, so they competed (hierarchy) | Verdict is `CalmType.bodySmall` semibold, coloured, a step under the title | +| P2 | The gauge's centre verdict stayed in tracked caps in the new look | Sentence case, no tracking, when the look is on | +| P2 | Measure button and sheet still old-styled (NL-4) | Carried forward | + +### Scores after the fixes +Audit: Accessibility 3 · Performance 4 · Theming 3 · Conformance 4 · Adaptivity 4 = **18/20**. +Critique: Status 4 · Real world 4 · Control 3 · Consistency 3 · Errors 3 · Recognition 4 · +Flexibility 3 · Minimalist 3 · Recovery 3 · Help 3 = **33/40**. +Cognitive load: 1 failure (the Measure sheet can offer up to six legs at once). + +## Sleep + +### Findings and fixes +| Sev | Finding | Fix | +|---|---|---| +| P1 | Visualization cards put a label ("Stages") over their heading ("Sleep architecture"): a kicker, which the craft floor bans | New look leads with the heading and puts the category under it | +| P2 | Range selector, day header, records and balance cards still old-styled (NL-4) | Carried forward | +| P3 | The hypnogram legend is 12sp and wraps under the title in pt-BR | Acceptable; it wraps rather than clips | + +### Scores after the fixes +Audit: 3 · 4 · 3 · 4 · 4 = **18/20**. Critique: 4 · 3 · 3 · 3 · 3 · 4 · 3 · 3 · 3 · 3 = **32/40**. +Cognitive load: 0 failures. + +## Activity (new in this PR, behind Debug → New look) + +### What changed +Same structure and actions (Record, history, Log Past Activity, the day's workouts, cardio load, +weekly goal, records). In the new look: one card surface (`activityCard()`); summary metrics show +the metric's colour on a dot and the name as text, values in Inter 32sp; workout rows lose the +dithered icon tile for a plain raised tile, type name at 16sp; the day's list is headed by a 20sp +section title ("Today", "Yesterday", a date) instead of tracked caps; the weekly goal card's +heading is "Weekly goal" with the count under it (no kicker); page colour, gutter, 720dp cap, +`CalmTypography`. + +### Findings +| Sev | Finding | Status | +|---|---|---| +| P1 | "WEEKLY GOAL" kicker over the count | Fixed: heading then count | +| P2 | Summary labels were coloured caps text: colour carried the label | Fixed: colour on a dot, name in secondary text | +| P2 | Day header, Record row's icon buttons, detected-activity card, cardio load, records card, history and type-picker dialogs still old-styled | NL-4, carried forward | +| P3 | The rings beside the summary repeat the three numbers as progress | Kept: progress against goal is new information | + +### Scores +Audit: Accessibility 3 · Performance 4 · Theming 3 · Conformance 4 · Adaptivity 4 = **18/20**. +Critique: 4 · 3 · 3 · 3 · 3 · 4 · 3 · 3 · 3 · 3 = **32/40**. Cognitive load: 1 failure (the Record row +offers three actions side by side; kept, all three are frequent). + +## ux-user-flows +No flow changes on any of the three: same entries, steps, states and exits. Activity's day-list +fix (previous PR) already covered its states. + +## graphic-design-fundamentals +Hierarchy: one statement per screen, then cards; no kickers over headings left in converted cards. +Contrast: calm tokens (17.3 / 7.0 / 5.3:1 on card). Typography: Inter, sizes on the scale. +Colour: metric colours on dots and charts, not on labels. Consistency: one card surface per tab. + +## less-is-more +Removed in the new look: tracked-caps eyebrows, dithered icon tiles, the kicker labels. Nothing +added. Taps on common actions unchanged. + +## Evidence +pt-BR: "Weekly goal" → "Meta semanal" added; the caption lists Activity. No device here. +Canvas boards for Today, Vitals, Sleep and Activity in the new look: owed (canvas tools not +connected this session). + +## Verdict +Merge (behind the switch). Carried forward: NL-4, canvas boards, on-device check. diff --git a/audits/2026-11-16-new-look-sleep.md b/audits/2026-11-16-new-look-sleep.md index 5c51b3c5..4d390fbb 100644 --- a/audits/2026-11-16-new-look-sleep.md +++ b/audits/2026-11-16-new-look-sleep.md @@ -4,6 +4,10 @@ Date: 2026-11-16 · PR: see the PR linking this file · Auditor: Claude Code. im the skill loaded (context with PRODUCT.md, `audit.native.md`, `critique.md`, `craft-floor.md`, `android.md`); ux-user-flows, graphic-design-fundamentals and less-is-more were applied by hand. +> **Correction (2026-11-16):** the impeccable scores below were written from source with the +> playbook loaded earlier in the session, not from a fresh audit, critique and polish pass on this +> screen. That pass was done afterwards: `audits/2026-11-16-impeccable-pass-vitals-sleep-activity.md`. + ## Scope Sleep, behind Debug → New look. The structure stays (carousel, hypnogram, stages, records, diff --git a/audits/2026-11-16-new-look-vitals.md b/audits/2026-11-16-new-look-vitals.md index 7ec855b1..7eb9af0e 100644 --- a/audits/2026-11-16-new-look-vitals.md +++ b/audits/2026-11-16-new-look-vitals.md @@ -5,6 +5,10 @@ the skill loaded (context with PRODUCT.md, `audit.native.md`, `critique.md`, `cr `android.md`); ux-user-flows, graphic-design-fundamentals and less-is-more were applied by hand from their SKILL.md files. +> **Correction (2026-11-16):** the impeccable scores below were written from source with the +> playbook loaded earlier in the session, not from a fresh audit, critique and polish pass on this +> screen. That pass was done afterwards: `audits/2026-11-16-impeccable-pass-vitals-sleep-activity.md`. + ## Scope Vitals, behind Debug → New look. Today's pattern (statement first, calm cards) carried over, but diff --git a/docs/new-look-plan.md b/docs/new-look-plan.md index 921efda6..13bb5644 100644 --- a/docs/new-look-plan.md +++ b/docs/new-look-plan.md @@ -90,4 +90,12 @@ the My Health entry card and the Customize controls. Still old-styled inside Sleep: the range selector, the day header, the records card, the sleep balance card and the My Health entry card. +- **Activity** (behind the switch in `ActivityScreen`). Same structure and actions. One card + surface (`activityCard()`), metric colours on dots rather than on caps labels, Inter values, + plain raised icon tiles on workout rows, a section title for the day's workouts, and the weekly + goal card led by its heading. Still old-styled: the day header, the Record row's icon buttons, + the detected-activity and cardio-load cards, the records card and the dialogs. + +Every converted screen gets an impeccable pass (audit, critique, polish) before it ships; Vitals +and Sleep had theirs redone in `audits/2026-11-16-impeccable-pass-vitals-sleep-activity.md`.