From 22efca3118676926dec4af74fe8e225606063a35 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 24 Jan 2026 20:28:15 -1000 Subject: Fix UI bugs and add Timeline view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fixes: - #25: Replace 📅 with 🗓️ to avoid misleading date display - #30: Standardize background opacity (shopping items now use bg-white/5) New feature: - #11: Add Timeline view showing chronological events/tasks/meals Co-Authored-By: Claude Opus 4.5 --- web/templates/partials/timeline-tab.html | 74 ++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 web/templates/partials/timeline-tab.html (limited to 'web/templates/partials/timeline-tab.html') diff --git a/web/templates/partials/timeline-tab.html b/web/templates/partials/timeline-tab.html new file mode 100644 index 0000000..e73a643 --- /dev/null +++ b/web/templates/partials/timeline-tab.html @@ -0,0 +1,74 @@ +{{define "timeline-tab"}} +
+ + {{$currentDay := ""}} + {{range .Items}} + {{$day := .Time.Format "Monday, January 2"}} + {{if ne $day $currentDay}} + {{if ne $currentDay ""}} +
+ + {{end}} + {{$currentDay = $day}} +
+

+ 🗓️ {{$day}} +

+
+ {{end}} + +
+ +
+
+ +
+
+ {{.Time.Format "3:04 PM"}} + {{if .EndTime}} + {{.EndTime.Format "3:04 PM"}} + {{end}} +
+ +
+
+

{{.Title}}

+ {{if .URL}} + + + + + + {{end}} +
+ + {{if .Description}} +

{{.Description}}

+ {{end}} + +
+ + {{.Type}} + +
+
+
+
+ {{end}} + + {{if ne $currentDay ""}} +
+
+ {{else}} +
+

No items found for the selected range.

+
+ {{end}} + + +{{end}} -- cgit v1.2.3