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:
@@ -462,6 +462,19 @@ test('Up Next lines episodes up, moves them, and plays the next when one ends (#
|
||||
await page.evaluate(() => api('/api/entries/test-show/ui-2/position', { method: 'POST', body: JSON.stringify({ secs: 0 }) }));
|
||||
});
|
||||
|
||||
test('the Podcasts shelf shows the feeds with episodes, as their artwork, and opens one (#474)', async ({ page }) => {
|
||||
await page.locator('#feedlist .place', { hasText: 'Podcasts' }).click();
|
||||
const shows = page.locator('#content .shelf .show');
|
||||
await expect(shows.filter({ hasText: 'Test Show' })).toBeVisible();
|
||||
// A blog of pictures has files, and no episodes.
|
||||
await expect(shows.filter({ hasText: 'Picture Blog' })).toHaveCount(0);
|
||||
await page.locator('#epSearch').fill('multi');
|
||||
await expect(shows).toHaveText([/Multi Show/]);
|
||||
await page.locator('#epSearch').fill('');
|
||||
await shows.filter({ hasText: 'Test Show' }).click();
|
||||
await expect(page.locator('#eps .ep', { hasText: 'First Episode' })).toBeVisible();
|
||||
});
|
||||
|
||||
test('a player nobody has played since it last saved does not save again', async ({ page }) => {
|
||||
// A tab left paused at 41:15 saved that as it reloaded, over the 32:48 another had reached,
|
||||
// and the episode dropped out of Currently Listening. The fixture audio does not decode, so
|
||||
|
||||
Reference in New Issue
Block a user