Add song lookup UI: search a song and view its history + metadata
New song.html shows a song's aggregated metadata and full play history (paginated), reached from the dashboard via a debounced search box or by clicking a track in the "Most played" list. Verified manually in-browser: search, click-through from Most played (including an artist name with a slash), the not-found and no-query-params states, and the pager. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2f457a84d
commit
88b53df909
5 files changed
+284
-7
No files matched your search
@@ -14,6 +14,14 @@
|
||||
<main id="main">
|
||||
<h1 class="visually-hidden">Overview</h1>
|
||||
<div id="panel" class="panel" aria-live="polite"></div>
|
||||
<section aria-labelledby="song-search-title" class="song-search">
|
||||
<h2 id="song-search-title" class="visually-hidden">Find a song</h2>
|
||||
<div class="field">
|
||||
<label for="song-search">Find a song</label>
|
||||
<input id="song-search" type="search" autocomplete="off" placeholder="Search your scrobbles…">
|
||||
</div>
|
||||
<ul class="search-results" id="song-search-results" hidden></ul>
|
||||
</section>
|
||||
<section aria-labelledby="charts-title">
|
||||
<div class="section-head">
|
||||
<h2 id="charts-title">Most played</h2>
|
||||
|
||||
Reference in new issue
Block a user