From 7385952917bac41754c1a4b78c30adc923dd38a1 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 26 Jan 2026 23:22:32 -1000 Subject: Make Today collapsible and expand Tomorrow by default (#60) - Convert Today section from static div to collapsible details element - Add item count to Today header for consistency - Expand both Today and Tomorrow sections by default - Later section remains collapsed Co-Authored-By: Claude Opus 4.5 --- web/templates/partials/timeline-tab.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'web') diff --git a/web/templates/partials/timeline-tab.html b/web/templates/partials/timeline-tab.html index 22cdd38..b1045c6 100644 --- a/web/templates/partials/timeline-tab.html +++ b/web/templates/partials/timeline-tab.html @@ -5,23 +5,27 @@ hx-target="#tab-content" hx-swap="innerHTML"> - + {{if .TodayItems}} -
-

+
+ 📅 {{.TodayLabel}} -

+ ({{len .TodayItems}} items) + + + +
{{range .TodayItems}} {{template "timeline-item" .}} {{end}}
-
+ {{end}} - + {{if .TomorrowItems}} -
+
🗓️ {{.TomorrowLabel}} ({{len .TomorrowItems}} items) -- cgit v1.2.3