feat(slint): port Awards pages (landing + albums listing + follow)
Port Tauri's AwardView/AwardAlbumsView to Slint: the award landing (hero + acclaimed-releases preview grid + other-awards rail + follow heart), the paginated albums listing with client-side search, and clickable album-sidebar laurels that open the award page (resolving the award id by name when /album/get omits it). - AwardState/AwardActions globals + AwardEntry; AlbumState.awards now carries award ids - award controller (src/award.rs): /award/page hero (never page.releases), /award/getAlbums grid, /award/explore other-awards + name->id resolver; follow via the shared favorite_awards cache (plural-read/singular-write favType, skip-if-remote, login seed) - nav registration: NavEntry::Award/AwardAlbums, ContentView arms, navigate_award/navigate_award_albums, AppShell mounts, app.slint exports - ArtworkTarget::AwardAlbum/AwardOther cc
This commit is contained in:
12 files changed
+1933
-10
No files matched your search
@@ -112,6 +112,21 @@ pub enum NavEntry {
|
||||
id: u64,
|
||||
name: String,
|
||||
},
|
||||
/// AwardView landing — the award detail page (hero + award-winning
|
||||
/// releases preview + "Other awards" carousel + follow heart). Reached
|
||||
/// from an album's sidebar laurel or another award's "Other awards"
|
||||
/// card. Carries the award id (string — Qobuz types it inconsistently)
|
||||
/// + name fallback (history restores the id only; name is best-effort).
|
||||
Award {
|
||||
id: String,
|
||||
name: String,
|
||||
},
|
||||
/// AwardAlbumsView — the "See all" paginated listing reached from the
|
||||
/// AwardView landing. Carries the award id + name fallback.
|
||||
AwardAlbums {
|
||||
id: String,
|
||||
name: String,
|
||||
},
|
||||
/// ArtistsByLocationView — opened by the Origin section's
|
||||
/// location link. Carries the full scene-discovery payload.
|
||||
Location {
|
||||
|
||||
Reference in new issue
Block a user