From 17fd1a090632ef34fb038598148b29db2de46f3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?=
Date: Wed, 11 Nov 2026 20:30:24 +0100
Subject: [PATCH] chore(insights): remove the "Try a 7-day experiment"
placeholder
Every correlation card carried a permanently disabled button with the
tooltip "Coming soon", which on a phone (no hover) was just a dead
control. The feature it stood for was never built; the button and its
two strings go in all ten locales. The Coach hand-off and the dismiss
action stay.
---
messages/de.json | 2 --
messages/en.json | 2 --
messages/es.json | 2 --
messages/fr.json | 2 --
messages/it.json | 2 --
messages/ko.json | 2 --
messages/nl.json | 2 --
messages/pl.json | 2 --
messages/pt-BR.json | 2 --
messages/ru.json | 2 --
.../__tests__/correlation-card.test.tsx | 11 +++-----
src/components/insights/correlation-card.tsx | 25 ++-----------------
12 files changed, 6 insertions(+), 50 deletions(-)
diff --git a/messages/de.json b/messages/de.json
index 4dcc47c51..434e5f54d 100644
--- a/messages/de.json
+++ b/messages/de.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Zusammenhänge",
- "experimentCta": "7-Tage-Experiment starten",
- "experimentTooltip": "Bald verfügbar",
"emptyTitle": "Mehr Daten nötig, um diesen Zusammenhang zu zeigen",
"sourceChip": "basierend auf {n} gepaarten Messungen ({window})",
"sourceWindowLast30": "letzte 30 Tage",
diff --git a/messages/en.json b/messages/en.json
index 6a5c05ac9..c8c1134b7 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Relationships",
- "experimentCta": "Try a 7-day experiment",
- "experimentTooltip": "Coming soon",
"emptyTitle": "Need more data to see this relationship",
"sourceChip": "based on {n} paired readings ({window})",
"sourceWindowLast30": "last 30 days",
diff --git a/messages/es.json b/messages/es.json
index a2b612bad..7ec2ce09c 100644
--- a/messages/es.json
+++ b/messages/es.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Correlaciones",
- "experimentCta": "Iniciar experimento de 7 días",
- "experimentTooltip": "Próximamente",
"emptyTitle": "Necesitamos más datos para mostrar esta correlación",
"sourceChip": "basado en {n} mediciones pareadas ({window})",
"sourceWindowLast30": "Últimos 30 días",
diff --git a/messages/fr.json b/messages/fr.json
index af97df036..8781bf069 100644
--- a/messages/fr.json
+++ b/messages/fr.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Corrélations",
- "experimentCta": "Lancer une expérience de 7 jours",
- "experimentTooltip": "Bientôt disponible",
"emptyTitle": "Il faut plus de données pour afficher cette corrélation",
"sourceChip": "sur la base de {n} mesures appariées ({window})",
"sourceWindowLast30": "30 derniers jours",
diff --git a/messages/it.json b/messages/it.json
index fed51449c..96740cc49 100644
--- a/messages/it.json
+++ b/messages/it.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Correlazioni",
- "experimentCta": "Avvia esperimento di 7 giorni",
- "experimentTooltip": "In arrivo",
"emptyTitle": "Servono più dati per mostrare questa correlazione",
"sourceChip": "su {n} misurazioni appaiate ({window})",
"sourceWindowLast30": "Ultimi 30 giorni",
diff --git a/messages/ko.json b/messages/ko.json
index 77eee65e5..7958cec1c 100644
--- a/messages/ko.json
+++ b/messages/ko.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "관계",
- "experimentCta": "7일 실험 해보기",
- "experimentTooltip": "곧 제공돼요",
"emptyTitle": "이 관계를 보려면 데이터가 더 필요해요",
"sourceChip": "짝지은 측정값 {n}개 기준 ({window})",
"sourceWindowLast30": "최근 30일",
diff --git a/messages/nl.json b/messages/nl.json
index 1df8e98bf..3e8edd7bc 100644
--- a/messages/nl.json
+++ b/messages/nl.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Verbanden",
- "experimentCta": "Probeer een experiment van 7 dagen",
- "experimentTooltip": "Binnenkort beschikbaar",
"emptyTitle": "Meer gegevens nodig om dit verband te zien",
"sourceChip": "gebaseerd op {n} gekoppelde metingen ({window})",
"sourceWindowLast30": "afgelopen 30 dagen",
diff --git a/messages/pl.json b/messages/pl.json
index fa9457d77..8eb53e7d2 100644
--- a/messages/pl.json
+++ b/messages/pl.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Korelacje",
- "experimentCta": "Uruchom 7-dniowy eksperyment",
- "experimentTooltip": "Wkrótce",
"emptyTitle": "Potrzeba więcej danych, aby pokazać tę korelację",
"sourceChip": "na podstawie {n} sparowanych pomiarów ({window})",
"sourceWindowLast30": "Ostatnie 30 dni",
diff --git a/messages/pt-BR.json b/messages/pt-BR.json
index 6abf9a204..2c1560901 100644
--- a/messages/pt-BR.json
+++ b/messages/pt-BR.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Relações",
- "experimentCta": "Tente um experimento de 7 dias",
- "experimentTooltip": "Em breve",
"emptyTitle": "Precisa de mais dados para ver esta relação",
"sourceChip": "com base em {n} leituras pareadas ({window})",
"sourceWindowLast30": "últimos 30 dias",
diff --git a/messages/ru.json b/messages/ru.json
index 159cf4fab..1b45efb2b 100644
--- a/messages/ru.json
+++ b/messages/ru.json
@@ -3017,8 +3017,6 @@
},
"correlationRow": {
"title": "Связи",
- "experimentCta": "Попробовать 7-дневный эксперимент",
- "experimentTooltip": "Скоро",
"emptyTitle": "Нужно больше данных, чтобы увидеть эту связь",
"sourceChip": "на основе {n} парных измерений ({window})",
"sourceWindowLast30": "последние 30 дней",
diff --git a/src/components/insights/__tests__/correlation-card.test.tsx b/src/components/insights/__tests__/correlation-card.test.tsx
index 02689583f..c6d067910 100644
--- a/src/components/insights/__tests__/correlation-card.test.tsx
+++ b/src/components/insights/__tests__/correlation-card.test.tsx
@@ -81,18 +81,15 @@ describe("", () => {
expect(html).toContain("High confidence");
});
- it("renders the disabled experiment CTA with the Coming-soon tooltip", () => {
+ it("offers no placeholder action, only ones that work", () => {
const html = render();
- expect(html).toMatch(/data-slot="correlation-card-cta"/);
- expect(html).toContain("Try a 7-day experiment");
- expect(html).toMatch(/disabled/);
- expect(html).toContain("Coming soon");
+ expect(html).not.toMatch(/data-slot="correlation-card-cta"/);
+ expect(html).not.toMatch(/
-
- {/* v1.21.0 — the live Coach hand-off sits beside the
- roadmap CTA: it scopes to both sources in the pair. */}
+ {/* The Coach hand-off scopes to both sources in the pair. */}