Changeset 230e446 in Klonkt for src/views/shell.ejs


Ignore:
Timestamp:
06/20/2026 01:38:16 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
fa08981
Parents:
d188736
Message:

feat(player): mini-player jumps to post AND scrolls to the track (desktop)

Track embed gets id="track-<id>" (anchor) + id in the track JSON. goToPost
now carries the track id: after the htmx swap to the post it scrolls to the
track embed (block:center, smooth) with a brief highlight, instead of
scrolling to the top. Busters: audio-player.js?v=17, style.css?v=16.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    rd188736 r230e446  
    163163
    164164<!-- v9 stylesheet (full palette system) -->
    165 <link rel="stylesheet" href="/assets/css/style.css?v=15">
     165<link rel="stylesheet" href="/assets/css/style.css?v=16">
    166166
    167167<!-- Audio player styles: loaded on every page so the mini-player works
     
    300300     ?v=N — cache-buster: bump bij elke audio-player.js wijziging zodat
    301301     Cloudflare (max-age=1y) niet de oude versie blijft serveren. -->
    302 <script src="/assets/js/audio-player.js?v=16"></script>
     302<script src="/assets/js/audio-player.js?v=17"></script>
    303303<!-- Eigen custom media-embeds (YouTube/SoundCloud/Spotify) via de echte
    304304     player-API's + gedeelde mutual-exclusion registry met de site-speler. -->
Note: See TracChangeset for help on using the changeset viewer.