Redesign the song page around the dashboard's front-panel look
CI / validate-monitoring (push) Successful in 11s
CI / lint (push) Successful in 17s
CI / federation-interop (push) Successful in 1m40s
CI / test (push) Successful in 3m16s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 6s
CI / validate-monitoring (pull_request) Successful in 9s
CI / lint (pull_request) Successful in 18s
CI / federation-interop (pull_request) Successful in 1m10s
CI / test (pull_request) Successful in 4m33s
CI / images (pull_request) Skipped
CI / assets (pull_request) Skipped
CI / python-package (pull_request) Skipped
CI / trigger-deploy (pull_request) Skipped
CI / notify (pull_request) Successful in 6s
CI / validate-monitoring (push) Successful in 11s
CI / lint (push) Successful in 17s
CI / federation-interop (push) Successful in 1m40s
CI / test (push) Successful in 3m16s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 6s
CI / validate-monitoring (pull_request) Successful in 9s
CI / lint (pull_request) Successful in 18s
CI / federation-interop (pull_request) Successful in 1m10s
CI / test (pull_request) Successful in 4m33s
CI / images (pull_request) Skipped
CI / assets (pull_request) Skipped
CI / python-package (pull_request) Skipped
CI / trigger-deploy (pull_request) Skipped
CI / notify (pull_request) Successful in 6s
Previously the song page was a plain heading, a bare metadata list and a history log. Now it gets its own moment on the glowing amber display, reusing the dashboard's .panel/.display/.readouts/ .spectrum components verbatim: the track name lit up like a now-playing display, play/first-played/last-played readouts, and a 90-day per-track play-activity chart. Extracted the segmented spectrum chart out of dashboard.js into a shared frontend/js/spectrum.js so both pages use the same renderer; the dashboard's own output is unchanged. Verified manually in-browser: the panel renders correctly, an artist name with a slash round-trips, the not-found and no-query-params states render into the panel, and the dashboard's spectrum chart is pixel-for-pixel unchanged after the extraction. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
86bf9fd302
commit
ae24c4a00e
4 files changed
+90
-67
No files matched your search
+2
-2
@@ -12,8 +12,8 @@
|
||||
<body>
|
||||
<header class="site-header" id="site-header"></header>
|
||||
<main id="main">
|
||||
<h1 class="page-title" id="song-title">Song</h1>
|
||||
<p class="lede" id="song-subtitle"></p>
|
||||
<h1 class="visually-hidden">Song</h1>
|
||||
<div id="panel" class="panel" aria-live="polite"></div>
|
||||
<dl class="song-meta" id="song-meta"></dl>
|
||||
<section aria-labelledby="song-history-title">
|
||||
<h2 id="song-history-title">History</h2>
|
||||
|
||||
Reference in new issue
Block a user