From 3687229178f960c1faa329bc973cb2e351b54dbd 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 919dea8..a70290c 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 897ce9f..c5417ea 100644 --- a/src/index.html +++ b/src/index.html @@ -131,7 +131,6 @@
Last poo
Last meal
Last sleep
-