From 8c55b9b10fecd45ac5acf3f13fc23d342a4aa53b Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 29 Jun 2026 10:29:12 +0000 Subject: fix: calendar/meals sync, tomorrow flat layout, /health endpoint - Calendar: fall back to GOOGLE_CALENDAR_ID config when no source_configs synced yet (fixes blank calendar after fresh deploy) - Meals: call fetchMeals in HandleTimeline so PlanToEat cache refreshes on every timeline load, not just during manual refresh - Tomorrow section: replace calendar-grid with flat chronological list matching widget layout (time label | source bar | title) - Add /health endpoint (no auth required) for deploy health checks Co-Authored-By: Claude Sonnet 4.6 --- web/templates/partials/timeline-tab.html | 79 ++++++++++---------------------- 1 file changed, 23 insertions(+), 56 deletions(-) (limited to 'web/templates/partials') diff --git a/web/templates/partials/timeline-tab.html b/web/templates/partials/timeline-tab.html index 8874440..e58f793 100644 --- a/web/templates/partials/timeline-tab.html +++ b/web/templates/partials/timeline-tab.html @@ -203,8 +203,7 @@ - - + {{if .TomorrowItems}}
@@ -215,24 +214,37 @@ - -
+ +
{{range .TomorrowItems}} - {{if or .IsOverdue .IsAllDay}} -
+
+ + + {{if and (not .IsAllDay) (or (ne .Time.Hour 0) (ne .Time.Minute 0))}} + {{.Time.Format "3:04 PM"}} + {{end}} + + +
+
+ {{if or (eq .Type "task") (eq .Type "card") (eq .Type "gtask")}} + class="h-4 w-4 rounded bg-black/40 border-white/30 text-white/80 focus:ring-white/30 cursor-pointer shrink-0"> {{end}} - {{.Title}} - {{if .IsOverdue}}overdue{{end}} + + + {{.Title}} + {{if .EndTime}}– {{.EndTime.Format "3:04 PM"}}{{end}} + {{if .URL}} - + @@ -240,52 +252,7 @@ {{end}}
{{end}} - {{end}}
- - -
- - {{range .TomorrowHours}} -
- {{if eq . 0}}12am{{else if lt . 12}}{{.}}am{{else if eq . 12}}12pm{{else}}{{subtract . 12}}pm{{end}} -
- {{end}} - - - {{range .TomorrowItems}} - {{if and (not .IsOverdue) (not .IsAllDay)}} - - {{end}} - {{end}} -
-
{{end}} -- cgit v1.2.3