fix(insights): say what fills the recovery page when it is empty

The empty note told a connected Oura account to connect Oura. The page
charts the WHOOP and Polar recharge, strain and load readings and the
Oura resilience level; Oura's readiness is the recovery score linked
above. The note now says so.
This commit is contained in:
Marc-André Bombeck committed 2026-10-15 15:10:18 +02:00
1 parent 35a33ca173
commit 73922c039e
8 files changed
+13 -7

No files matched your search

@@ -206,6 +206,12 @@ describe("<RecoverySection> data-gating", () => {
// old hand-rolled div — the empty title comes from the unified primitive.
expect(html).toContain("border-dashed");
expect(html).not.toContain('data-slot="recovery-block-DAY_STRAIN"');
// An Oura account sees this note too: it must say where Oura's readiness
// lives rather than tell a connected user to connect Oura.
expect(html).not.toContain("Connect a WHOOP, Polar or Oura account");
expect(html).toContain(
"Oura&#x27;s readiness appears as your recovery score",
);
});
it("renders a canonical chart block for the present signal", () => {