Changeset 359b9ae in Klonkt for src/routes


Ignore:
Timestamp:
06/20/2026 02:09:51 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
ddf549f
Parents:
85d5972
Message:

fix(player): scroll-to-track also from album & playlist

Album track JSON was not passing id (posts.js) and album/playlist rows had
no anchor. Now: id in the album track data + id="track-<id>" on album and
playlist rows (playlist already had the id via PlaylistService). Highlight
flash also on playlist rows. style.css?v=17.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/posts.js

    r85d5972 r359b9ae  
    562562        if (!byAlbum.has(r.album)) byAlbum.set(r.album, []);
    563563        byAlbum.get(r.album).push({
     564          id: r.id,
    564565          url: audioUrl(r.filename),
    565566          title: r.title || 'Untitled',
Note: See TracChangeset for help on using the changeset viewer.