From 3a9f8229989b68fa7be915c41636134ea34050d1 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 12 Jul 2026 16:02:22 +0000 Subject: [PATCH] Remove the redundant "Currently" row from the overview The big clock already shows the asleep/awake state prominently. --- src/app.js | 9 --------- src/index.html | 1 - 2 files changed, 10 deletions(-) diff --git a/src/app.js b/src/app.js index 56d550e..85f2250 100644 --- a/src/app.js +++ b/src/app.js @@ -659,15 +659,6 @@ document.getElementById("last-sleep").textContent = lastSleep ? `${EVENT_LABELS[lastSleep.type]} at ${formatTime(lastSleep.at)} (${formatRelative(lastSleep.at)})` : "—"; - - const row = document.getElementById("currently-row"); - const currently = document.getElementById("currently"); - if (currentSleepState(events).state === "asleep") { - row.hidden = false; - currently.textContent = "😴 Asleep"; - } else { - row.hidden = true; - } } // Tracks the latest sleep transition so the 1-second tick can update the diff --git a/src/index.html b/src/index.html index 47da342..d24aa1a 100644 --- a/src/index.html +++ b/src/index.html @@ -143,7 +143,6 @@
Last poo
Last meal
Last sleep
-