fix: resolve multiple UI issues in player, playlist, lyrics, and queue

- Playlist: add console.error in catch block so load failures are visible
- Player: add progress bar with requestAnimationFrame and time display
- Player: extract toggleQueue function with debug logging for queue panel
- WebSocket: fetch queue on stateChange when not included in event payload
- Lyrics: use CSS transform scrolling and reduce sync to 500ms to fix flicker

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
saopig1andClaude Opus 4.6 committed 2026-03-30 02:34:48 +08:00
1 parent 94a0df8391
commit d84f23c2b2
4 files changed
+179 -29

No files matched your search

+4 -2
View File
@@ -96,8 +96,10 @@ onMounted(async () => {
]);
playlist.value = detailRes.data.playlist;
songs.value = songsRes.data.songs;
} catch {
// Ignore if API not ready
} catch (err) {
console.error('Failed to load playlist:', err);
playlist.value = null;
songs.value = [];
} finally {
loading.value = false;
}