From e9660a76045b427f15d52d93fe7b73b456957614 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 16 Nov 2026 23:13:54 +0000 Subject: [PATCH] Settings in the new look MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Settings hub behind Debug → New look: the calm bar, page, gutter, 720dp cap and Inter. Group names in sentence case, and none over a group whose one row already says it. Rows keep their icons in one quiet raised tile. The ring card takes the calm card and a full-width outlined Connect / Set up button; the data-source card drops its caps kicker. The shared SettingsSection, SettingsRow and DeviceHeroCard read Look, so the old look is unchanged. Sub-screens are next. Audit: audits/2026-11-16-new-look-settings.md. Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w --- app/src/main/assets/i18n/pt-BR.json | 3 +- .../pulseloop/ui/components/DeviceHeroCard.kt | 57 +++++++----- .../ui/components/SettingsComponents.kt | 64 ++++++++------ .../com/pulseloop/ui/screens/DebugScreen.kt | 2 +- .../ui/screens/HealthConnectSourceUi.kt | 26 +++--- .../pulseloop/ui/screens/SettingsScreen.kt | 22 +++-- audits/2026-11-16-new-look-settings.md | 86 +++++++++++++++++++ docs/new-look-plan.md | 9 ++ 8 files changed, 204 insertions(+), 65 deletions(-) create mode 100644 audits/2026-11-16-new-look-settings.md diff --git a/app/src/main/assets/i18n/pt-BR.json b/app/src/main/assets/i18n/pt-BR.json index 3e7fa006..7dd918cc 100644 --- a/app/src/main/assets/i18n/pt-BR.json +++ b/app/src/main/assets/i18n/pt-BR.json @@ -512,6 +512,7 @@ "Data Types": "Tipos de dados", "Data backup": "Backup de dados", "Data behind this score": "Dados por trás desta pontuação", + "Data source": "Fonte de dados", "Data stays on device": "Os dados ficam no dispositivo", "Database": "Banco de dados", "Day": "Dia", @@ -1566,7 +1567,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, Activity, Nutrition, My Health, Readiness, Symptom Radar.": "Telas que já usam o novo visual: Hoje, Vitais, Sono, Atividade, Nutrição, Minha saúde, Prontidão, Radar de sintomas.", + "Screens that have moved to it so far: Today, Vitals, Sleep, Activity, Nutrition, My Health, Readiness, Symptom Radar, Settings.": "Telas que já usam o novo visual: Hoje, Vitais, Sono, Atividade, Nutrição, Minha saúde, Prontidão, Radar de sintomas, Configurações.", "Searching…": "Procurando…", "See Raw Packets above.": "Veja Pacotes brutos acima.", "See Ring Events above.": "Veja Eventos do anel acima.", diff --git a/app/src/main/java/com/pulseloop/ui/components/DeviceHeroCard.kt b/app/src/main/java/com/pulseloop/ui/components/DeviceHeroCard.kt index f676c0ff..417b5f0a 100644 --- a/app/src/main/java/com/pulseloop/ui/components/DeviceHeroCard.kt +++ b/app/src/main/java/com/pulseloop/ui/components/DeviceHeroCard.kt @@ -36,6 +36,8 @@ import com.pulseloop.ring.RingBLEClient import com.pulseloop.ring.RingConnectionState import com.pulseloop.ring.RingDeviceType import com.pulseloop.ui.theme.PulseColors +import com.pulseloop.ui.calm.Look +import com.pulseloop.ui.calm.lookCard import com.pulseloop.wearables.WearableModel /** @@ -69,14 +71,13 @@ fun DeviceHeroCard( idle = bleState.idleSince != null, ) + val calm = Look.calm Column( Modifier .fillMaxWidth() - .clip(RoundedCornerShape(8.dp)) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, RoundedCornerShape(8.dp)) - .padding(16.dp), - verticalArrangement = Arrangement.spacedBy(8.dp), + .lookCard() + .padding(if (calm) 20.dp else 16.dp), + verticalArrangement = Arrangement.spacedBy(if (calm) 12.dp else 8.dp), ) { Row( Modifier @@ -98,7 +99,7 @@ fun DeviceHeroCard( status.title, fontSize = 20.sp, fontWeight = FontWeight.SemiBold, - color = PulseColors.textPrimary, + color = Look.text, maxLines = 1, overflow = TextOverflow.Ellipsis, ) @@ -113,7 +114,7 @@ fun DeviceHeroCard( Text( syncText, fontSize = 12.sp, - color = PulseColors.textSecondary, + color = Look.textSecondary, maxLines = 1, overflow = TextOverflow.Ellipsis, ) @@ -136,7 +137,8 @@ fun DeviceHeroCard( Row( Modifier .clip(CircleShape) - .dither(batteryTone, 0.12f) + // The new look keeps the level's colour on the icon and number only. + .then(if (calm) Modifier.background(com.pulseloop.ui.calm.CalmColors.cardRaised) else Modifier.dither(batteryTone, 0.12f)) .padding(horizontal = 8.dp, vertical = 4.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(4.dp), @@ -163,7 +165,32 @@ fun DeviceHeroCard( // Disconnect lives. Setup/reconnect remain available here only when not connected, and // automatic recovery offers Disconnect so the user can stop it (issue #124). if (!connected) { - Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.End) { + val onAction = { + when (status.action) { + DeviceHeroStatus.Action.CONNECT -> onConnect() + DeviceHeroStatus.Action.SET_UP -> onSetUp() + // Reached while RECONNECTING: stops automatic recovery through + // the same sticky userDisconnect path as the Settings button. + DeviceHeroStatus.Action.DISCONNECT -> onDisconnect() + // Already inert: actionEnabled is false while a connect is in flight. + DeviceHeroStatus.Action.PENDING -> {} + } + } + if (calm) { + // The new look: the calm outlined button across the card (the screen's own action; + // the one filled mint stays the Actions button), not a dithered pill in the corner. + PulseButton( + PulseButtonStyle.Outlined, + onClick = onAction, + enabled = status.actionEnabled, + modifier = Modifier.fillMaxWidth(), + shape = RoundedCornerShape(com.pulseloop.ui.calm.CalmShape.radius), + border = androidx.compose.foundation.BorderStroke(1.dp, Look.border), + colors = androidx.compose.material3.ButtonDefaults.outlinedButtonColors( + contentColor = Look.text, disabledContentColor = Look.textMuted, + ), + ) { Text(status.actionTitle, fontSize = 16.sp, fontWeight = FontWeight.SemiBold) } + } else Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.End) { Text( status.actionTitle, fontSize = 14.sp, @@ -173,17 +200,7 @@ fun DeviceHeroCard( .heightIn(min = 48.dp) .clip(CircleShape) .then(if (status.actionEnabled) Modifier.dither(PulseColors.accent, 0.18f) else Modifier.background(PulseColors.elevated)) - .clickable(enabled = status.actionEnabled, role = Role.Button) { - when (status.action) { - DeviceHeroStatus.Action.CONNECT -> onConnect() - DeviceHeroStatus.Action.SET_UP -> onSetUp() - // Reached while RECONNECTING: stops automatic recovery through - // the same sticky userDisconnect path as the Settings button. - DeviceHeroStatus.Action.DISCONNECT -> onDisconnect() - // Already inert: actionEnabled is false while a connect is in flight. - DeviceHeroStatus.Action.PENDING -> {} - } - } + .clickable(enabled = status.actionEnabled, role = Role.Button, onClick = onAction) .padding(horizontal = 12.dp) .wrapContentHeight(), ) diff --git a/app/src/main/java/com/pulseloop/ui/components/SettingsComponents.kt b/app/src/main/java/com/pulseloop/ui/components/SettingsComponents.kt index f99b9a70..ebab9da8 100644 --- a/app/src/main/java/com/pulseloop/ui/components/SettingsComponents.kt +++ b/app/src/main/java/com/pulseloop/ui/components/SettingsComponents.kt @@ -33,6 +33,9 @@ import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.pulseloop.ui.theme.PulseColors +import com.pulseloop.ui.calm.CalmColors +import com.pulseloop.ui.calm.Look +import com.pulseloop.ui.calm.lookCard /** * Ported from SettingsComponents.swift (iOS #49). @@ -53,28 +56,37 @@ data class SettingsRowItem( @Composable fun SettingsSection(title: String, rows: List) { if (rows.isEmpty()) return + val calm = Look.calm Column(Modifier.fillMaxWidth(), verticalArrangement = Arrangement.spacedBy(8.dp)) { - // The design system's one tracked caps label (PulseType.eyebrow), not a hand-rolled one. - Text( - title.uppercase(), - style = com.pulseloop.ui.theme.PulseType.eyebrow, - color = PulseColors.textSecondary, - modifier = Modifier.padding(start = 16.dp), - ) + if (calm) { + // The new look: a sentence-case group name, and none at all when the group's one row + // already says it ("Notifications" over "Notifications" said it twice). + if (!(rows.size == 1 && rows[0].title == title)) { + Text( + title, + fontSize = 14.sp, + fontWeight = FontWeight.SemiBold, + color = Look.textSecondary, + modifier = Modifier.padding(start = 4.dp), + ) + } + } else { + // The design system's one tracked caps label (PulseType.eyebrow), not a hand-rolled one. + Text( + title.uppercase(), + style = com.pulseloop.ui.theme.PulseType.eyebrow, + color = PulseColors.textSecondary, + modifier = Modifier.padding(start = 16.dp), + ) + } - Column( - Modifier - .fillMaxWidth() - .clip(RoundedCornerShape(8.dp)) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, RoundedCornerShape(8.dp)), - ) { + Column(Modifier.fillMaxWidth().lookCard()) { rows.forEachIndexed { index, row -> SettingsRow(row) if (index < rows.size - 1) { HorizontalDivider( - color = PulseColors.borderSubtle, - thickness = 0.5.dp, + color = Look.border, + thickness = if (calm) 1.dp else 0.5.dp, modifier = Modifier.padding(start = 64.dp), // align with the row's text column ) } @@ -83,18 +95,22 @@ fun SettingsSection(title: String, rows: List) { } } -/** A single row: tinted icon in a rounded box, title, optional trailing value, chevron. */ +/** + * A single row: icon tile, title, optional trailing value, chevron. The old look tints each tile + * in its own colour; the new look draws one quiet raised tile, since the colours carried no meaning. + */ @Composable fun SettingsRow(item: SettingsRowItem) { val interactionSource = remember { MutableInteractionSource() } val pressed by interactionSource.collectIsPressedAsState() + val calm = Look.calm Row( Modifier .fillMaxWidth() - .background(if (pressed) PulseColors.elevated else Color.Transparent) + .background(if (pressed) (if (calm) CalmColors.cardRaised else PulseColors.elevated) else Color.Transparent) .clickable(interactionSource = interactionSource, indication = null, role = Role.Button, onClick = item.action) - .heightIn(min = 52.dp) + .heightIn(min = if (calm) 56.dp else 52.dp) .padding(horizontal = 16.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(16.dp), @@ -102,11 +118,11 @@ fun SettingsRow(item: SettingsRowItem) { Box( Modifier .size(32.dp) - .clip(RoundedCornerShape(4.dp)) - .dither(item.tint, 0.14f), + .clip(RoundedCornerShape(if (calm) 8.dp else 4.dp)) + .then(if (calm) Modifier.background(CalmColors.cardRaised) else Modifier.dither(item.tint, 0.14f)), contentAlignment = Alignment.Center, ) { - Icon(item.icon, contentDescription = null, Modifier.size(20.dp), tint = item.tint) + Icon(item.icon, contentDescription = null, Modifier.size(20.dp), tint = if (calm) Look.textSecondary else item.tint) } // The title takes the free width (it used to be unweighted beside a weighted Spacer, so a @@ -114,7 +130,7 @@ fun SettingsRow(item: SettingsRowItem) { Text( item.title, fontSize = 16.sp, - color = PulseColors.textPrimary, + color = Look.text, modifier = Modifier.weight(1f), ) @@ -122,7 +138,7 @@ fun SettingsRow(item: SettingsRowItem) { Text( trailing, fontSize = 14.sp, - color = PulseColors.textSecondary, + color = Look.textSecondary, maxLines = 1, overflow = TextOverflow.Ellipsis, modifier = Modifier.widthIn(max = 140.dp), diff --git a/app/src/main/java/com/pulseloop/ui/screens/DebugScreen.kt b/app/src/main/java/com/pulseloop/ui/screens/DebugScreen.kt index ddace356..be9c2e1c 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/DebugScreen.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/DebugScreen.kt @@ -218,7 +218,7 @@ fun DebugScreen(viewModel: DiagnosticsViewModel, onBack: () -> 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, Activity, Nutrition, My Health, Readiness, Symptom Radar."), style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.onSurfaceVariant) + Text(tr("Screens that have moved to it so far: Today, Vitals, Sleep, Activity, Nutrition, My Health, Readiness, Symptom Radar, Settings."), 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/HealthConnectSourceUi.kt b/app/src/main/java/com/pulseloop/ui/screens/HealthConnectSourceUi.kt index a434d876..74e069db 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/HealthConnectSourceUi.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/HealthConnectSourceUi.kt @@ -1,5 +1,6 @@ package com.pulseloop.ui.screens +import com.pulseloop.ui.calm.lookCard import com.pulseloop.ui.i18n.trf import com.pulseloop.ui.components.PulseButtonStyle import com.pulseloop.ui.components.PulseButton @@ -249,22 +250,25 @@ fun HealthConnectSourceHeroCard(onOpen: () -> Unit) { val context = LocalContext.current val pkg = HealthConnectSource.sourcePackage(context) ?: return val last = HealthConnectSource.lastImportAt(context) - // Same frame as the ring's hero card (8dp radius, hairline, chevron), so the hub reads the same + // Same frame as the ring's hero card (radius, hairline, chevron), so the hub reads the same // whichever source feeds it. + val calm = com.pulseloop.ui.calm.Look.calm + val lastLine = last?.let { trf("Last import {0}", localDateTime(context, it)) } ?: tr("Waiting for the first import") Row( - Modifier.fillMaxWidth().clip(RoundedCornerShape(8.dp)).background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, RoundedCornerShape(8.dp)) - .clickable(role = Role.Button, onClick = onOpen).padding(16.dp), + Modifier.fillMaxWidth().lookCard() + .clickable(role = Role.Button, onClick = onOpen).padding(if (calm) 20.dp else 16.dp), verticalAlignment = Alignment.CenterVertically, ) { Column(Modifier.weight(1f), verticalArrangement = Arrangement.spacedBy(4.dp)) { - Text(tr("DATA SOURCE"), style = com.pulseloop.ui.theme.PulseType.eyebrow, color = PulseColors.textSecondary) - Text(trf("{0} via Health Connect", HealthConnectSource.label(context, pkg)), fontSize = 16.sp, fontWeight = FontWeight.Bold, color = PulseColors.textPrimary) - Text( - last?.let { trf("Last import {0}", localDateTime(context, it)) } - ?: tr("Waiting for the first import"), - fontSize = 14.sp, color = PulseColors.textSecondary, - ) + if (calm) { + // No caps kicker over the name: the name leads, and the line under it says what it is. + Text(trf("{0} via Health Connect", HealthConnectSource.label(context, pkg)), fontSize = 20.sp, fontWeight = FontWeight.SemiBold, color = com.pulseloop.ui.calm.Look.text) + Text(tr("Data source") + " · " + lastLine, fontSize = 14.sp, color = com.pulseloop.ui.calm.Look.textSecondary) + } else { + Text(tr("DATA SOURCE"), style = com.pulseloop.ui.theme.PulseType.eyebrow, color = PulseColors.textSecondary) + Text(trf("{0} via Health Connect", HealthConnectSource.label(context, pkg)), fontSize = 16.sp, fontWeight = FontWeight.Bold, color = PulseColors.textPrimary) + Text(lastLine, fontSize = 14.sp, color = PulseColors.textSecondary) + } } com.pulseloop.ui.components.Chevron() } diff --git a/app/src/main/java/com/pulseloop/ui/screens/SettingsScreen.kt b/app/src/main/java/com/pulseloop/ui/screens/SettingsScreen.kt index 47b43be3..cf4a5a40 100644 --- a/app/src/main/java/com/pulseloop/ui/screens/SettingsScreen.kt +++ b/app/src/main/java/com/pulseloop/ui/screens/SettingsScreen.kt @@ -28,6 +28,7 @@ import com.pulseloop.ui.components.DeviceHeroCard import com.pulseloop.ui.components.SettingsRowItem import com.pulseloop.ui.components.SettingsSection import com.pulseloop.ui.theme.PulseColors +import com.pulseloop.ui.calm.lookCard import kotlinx.coroutines.flow.map /** @@ -99,11 +100,17 @@ fun SettingsScreen( // Settings is pushed from the header's gear, so it wears the shared pushed-screen bar // (centred title + back) like its own sub-screens, instead of a bare headline. - Column(Modifier.fillMaxSize()) { - com.pulseloop.ui.components.PulseTopBar(title = tr("Settings"), onBack = { navController?.popBackStack() }) + // The new look (docs/new-look-plan.md, "Settings"): calm bar, page, gutter, 720dp cap, Inter. + val calm = com.pulseloop.ui.calm.NewLook.on + com.pulseloop.ui.calm.CalmTypography(enabled = calm) { + Column(Modifier.fillMaxSize().then(if (calm) Modifier.background(com.pulseloop.ui.calm.CalmColors.page) else Modifier)) { + if (calm) com.pulseloop.ui.calm.CalmTopBar(tr("Settings"), onBack = { navController?.popBackStack() }) + else com.pulseloop.ui.components.PulseTopBar(title = tr("Settings"), onBack = { navController?.popBackStack() }) Column( - Modifier.fillMaxSize().verticalScroll(rememberScrollState()).padding(16.dp), - verticalArrangement = Arrangement.spacedBy(24.dp), + Modifier.fillMaxSize().verticalScroll(rememberScrollState()) + .then(if (calm) Modifier.wrapContentWidth().widthIn(max = 720.dp).fillMaxWidth() else Modifier) + .padding(horizontal = if (calm) com.pulseloop.ui.calm.CalmShape.gutter else 16.dp, vertical = if (calm) 8.dp else 16.dp), + verticalArrangement = Arrangement.spacedBy(if (calm) 28.dp else 24.dp), ) { val hcSource by remember { com.pulseloop.health.source.HealthConnectSource.activeSource(context) }.collectAsState() @@ -115,10 +122,8 @@ fun SettingsScreen( Box( Modifier .fillMaxWidth() - .height(160.dp) - .clip(RoundedCornerShape(8.dp)) - .background(PulseColors.card) - .border(1.dp, PulseColors.borderSubtle, RoundedCornerShape(8.dp)), + .height(if (calm) 176.dp else 160.dp) + .lookCard(), ) } else DeviceHeroCard( bleState = bleState, @@ -247,4 +252,5 @@ fun SettingsScreen( Spacer(Modifier.height(32.dp)) } } + } } diff --git a/audits/2026-11-16-new-look-settings.md b/audits/2026-11-16-new-look-settings.md new file mode 100644 index 00000000..c8e4885a --- /dev/null +++ b/audits/2026-11-16-new-look-settings.md @@ -0,0 +1,86 @@ +# Audit: Settings in the new look + +Date: 2026-11-16 · PR: see the PR linking this file · Auditor: Claude Code. impeccable was loaded +(context, `craft-floor.md`, `android.md`) and applied to **rendered** screens: the hub's ring card +and groups were drawn on the JVM with Robolectric native graphics, connected and disconnected, at +font scale 1.0 and 1.3, and in the old look. That harness is local only; no emulator here (no +KVM), so the device check is owed. ux-user-flows, graphic-design-fundamentals and less-is-more +were applied by hand from their SKILL.md files. + +## Scope + +The Settings hub (`SettingsScreen`) behind Debug → New look, and the shared pieces it is made of: +`SettingsSection`, `SettingsRow`, `DeviceHeroCard` and the Health Connect data-source card. The +sub-screens (`SettingsSubScreens.kt`, about 4,100 lines) are the next step. + +## ux-user-flows (§13 flow review checklist) + +No flow changes. Entry: the header's gear. Same groups, same rows, same routes, same order, same +conditional rows (measurement frequency, calibration, developer). States checked: loading (the +placeholder keeps the card's height so the rows don't jump: 176dp in the new look, 160dp in the +old), connected (card opens Ring & sync, no button), disconnected / never paired / reconnecting +(one button: Connect, Set up or Disconnect, disabled while a connect is in flight), Health Connect +as the data source (its card replaces the ring's). Exits: Back, and every row's screen. + +## impeccable + +### Audit (native, on renders) + +| # | Dimension | Score | Key finding | +|---|---|---|---| +| 1 | Accessibility | 3 | Rows 56dp, button 52dp, icons decorative (`null`), titles carry the meaning. Device TalkBack pass owed. | +| 2 | Performance | 4 | No new work; same state reads. | +| 3 | Appearance & theming | 4 | Look tokens only; 12dp radius, one hairline, Inter. | +| 4 | Platform conformance | 4 | CenterAligned top bar, system Back. | +| 5 | Adaptivity | 4 | 720dp cap; 1.3× renders without clipping (ring name, "Português (Brasil)" trailing value ellipsises at 140dp). | +| | **Total** | **19/20** | | + +### Critique + +| # | Heuristic | Score | Key issue | +|---|---|---|---| +| 1 | Visibility of status | 4 | Ring state, sync time and battery in the card; trailing values on rows. | +| 2 | Match real world | 4 | Groups named as jobs, unchanged. | +| 3 | User control | 4 | Unchanged. | +| 4 | Consistency | 4 | Same bar, page and card as the converted tabs. | +| 5 | Error prevention | 3 | Button disabled while connecting. | +| 6 | Recognition | 3 | Icons kept, now monochrome: recognition rests on the titles. | +| 7 | Flexibility | 3 | n/a | +| 8 | Minimalist | 4 | Caps kickers and the duplicated single-row headers are gone. | +| 9 | Error recovery | 3 | Unchanged. | +| 10 | Help | 3 | n/a | +| | **Total** | **35/40** | Good | + +### Polish (from the renders) + +- [fixed] The first build used a tonal button for Connect, which took Material's default tonal + colour (lavender) — a colour in neither look. It is now the calm outlined button. +- [fixed] Craft-floor ban, kicker over a heading: the group caps labels and the data source's + "DATA SOURCE" kicker are gone in the new look. +- [P3] The ring art keeps its dithered band: AGENTS.md "Rings are drawn" holds for every look. + +No P0 or P1. + +## graphic-design-fundamentals (§13 checklist) + +- **Hierarchy:** ring card first (20sp name, status in its state colour), then groups: 14sp + semibold group name, 16sp row titles, 14sp trailing values. +- **Contrast:** text on card from `CalmColors` (≥ 5.3:1); the battery and status colours are the + existing semantic ones. +- **Alignment and grid:** 20dp gutter, dividers start under the title column (64dp). +- **Spacing:** 28dp between groups, 8dp between a group name and its card. +- **Colour:** no per-row hues; colour is left to status (connected, battery level). +- **Consistency / real size:** checked at 411dp and 1.3×. + +## less-is-more + +| Element | Helps now? | Duplicate? | Verdict | +|---|---|---|---| +| Caps group labels | Yes, as names | — | Sentence case | +| "Notifications" header over "Notifications" row | No | Yes | Dropped in the new look | +| "AI Coach" header over "AI Coach" row | No | Yes | Dropped in the new look | +| Per-row icon colours | No (meant nothing) | — | One quiet tile | +| Dithered battery pill | The colour helps; the dither doesn't | — | Plain raised pill | +| Connect pill in the card corner | Yes, but small and off to the side | — | Full-width button | + +No common action gained a tap. diff --git a/docs/new-look-plan.md b/docs/new-look-plan.md index 884609c9..06bdec6e 100644 --- a/docs/new-look-plan.md +++ b/docs/new-look-plan.md @@ -105,3 +105,12 @@ and Sleep had theirs redone in `audits/2026-11-16-impeccable-pass-vitals-sleep-a statement, and sentence-case headings where caps kickers were. Audit: `audits/2026-11-16-new-look-nutrition-myhealth-readiness.md`. +- **Settings** (the hub, behind the switch in `SettingsScreen`). The calm bar, page, gutter, + 720dp cap and Inter. Group names in sentence case instead of caps kickers, and none over a group + whose one row already says it ("Notifications", "AI Coach"). Rows keep their icons but in one + quiet raised tile, because the per-row colours meant nothing. The ring card takes the calm card + and a full-width outlined Connect / Set up button instead of the dithered pill; its battery + keeps the level's colour on the icon and number. The data-source card drops its caps kicker. + These are the shared `SettingsSection` / `SettingsRow` / `DeviceHeroCard`, so they follow the + look wherever they appear. Still old-styled: every sub-screen (`SettingsSubScreens.kt`), next. + Audit: `audits/2026-11-16-new-look-settings.md`.