From f0cf796ef664ce88f36f5e289bb07beedc4557b7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 30 Nov 2026 17:43:13 +0000 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Drive=20the=20day=20detail?= =?UTF-8?q?=20from=20SignalDB=20collections?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The day detail panel no longer loads entries and the closed day on demand and patches its lists after each mutation. Entries, the closed day, the running entry and the total are derived from the synced collections, so they update on local changes and on sync. The ticker restarts whenever the running entry changes. Closing, marking and reopening a day rely on the sync the domain functions trigger. --- web/src/lib/components/DayDetail.svelte | 136 +++++++++--------------- 1 file changed, 51 insertions(+), 85 deletions(-) diff --git a/web/src/lib/components/DayDetail.svelte b/web/src/lib/components/DayDetail.svelte index 02a8181..63d8afa 100644 --- a/web/src/lib/components/DayDetail.svelte +++ b/web/src/lib/components/DayDetail.svelte @@ -1,29 +1,39 @@