From 9f301497df6fc663abb044701572fecfa2af3793 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Mon, 23 Feb 2026 08:24:31 -0600 Subject: [PATCH] Show vibe text on playlist items in dashboard The vibe is the core concept of vibe-aware playlists but wasn't visible anywhere on the dashboard. Now each recent playlist shows its vibe text alongside track count and age. Co-Authored-By: Claude Opus 4.6 --- src/haunt_fm/api/status_page.py | 1 + src/haunt_fm/templates/status.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/haunt_fm/api/status_page.py b/src/haunt_fm/api/status_page.py index 0136194..e1f1d5b 100644 --- a/src/haunt_fm/api/status_page.py +++ b/src/haunt_fm/api/status_page.py @@ -228,6 +228,7 @@ async def status_page(request: Request, session: AsyncSession = Depends(get_sess "name": p.name or f"Playlist #{p.id}", "tracks": p.total_tracks, "known_pct": p.known_pct, + "vibe": p.vibe, "created_at": p.created_at, } for p in playlist_rows diff --git a/src/haunt_fm/templates/status.html b/src/haunt_fm/templates/status.html index 1d76c9d..6c770a5 100644 --- a/src/haunt_fm/templates/status.html +++ b/src/haunt_fm/templates/status.html @@ -285,7 +285,7 @@ {% for pl in recent_playlists %}
{{ pl.name }} ({{ pl.tracks }} tracks, {{ pl.known_pct }}% known)
-
{{ pl.created_at | timeago }}
+
{% if pl.vibe %}♫ {{ pl.vibe }} · {% endif %}{{ pl.created_at | timeago }}
{% endfor %} {% endif %}