feat(album-view): right sidebar with label and full awards stack
Ports the Qobuz web 'label + awards' sidebar pattern to AlbumView. Track list and sidebar sit side-by-side above 1100px and collapse vertically below it. Label card navigates to the existing LabelView. Award cards call onAwardClick when provided (disabled until Phase 3 lands AwardView). Wiring: - Adds awards (Vec<PageArtistAward>) to both qbz-models Album and src-tauri api::models Album so /album/get payloads hydrate the field instead of silently dropping it. - Adds awards to QobuzAlbum and AlbumDetail frontend types plus the convertQobuzAlbum adapter. - New album.sidebar i18n keys in all five locales. Card ribbon still shows only the LAST award (Phase 1 behavior); sidebar renders every award as a tap target — mobile-style. cc
This commit is contained in:
10 files changed
+198
-7
No files matched your search
@@ -265,6 +265,9 @@ pub struct Album {
|
||||
/// Album goodies (booklets, liner notes PDFs)
|
||||
#[serde(default)]
|
||||
pub goodies: Option<Vec<Goody>>,
|
||||
/// Editorial awards (Qobuzissime, Album of the Week, press accolades).
|
||||
#[serde(default)]
|
||||
pub awards: Option<Vec<PageArtistAward>>,
|
||||
}
|
||||
|
||||
/// A downloadable extra bundled with an album (e.g. PDF booklet)
|
||||
|
||||
Reference in new issue
Block a user