From 0a5cda5189e6e1e1f3af14f575a3a8c560af429c Mon Sep 17 00:00:00 2001 From: BoulderBadgeDad Date: Wed, 3 Jun 2026 18:28:19 -0700 Subject: [PATCH] Discover: promote recommendations to a first-class section + show the 'why' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New 'Recommended For You' carousel section on the Discover page (between the hero and Your Artists), so recommendations aren't buried behind a hero modal button. Reuses the recommended-card markup/CSS, the watchlist add handler, and primes the modal cache so 'View All' opens instantly in sync. - Re-frames the now-stale copy: recommendations are library-wide (the similar- artists worker feeds the whole library), not watchlist-only. - Shows the real explanation from the backend's 'because' field — 'Because you have X & Y' (with a full-list hover tooltip) instead of just a count — in both the section cards, the modal cards, and the hero subtitle. - Cards lazy-enrich their images via the same endpoint the modal uses. --- webui/index.html | 19 +++++ webui/static/discover.js | 151 +++++++++++++++++++++++++++++++++++---- webui/static/style.css | 6 ++ 3 files changed, 164 insertions(+), 12 deletions(-) diff --git a/webui/index.html b/webui/index.html index e9791098..f9d3204c 100644 --- a/webui/index.html +++ b/webui/index.html @@ -3067,6 +3067,25 @@
+ + +