Podcasts shelf: your podcasts as their artwork (#474)

A place beside Up Next listing every feed with audio or video as a grid of
its artwork, with how many episodes are new, as Overcast's home screen
does. It is drawn from the feed list the page already holds; the feed list
gains `podcast`, an EXISTS per subscription over enclosures, which stops at
a podcast's first episode and is one index probe for a feed with no files.
Its cost on production's database is not measured: the EXPLAIN was not run.

The iOS app's generated messages (ios/Sources/Wire) are not regenerated:
there is no protoc here. Nothing in the app reads the new fields, and a
proto3 reader skips a field it does not know.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 14:37:53 +00:00
parent c65b80a06c
commit 1fb1edd6b0
11 changed files with 77 additions and 5 deletions

View File

@@ -43,6 +43,8 @@ interface Feed {
hide_from_signals: boolean;
private: boolean;
private_by_address: boolean;
/** Has an audio or video file: on the Podcasts shelf (#474). */
podcast: boolean;
}
/// An item, in a page of `/api/entries` (db.rs EntryRow).