diff --git a/discover-rows.png b/discover-rows.png new file mode 100644 index 0000000..4322319 Binary files /dev/null and b/discover-rows.png differ diff --git a/web/src/app/discover/discover-client.tsx b/web/src/app/discover/discover-client.tsx index 46012ba..2a97086 100644 --- a/web/src/app/discover/discover-client.tsx +++ b/web/src/app/discover/discover-client.tsx @@ -36,6 +36,12 @@ function similarTo(seeds: string[]): string | null { return `Similar to ${shown}${extra > 0 ? ` +${extra} more` : ""}`; } +/** Full-length albums only — hide singles/EPs and secondary-type releases (live/comp) that + * pre-date the albums-only derivation and still linger in the DB. */ +function isFullAlbum(a: Album): boolean { + return (a.primaryType ?? "Album") === "Album" && (a.secondaryTypes?.length ?? 0) === 0; +} + /** Human badge for why an album is surfaced. */ function badgeFor(reason: string | null): string | null { if (reason === "newest") return "Newest"; @@ -214,7 +220,9 @@ export function DiscoverClient() {
No suggestions yet — run Discover, or follow a few artists to seed it.