feat(slint): Label landing page + All Releases sub-view
Port the Tauri LabelView module to native Slint, reusing existing components and extending where needed (no duplication). Landing (new LabelPageView): circular header + description read-more + Follow toggle, sticky JUMP TO bar, Popular Tracks (multi-select, 5->20->50 reveal, Play all), and Releases (+ See all) / Critics' Picks / Playlists / Artists / More Labels carousels. All Releases sub-view (LabelReleasesView): circular header + album count, toolbar (local search, group-by-artist, Hi-Res filter, sort) + grid/list toggle, load-more, states. TYPE column now populated. Split the label route: ContentView::label -> LabelPageView (landing), ContentView::label-releases -> LabelReleasesView; add NavEntry::LabelReleases. label.rs load_label_page parses /label/page + getAlbums + explore + the favorite-labels set; derive_releases re-derives the sub-view list. Reuse Carousel/PlaylistCarousel/ArtistCarousel/TrackRow/AlbumCard/ AlbumListRow/JumpNavBar/QbzSelect/ExpandableSearch; extend ArtistCard/ ArtistCarousel (follow-mode/follow-kind); promote CircleAction to a shared primitive; JumpNavBar gains show-search. Wire label media-actions: follow, play-top, open (more-labels), see-all. cc
This commit is contained in:
13 files changed
+1986
-152
No files matched your search
@@ -57,12 +57,19 @@ pub enum NavEntry {
|
||||
name: String,
|
||||
role: String,
|
||||
},
|
||||
/// LabelReleasesView — opened by the artist network sidebar's
|
||||
/// Labels section. Carries the label id + name fallback.
|
||||
/// LabelView landing — the rich label page (header + popular tracks +
|
||||
/// releases / critics / playlists / artists / more-labels carousels).
|
||||
/// Reached by clicking a label anywhere. Carries the id + name fallback.
|
||||
Label {
|
||||
id: u64,
|
||||
name: String,
|
||||
},
|
||||
/// LabelReleasesView — the "See all releases" sub-view reached from the
|
||||
/// landing's Releases carousel. Carries the label id + name fallback.
|
||||
LabelReleases {
|
||||
id: u64,
|
||||
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