mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
fix(ui): stable React list keys on Now Playing cards (#703)
* fix(ui): use stable list keys on Now Playing dashboard cards Subsonic payloads can repeat the same id in similar artists, album track rows, and top songs. Keys now combine id with list index so React reconciliation stays stable and duplicate-key warnings stop. * docs: changelog and credits for Now Playing list keys (PR #703) Document the dashboard list key fix in CHANGELOG and Settings contributors.
This commit is contained in:
@@ -110,6 +110,7 @@ const CONTRIBUTOR_ENTRIES = [
|
||||
'OpenSubsonic albumArtists in album header; track artists in player bar, mobile, mini + songToTrack (#552) (PR #696)',
|
||||
'Search: filter search3 artist rows with zero albums (report: zunoz on Psysonic Discord) (PR #697)',
|
||||
'Internet Radio: portal add/edit station modal to document.body — fixes clipped modal on empty library (report: voidboywannabe on Psysonic Discord) (PR #699)',
|
||||
'Now Playing: composite list keys on similar artists, album-card tracklist, and top songs — avoids duplicate React keys when Subsonic repeats ids (PR #703)',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user