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
@@ -84,9 +84,13 @@ export component AlbumCard inherits Rectangle {
|
||||
// kind ("album") , album id, action ("play" | "queue" | "favorite").
|
||||
callback media-action(string, string, string);
|
||||
|
||||
// Fully deterministic height: artwork 200 + 6 spacer + 40 meta.
|
||||
// Deterministic height: artwork 200 + 6 spacer + 40 meta = 246. Overridable
|
||||
// per-context (Discover Recommendations gives the row extra breathing room
|
||||
// so the meta line never clips); the VerticalLayout is `alignment: start`,
|
||||
// so any extra height is quiet air below the card, not stretched content.
|
||||
in property <length> card-height: 246px;
|
||||
width: 200px;
|
||||
height: 246px;
|
||||
height: root.card-height;
|
||||
|
||||
// The overlay stays up while the pointer is anywhere over the artwork
|
||||
// OR over one of its buttons. A child button steals `has-hover` from
|
||||
|
||||
Reference in new issue
Block a user