Add release date display to AlbumCard overlay
- Add releaseDate prop to AlbumCard component
- Display release date below genre in overlay (format: "Jan 25, 2026")
- Update all AlbumCard usages across views to pass releaseDate:
- ArtistDetailView (all album sections)
- HomeView (all featured album sections)
- SearchView (search results)
- FavoritesView (favorite albums)
- LabelView (label albums)
- AlbumDetailView ("By the same artist" section)
- Add releaseDate to types and adapters
- Skip local library view (VirtualizedAlbumList)
This commit is contained in:
1 parent
e9e319aa46
commit
e9c7e4672c
10 files changed
+73
-6
No files matched your search
@@ -33,6 +33,7 @@
|
||||
artwork: string;
|
||||
quality: string;
|
||||
genre: string;
|
||||
releaseDate?: string;
|
||||
}
|
||||
|
||||
interface Props {
|
||||
@@ -485,6 +486,7 @@
|
||||
title={relatedAlbum.title}
|
||||
artist={album.artist}
|
||||
genre={relatedAlbum.genre}
|
||||
releaseDate={relatedAlbum.releaseDate}
|
||||
size="large"
|
||||
quality={relatedAlbum.quality}
|
||||
onclick={() => onRelatedAlbumClick?.(relatedAlbum.id)}
|
||||
|
||||
Reference in new issue
Block a user