feat(credits): enable track info for all Qobuz tracks + add artist link
- Add onTrackShowInfo to HomeView (Continue Listening tracks) - Add onShowInfo to VirtualizedTrackList (for FavoritesView) - Add onTrackShowInfo to FavoritesView and wire to VirtualizedTrackList - Pass showTrackInfo to HomeView and FavoritesView in +page.svelte - Add clickable artist name to TrackInfoModal header - Artist link navigates to artist page and closes modal
This commit is contained in:
1 parent
f7161bafe1
commit
1de77ec132
5 files changed
+53
-1
No files matched your search
@@ -74,6 +74,7 @@
|
||||
onTrackShareSonglink?: (track: DisplayTrack) => void;
|
||||
onTrackGoToAlbum?: (albumId: string) => void;
|
||||
onTrackGoToArtist?: (artistId: number) => void;
|
||||
onTrackShowInfo?: (trackId: number) => void;
|
||||
onTrackDownload?: (track: DisplayTrack) => void;
|
||||
onTrackRemoveDownload?: (trackId: number) => void;
|
||||
onTrackReDownload?: (track: DisplayTrack) => void;
|
||||
@@ -124,6 +125,7 @@
|
||||
onTrackShareSonglink,
|
||||
onTrackGoToAlbum,
|
||||
onTrackGoToArtist,
|
||||
onTrackShowInfo,
|
||||
onTrackDownload,
|
||||
onTrackRemoveDownload,
|
||||
onTrackReDownload,
|
||||
@@ -1239,6 +1241,7 @@
|
||||
onShareSonglink={onTrackShareSonglink ? (t) => onTrackShareSonglink(buildDisplayTrackFromFavorite(t)) : undefined}
|
||||
onGoToAlbum={onTrackGoToAlbum}
|
||||
onGoToArtist={onTrackGoToArtist}
|
||||
onShowInfo={onTrackShowInfo}
|
||||
onReDownload={onTrackReDownload ? (t) => onTrackReDownload(buildDisplayTrackFromFavorite(t)) : undefined}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user