A podcast told in seasons can be listed one season at a time (#482)

GET /api/feeds/{id}/seasons counts a podcast's episodes and unread by
season, from the same FROM as its list, so a count is what picking it
shows; season= on its entries narrows the list to one, or to the
episodes naming none. The page puts the seasons under the tabs, as the
tabs' own track, when a podcast is told in them: two or more, holding
most of its episodes. That leaves out Ken and Robin, whose "seasons" are
years on a quarter of 767 episodes, and The Vintage RPG Podcast's 2 of
366. Listed all together by date, a heading marks where each season
starts.

A fixture podcast in seasons is in the browser suite, which now
configures six feeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVAJFkEgz9cXG3jG1Zy
This commit is contained in:
2026-11-19 09:04:57 -05:00
parent 9ece0ff17c
commit a57820a078
17 changed files with 329 additions and 22 deletions

View File

@@ -989,6 +989,13 @@ kbd{font:inherit;font-size:12px;color:var(--fg);background:var(--panel2);border:
.tabs button.on{background:var(--raise);color:var(--fg);font-weight:500}
.tabs a{padding:5px 12px;border-radius:7px;font-size:13px;color:var(--dim);text-decoration:none}
.tabs a.on{background:var(--raise);color:var(--fg);font-weight:500}
/* A podcast's seasons (#482): the tabs' track, scrolled sideways when there are more than fit. */
.tabs.seasons{max-width:100%;overflow-x:auto;scrollbar-width:none}
.tabs.seasons::-webkit-scrollbar{display:none}
.tabs.seasons button{white-space:nowrap;flex:none}
/* Where a season starts in the list of every season. */
.sdiv{padding:14px 8px 5px;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--dim);border-bottom:1px solid var(--line)}
.sdiv:first-child{padding-top:4px}
/* ---------- the admin page (admin.html) ---------- */
/* One column that scrolls under the same header, rather than the app's fixed panes. */
@@ -1539,6 +1546,8 @@ body:has(#player.on) #status{padding-bottom:3px}
.tabs{flex:1 1 100%;border-radius:10px;padding:2px}
.tabs button,.tabs a{flex:1;text-align:center;padding:7px 4px;border-radius:8px;font-size:14px}
.tabs button.on,.tabs a.on{box-shadow:0 1px 3px rgba(0,0,0,.22)}
/* Seasons keep their own widths, scrolling past the edge, rather than squeezing eight into 390px. */
.tabs.seasons button{flex:none;padding:7px 12px}
/* Rows: taller, larger type, and a hairline between them that starts where the text does. */
.ep{padding:10px 8px;border-radius:10px;min-height:44px}