Changeset 9b36f45 in Klonkt for src/views


Ignore:
Timestamp:
06/14/2026 02:40:35 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
942028f
Parents:
b5bae24
Message:

audio: mobile — tapping a track automatically opens the now-playing sheet (Spotify style)

On mobile (CSS breakpoint <=719.98px) setQueue after a user-initiated track tap
from an album/playlist now automatically opens the full sheet instead of only
showing the mini strip. Only in setQueue (not next/prev or pre-seed), so a
deliberately closed sheet does not come back. Desktop unchanged.
Cache buster audio-player.js ?v=6 -> ?v=7 (Cloudflare 1y cache).

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    rb5bae24 r9b36f45  
    277277     ?v=N — cache-buster: bump bij elke audio-player.js wijziging zodat
    278278     Cloudflare (max-age=1y) niet de oude versie blijft serveren. -->
    279 <script src="/assets/js/audio-player.js?v=6"></script>
     279<script src="/assets/js/audio-player.js?v=7"></script>
    280280<% if (site && site.enable_audio_player && audioTracks && audioTracks.length > 0) { %>
    281281  <script>window.PCMS_SITE_TRACKS = <%- JSON.stringify(audioTracks) %>;</script>
Note: See TracChangeset for help on using the changeset viewer.