feat(web): wire @playNext on all SongCard call sites

Library / Search / History / Playlist now route the third action to
store.playNextSong. Home is unchanged (it doesn't use SongCard).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
saopig1andClaude Opus 4.7 committed 2026-05-06 16:43:10 +08:00
1 parent ad4fb5d3c7
commit caeef65cdb
4 files changed
+4

No files matched your search

+1
View File
@@ -20,6 +20,7 @@
:index="i + 1" :index="i + 1"
:active="store.currentSong?.id === song.id" :active="store.currentSong?.id === song.id"
@play="store.playSong(song)" @play="store.playSong(song)"
@playNext="store.playNextSong(song)"
@add="store.addSong(song)" @add="store.addSong(song)"
/> />
</div> </div>
+1
View File
@@ -36,6 +36,7 @@
:index="i + 1" :index="i + 1"
:active="store.currentSong?.id === song.id" :active="store.currentSong?.id === song.id"
@play="store.play(song.name, song.platform)" @play="store.play(song.name, song.platform)"
@playNext="store.playNextSong(song)"
@add="store.addToQueue(song.name, song.platform)" @add="store.addToQueue(song.name, song.platform)"
/> />
</div> </div>
+1
View File
@@ -32,6 +32,7 @@
:index="i + 1" :index="i + 1"
:active="store.currentSong?.id === song.id" :active="store.currentSong?.id === song.id"
@play="store.playSong(song)" @play="store.playSong(song)"
@playNext="store.playNextSong(song)"
@add="store.addSong(song)" @add="store.addSong(song)"
/> />
</div> </div>
+1
View File
@@ -28,6 +28,7 @@
:index="i + 1" :index="i + 1"
:active="store.currentSong?.id === song.id" :active="store.currentSong?.id === song.id"
@play="store.playSong(song)" @play="store.playSong(song)"
@playNext="store.playNextSong(song)"
@add="store.addSong(song)" @add="store.addSong(song)"
/> />
</div> </div>