From 3a6aa8cbda6f1e72ad56076dbccaa4ce40ce69c3 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 10 Feb 2026 03:48:20 -0500 Subject: [PATCH] Dashboard: narrower categories column, show scan time in recent docs, add inou/sophia categories --- main.go | 5 ++++- templates/dashboard.html | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 3325cd3..0f215b9 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,8 @@ func initPaths() { var categories = []string{ "taxes", "bills", "medical", "insurance", "legal", - "financial", "expenses", "vehicles", "home", "personal", "contacts", "uncategorized", + "financial", "expenses", "vehicles", "home", "personal", "contacts", + "inou", "sophia", "uncategorized", } func main() { @@ -137,6 +138,8 @@ func categoryIcon(cat string) string { "home": "🏠", "personal": "👤", "contacts": "📇", + "inou": "🏢", + "sophia": "👧", "uncategorized": "📁", } if icon, ok := icons[cat]; ok { diff --git a/templates/dashboard.html b/templates/dashboard.html index d10134f..0e3408c 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -90,7 +90,7 @@ -
+

Categories

@@ -111,7 +111,7 @@
-
+

Recent Documents

View all → @@ -154,7 +154,7 @@ {{title .Category}} {{end}} -

{{if .Date}}{{.Date}}{{else}}{{formatDate .ProcessedAt}}{{end}}

+

{{formatDate .ProcessedAt}}

{{end}}