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 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 08:24:31 -06:00
parent 31f13b1efb
commit 9f301497df
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -285,7 +285,7 @@
{% for pl in recent_playlists %}
<div class="playlist-item">
<div class="playlist-name">{{ pl.name }} ({{ pl.tracks }} tracks, {{ pl.known_pct }}% known)</div>
<div class="playlist-meta">{{ pl.created_at | timeago }}</div>
<div class="playlist-meta">{% if pl.vibe %}<span style="color: #8b949e;">&#9835; {{ pl.vibe }}</span> &middot; {% endif %}{{ pl.created_at | timeago }}</div>
</div>
{% endfor %}
{% endif %}