fix(reco): full-albums-only + slop filter + taller Recommendation rows
Owner-directed polish after testing the Recommendations tab.
- Full albums only: drop singles/EPs/boxsets/compilations from every album row
(Recommended Albums, Fresh Releases, Deep cuts). Qobuz's `release_type` is the
source of truth ("album" | "single" | "boxset" | "compilation"); when absent,
fall back to tracks_count >= 5. Kills the karaoke single that showed up under
Fresh Releases.
- Slop second layer: reject karaoke / tribute / "made famous by" / "in the style
of" / instrumental-version releases by artist-or-title keyword, applied both
pre-resolution (candidates) and post-resolution (the Qobuz album), so AI-slop
that still wears a full-album shape gets filtered.
- Taller rows in this view only: AlbumCard/ArtistCard/Carousel/ArtistCarousel
grow an overridable `card-height` (defaults unchanged, so Home/Search are
untouched); ExternalRecoView passes 266 to album rows and 256 to artist rows,
whose cards carry the "Similar to…" subtitle (~250px) and were clipping the
Follow chip at the old fixed 220.
cargo check -p qbz green.
cc
This commit is contained in:
7 files changed
+85
-12
No files matched your search
@@ -74,7 +74,9 @@ export component ArtistCarousel inherits VerticalLayout {
|
||||
callback view-all-clicked();
|
||||
|
||||
property <length> card-width: 160px;
|
||||
property <length> card-height: 220px;
|
||||
// Overridable so a host view (Discover Recommendations, whose cards carry a
|
||||
// "Similar to…" subtitle) can give the row a taller viewport + card.
|
||||
in property <length> card-height: 220px;
|
||||
property <length> gap: 16px;
|
||||
|
||||
property <int> count: root.artists.length;
|
||||
@@ -145,6 +147,7 @@ export component ArtistCarousel inherits VerticalLayout {
|
||||
spacing: root.gap;
|
||||
for artist in root.artists: ArtistCard {
|
||||
artist: artist;
|
||||
card-height: root.card-height;
|
||||
follow-mode: root.card-follow-mode;
|
||||
follow-kind: root.card-follow-kind;
|
||||
clicked(id) => {
|
||||
|
||||
Reference in new issue
Block a user