Skip to content

Popular / Recent on every category, language and network (0.6.0) - #80

Merged
sh1pt-actions-fleet[bot] merged 1 commit into
masterfrom
feat/recent-sort-per-section
Oct 29, 2026
Merged

sh1pt-actions-fleet[bot] merged 1 commit into
masterfrom
feat/recent-sort-per-section

Conversation

@sh1pt-actions-fleet

Copy link
Copy Markdown
Contributor

Anthony asked for a recent list per section. Until now only the home page had one; every category, language and network page sorted by score only.

  • ?sort=recent on /category/, /language/, /networks/* orders by each show's newest episode. It uses the existing i_new (newest_pubdate DESC) index; the pager keeps the sort. A Popular / Recent switch (SortTabs) sits above each grid.
  • /podcasts gains a Just published grid.
  • Recent lists, including the home page's, skip shows whose newest episode is dated more than a day ahead. Production has 47 future-dated shows, one dated to 2205.
  • Timed read-only on the production DB: religion (56k shows) first page 18 ms, offset 2400 103 ms; small categories 1-3 ms.
  • src/lib/sort.ts + test/sort.test.mjs; bun test test 89 pass, tsc clean.

🤖 Generated with Claude Code

…ork (0.6.0)

?sort=recent orders a section by each show's newest episode (newest_pubdate
index); pagers keep the sort. /podcasts gains a Just published grid. Recent
lists, including the home page's, skip shows dated more than a day ahead:
47 shows are future-dated in production, one to the year 2205.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot merged commit b1889b8 into master Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant