Desktop: replace the global "Shuffle suggestions" button with a per-shelf refresh #18

Open
opened 2026-08-18 05:54:00 +00:00 by logan · 0 comments
Collaborator

Report

"Shuffle suggestions" on the home page reshuffles things that are below the fold, so pressing it looks like it does nothing. Each suggestion shelf should have its own refresh instead.

Findings

frontend/src/components/home-view/home-view.ts ~lines 264-277: one "Shuffle suggestions" button for the whole page. The comment there already notes the naming collision with the transport's shuffle mode.

Direction

Move the control into each shelf's header as a refresh/reroll button acting on that shelf only. Backend side, backend/home's shelf queries return album ids per shelf, so a per-shelf refetch is natural. Keep the existing rules: a shelf with nothing behind it is omitted, and a shelf that repeats the one above it is dropped — a reroll must re-run the duplicate guard, or refreshing one shelf can make it a copy of its neighbour.

Related (Android): the "Never played" shelf changing on every home visit — a shelf should only change when asked, or on a fresh start.

**Report** "Shuffle suggestions" on the home page reshuffles things that are below the fold, so pressing it looks like it does nothing. Each suggestion shelf should have its own refresh instead. **Findings** `frontend/src/components/home-view/home-view.ts` ~lines 264-277: one "Shuffle suggestions" button for the whole page. The comment there already notes the naming collision with the transport's shuffle mode. **Direction** Move the control into each shelf's header as a refresh/reroll button acting on that shelf only. Backend side, `backend/home`'s shelf queries return album ids per shelf, so a per-shelf refetch is natural. Keep the existing rules: a shelf with nothing behind it is omitted, and a shelf that repeats the one above it is dropped — a reroll must re-run the duplicate guard, or refreshing one shelf can make it a copy of its neighbour. Related (Android): the "Never played" shelf changing on every home visit — a shelf should only change when asked, or on a fresh start.
logan added a new dependency 2026-08-18 14:37:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: yonlu/yellowjacket#18