diff --git a/e2e/settings-score.spec.ts b/e2e/settings-score.spec.ts index 399bd9f2e..f8e57e90a 100644 --- a/e2e/settings-score.spec.ts +++ b/e2e/settings-score.spec.ts @@ -130,14 +130,13 @@ test.describe("Settings → Health Score", () => { 1, ); - // The cardiometabolic triple, visibly under one heading. + // The cardiometabolic triple. The list is flat (no group headings) — the + // rows carry their domain, so the three cardiometabolic pillars are found + // on the row itself. const cardio = page.locator( - '[data-slot="score-config-group"][data-domain="cardiometabolic"]', - ); - await expect(cardio).toHaveCount(1); - await expect(cardio.locator('[data-slot="score-pillar-row"]')).toHaveCount( - 3, + '[data-slot="score-pillar-row"][data-domain="cardiometabolic"]', ); + await expect(cardio).toHaveCount(3); // The rows say nothing about recording or showing — the card says it // once, above them, and the modules screen owns those two questions. diff --git a/messages/de.json b/messages/de.json index 22e52f6b7..55b078172 100644 --- a/messages/de.json +++ b/messages/de.json @@ -5207,13 +5207,6 @@ "axis": { "countsFor": "{pillar} in den Score einrechnen" }, - "domain": { - "cardiometabolic": "Herz und Stoffwechsel", - "activity": "Aktivität", - "sleep": "Schlaf", - "adiposity": "Körperform", - "wellbeing": "Wohlbefinden" - }, "state": { "counting": "Zählt in deinen Score", "waiting": "Ausgewählt, wartet auf Daten", diff --git a/messages/en.json b/messages/en.json index 8998e4fad..dd0ba4ac5 100644 --- a/messages/en.json +++ b/messages/en.json @@ -5207,13 +5207,6 @@ "axis": { "countsFor": "Count {pillar} toward the score" }, - "domain": { - "cardiometabolic": "Heart and metabolism", - "activity": "Activity", - "sleep": "Sleep", - "adiposity": "Body shape", - "wellbeing": "Wellbeing" - }, "state": { "counting": "Counting toward your score", "waiting": "Selected, waiting for data", diff --git a/messages/es.json b/messages/es.json index f8b57316b..a0e7aae78 100644 --- a/messages/es.json +++ b/messages/es.json @@ -5207,13 +5207,6 @@ "axis": { "countsFor": "Contar {pillar} para la puntuación" }, - "domain": { - "cardiometabolic": "Corazón y metabolismo", - "activity": "Actividad", - "sleep": "Sueño", - "adiposity": "Forma corporal", - "wellbeing": "Bienestar" - }, "state": { "counting": "Cuenta para tu puntuación", "waiting": "Seleccionado, esperando datos", diff --git a/messages/fr.json b/messages/fr.json index 7daddbd8f..8ec4f749c 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -5207,13 +5207,6 @@ "axis": { "countsFor": "Compter {pillar} dans le score" }, - "domain": { - "cardiometabolic": "Cœur et métabolisme", - "activity": "Activité", - "sleep": "Sommeil", - "adiposity": "Silhouette", - "wellbeing": "Bien-être" - }, "state": { "counting": "Compte dans votre score", "waiting": "Sélectionné, en attente de données", diff --git a/messages/it.json b/messages/it.json index 471e33147..152f252b4 100644 --- a/messages/it.json +++ b/messages/it.json @@ -5207,13 +5207,6 @@ "axis": { "countsFor": "Conta {pillar} nel punteggio" }, - "domain": { - "cardiometabolic": "Cuore e metabolismo", - "activity": "Attività", - "sleep": "Sonno", - "adiposity": "Forma corporea", - "wellbeing": "Benessere" - }, "state": { "counting": "Conta nel tuo punteggio", "waiting": "Selezionato, in attesa di dati", diff --git a/messages/pl.json b/messages/pl.json index b4245f672..592b485bd 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -5207,13 +5207,6 @@ "axis": { "countsFor": "Licz {pillar} do wyniku" }, - "domain": { - "cardiometabolic": "Serce i metabolizm", - "activity": "Aktywność", - "sleep": "Sen", - "adiposity": "Sylwetka", - "wellbeing": "Samopoczucie" - }, "state": { "counting": "Liczy się do Twojego wyniku", "waiting": "Wybrany, czeka na dane", diff --git a/src/components/settings/score-pillar-row.tsx b/src/components/settings/score-pillar-row.tsx index 99853a15c..8e8f8dfaf 100644 --- a/src/components/settings/score-pillar-row.tsx +++ b/src/components/settings/score-pillar-row.tsx @@ -60,7 +60,7 @@ export function ScorePillarRow({ data-domain={row.domain} data-counts={row.counts ? "true" : "false"} data-eligibility={row.eligibility} - className="flex min-h-11 items-center justify-between gap-4" + className="flex min-h-11 items-center justify-between gap-4 py-3" >