diff --git a/src/app.js b/src/app.js index 18880cf..9b50f5f 100644 --- a/src/app.js +++ b/src/app.js @@ -763,26 +763,14 @@ ]; function renderTiming(events) { - const peeGaps = gapsBetween(events, "pee"); - for (const row of TIMING_ROWS) { const svg = document.getElementById(`timing-chart-${row.type}`); const note = document.getElementById(`timing-note-${row.type}`); if (!svg || !note) continue; - const gaps = row.type === "pee" ? peeGaps : gapsBetween(events, row.type); + const gaps = gapsBetween(events, row.type); const last = lastEventOfType(events, row.type); drawTimingChart(svg, note, row, gaps, last ? Math.max(0, Date.now() - last.at) : null); } - - const hint = document.getElementById("timing-hint"); - const typicalPee = median(peeGaps); - if (typicalPee != null) { - hint.textContent = - `Based on ${peeGaps.length} pee gap${peeGaps.length === 1 ? "" : "s"}. ` + - `Aim to take the puppy out a little before the typical ${formatDuration(typicalPee)} mark.`; - } else { - hint.textContent = "Log a few more pees, poos and meals to see typical timings."; - } } function drawTimingChart(svg, note, row, gaps, since) { @@ -1071,13 +1059,6 @@ const totalMs = walkMsInRange(events, from, to); document.getElementById("walk-total").textContent = windows.length ? `(${formatDuration(totalMs)})` : ""; - - const goal = walkTargetFor(loadConfig().birthday); - const goalEl = document.getElementById("walk-goal"); - goalEl.textContent = goal - ? `Rule of thumb at this age: about ${goal.perWalk} min per walk, ${goal.walks}× a day (~${goal.total} min).` - : ""; - goalEl.hidden = !goal; } // Which history rows sit inside a sleep or walk window, so the list can run a diff --git a/src/changelog.json b/src/changelog.json index 23a6188..882b46b 100644 --- a/src/changelog.json +++ b/src/changelog.json @@ -1,4 +1,5 @@ [ + { "date": "2026-09-01", "text": "Dropped two hint lines: the “Based on N pee gaps…” sentence under the Timing charts, and the “Rule of thumb at this age…” one in the Walks panel. The charts above them already say it. The age-based walking goal is still there, drawn as the goal line on the Walk trend" }, { "date": "2026-09-01", "text": "On the dark theme the awake timers are a warm near-white now — both “Awake for” at the top and the pill in the day bar — instead of yellow text on a yellow-tinted pill. The light theme keeps its dark gold, where white would disappear into a near-white pill" }, { "date": "2026-09-01", "text": "Toned the awake timer down: the pill in the day bar is a fainter yellow and its text a good deal darker, so “Awake for” is comfortable to read rather than technically legible. The Awake labels elsewhere darkened with it" }, { "date": "2026-08-31", "text": "The asleep timer text is a deeper blue, so “Asleep for” in the day-bar pill and on the big card is properly readable against its own pale blue background instead of the near-invisible blue-on-blue it was — the same treatment the awake gold just got, and it applies to the Asleep labels in the Sleep & wake list too" }, diff --git a/src/index.html b/src/index.html index af29e4c..4a03863 100644 --- a/src/index.html +++ b/src/index.html @@ -215,7 +215,6 @@

The middle of every bar is that type's typical gap: left of it is sooner than usual, right of it is longer, and the faded stretch runs out to the longest gap in the window.

-

-