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:
@@ -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
|
||||
|
||||
@@ -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;">♫ {{ pl.vibe }}</span> · {% endif %}{{ pl.created_at | timeago }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user