Smart playlists (#476)
A playlist is the episodes of the podcasts chosen, those set to play first ahead of the rest, newest or oldest first, unplayed only or all, kept up to date by itself (table `playlists`, /api/playlists). It sits in a folder of its own in the feed list, as Signals do. Played from one, an episode goes on to the playlist's next once Up Next has nothing. The priority ids are written into the ORDER BY, which the page query uses twice, so they are quoted there rather than bound; they are also only ever feed ids this person subscribes to. The folder row first borrowed Signals' `sigs` class, which the tests use to mean Signals' folder; four Signals tests failed until it had its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -724,6 +724,12 @@ body.scan-this .fhead [data-a=scan] .i,body.scan-any .fhead [data-a=scanall] .i,
|
||||
.shelf .show b{font-weight:500;font-size:13px;line-height:1.3;color:var(--fg);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
||||
.shelf .show small{color:var(--dim);font-size:11.5px;min-height:1em;margin-top:-3px}
|
||||
@media (hover:hover){.shelf .show:hover .art{outline:2px solid var(--accent);outline-offset:2px}}
|
||||
/* A playlist's podcasts in its dialog: each one in or out, and whether it plays first. */
|
||||
.plshows{display:flex;flex-direction:column;gap:2px;max-height:min(46vh,360px);overflow:auto;margin-top:4px}
|
||||
.plshow{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:4px 2px}
|
||||
.plshow .art{width:28px;height:28px;font-size:10px}
|
||||
.plshow .check{margin:0;min-width:0}
|
||||
.plshow .first{color:var(--dim);font-size:12.5px}
|
||||
/* Up Next's handle: dragged, it takes the pointer, so the list does not scroll under the finger. */
|
||||
#listening .grip{width:22px;margin-left:-4px;color:var(--faint);cursor:grab;touch-action:none}
|
||||
#listening .grip svg{width:12px;height:12px}
|
||||
|
||||
Reference in New Issue
Block a user