From 6e285bfef179829af77afdf018fa3970dfac9d99 Mon Sep 17 00:00:00 2001 From: Nate Emmert Date: Thu, 15 Oct 2026 13:17:46 -0400 Subject: [PATCH] Show the first-recorded date on the All history button tooltip Co-Authored-By: Claude Sonnet 5.5 --- app/public/dashboard-ui.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/public/dashboard-ui.js b/app/public/dashboard-ui.js index e743063..1fa2fd0 100644 --- a/app/public/dashboard-ui.js +++ b/app/public/dashboard-ui.js @@ -578,6 +578,11 @@ async function refreshData() { ]); DAILY = daily; RECENT = recent; LATEST = RECENT[RECENT.length - 1] || null; + const allBtn = document.querySelector('.range-btn[data-range="all"]'); + if (allBtn && DAILY[0]) { + const first = new Date(dayMs(DAILY[0].d)).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric', timeZone: 'UTC' }); + allBtn.title = `Everything recorded since ${first}`; + } if (LATEST?.tz) TZ = LATEST.tz; if (!LOC) { const loc = await getJSON('/api/dashboard/location').catch(() => null);