Make "Recently played" rows match the Tracks list style
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 12s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 3m18s
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 14s
CI / federation-interop (pull_request) Successful in 1m14s
CI / test (pull_request) Successful in 4m38s
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 7s
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 12s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 3m18s
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 14s
CI / federation-interop (pull_request) Successful in 1m14s
CI / test (pull_request) Successful in 4m38s
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 7s
Stack the track above a muted artist line and link each row to its song page, consistent with how the "Most played > Tracks" list already looks and behaves. Scoped with a new .log-stacked modifier so history.html and the song page's own history list (which share the base .log classes) are unaffected. Verified manually in-browser: rows render stacked and link to the right song page, and history.html's layout is unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25a7ac7a20
commit
457e051828
3 files changed
+23
-2
No files matched your search
@@ -262,7 +262,12 @@ async function loadRecent() {
|
||||
"li",
|
||||
{},
|
||||
h("time", { datetime: s.played_at, title: new Date(s.played_at).toLocaleString() }, timeAgo(s.played_at)),
|
||||
h("span", {}, h("span", { class: "track" }, s.track), h("span", { class: "by" }, ` by ${s.artist}`)),
|
||||
h(
|
||||
"a",
|
||||
{ href: songHref(s.artist, s.track) },
|
||||
h("span", { class: "track" }, s.track),
|
||||
h("span", { class: "by" }, s.artist),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user