playlist header: too many competing actions, delete next to a toggle#615

opened1d agobyMMalek Gara-Hellal

the playlist header has too many actions at the same weight, and the destructive one sits in the middle of them.

where: apps/player/src/pages/detail.tsx playlist header, seen on /playlist/ at 1440 px. in one row: play, shuffle, add to queue, keep offline, a move icon with no label, a "..." menu, a "public" toggle and a trash icon. delete is a bare icon next to the public toggle, one slip away from it. below it two rows of chips that look the same: tag chips (mid-tempo, steady, warm) and sort chips (playlist order, title, artist, album, length), so it is unclear which filter and which sort.

what good looks like: play as the one primary, shuffle and add to queue secondary, everything else (keep offline, move, public, delete) in the "..." menu; delete asks for confirmation (with undo toast); public shown as a state in the header meta ("public" / "private") not a loose toggle; tag filters and sort get different styles and a label ("filter", "sort by"); the "mid-tempo / steady / warm" chips are lower contrast in light mode, check 4.5:1.

the header actions are done in #640: play is the primary action, shuffle, add to queue and keep offline sit next to it, and rename, public or private, the picture, remove cover and a confirmed delete are in one menu. still open from this issue: the tag and sort chip labels and styles, and the contrast of the vibe chips in light mode.