A phone's episode row leaves out the length, keeping one line (#500)

The length under the title gave podcast rows a second line the
articles around them do not have, and looked out of place however it
was aligned. The reader shows it; wider screens keep it in the row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
2026-11-27 17:29:07 -05:00
parent 9e3ffd80c1
commit 19262bd788
3 changed files with 6 additions and 2 deletions

View File

@@ -3292,6 +3292,8 @@ test.describe('on a phone', () => {
await page.locator('#burger').click(); await page.locator('#burger').click();
await page.locator('#feedlist .feed', { hasText: 'Seasoned Show' }).click(); await page.locator('#feedlist .feed', { hasText: 'Seasoned Show' }).click();
await expect(row.locator('.t [role=img][aria-label="Unread"]')).toBeVisible(); await expect(row.locator('.t [role=img][aria-label="Unread"]')).toBeVisible();
// One line like the rest: no length under the title (#500).
await expect(row.locator('.line')).not.toContainText(/\d:\d\d/);
await expect(row.locator('.line [aria-label="Pinned"]')).toBeVisible(); await expect(row.locator('.line [aria-label="Pinned"]')).toBeVisible();
// What is under the title starts where its text does, past the dot, and the date is on the // What is under the title starts where its text does, past the dot, and the date is on the
// title's line, not centred between the two. // title's line, not centred between the two.

View File

@@ -40,7 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- On a phone, the line under an unread episode's title starts where the title does, past its dot, and the date sits on the title's line instead of between the two (#500). - On a phone, an episode's row is one line like the rest: its length, which took a line of its own, is in the reader, and the date sits on the title's line (#500).
- On an iPhone, the reader rebuilds its scrolling each time an item opens, and again after a drag that did not move it, so a freshly opened item scrolls on the first try (#450). - On an iPhone, the reader rebuilds its scrolling each time an item opens, and again after a drag that did not move it, so a freshly opened item scrolls on the first try (#450).
- The count under All Subscriptions counts only its own unread items, not those of feeds hidden from it, so it agrees with the header (#499). - The count under All Subscriptions counts only its own unread items, not those of feeds hidden from it, so it agrees with the header (#499).
- An item without a title is named in bold like the rest of the list, not in regular weight beside them (#498). - An item without a title is named in bold like the rest of the list, not in regular weight beside them (#498).

View File

@@ -202,7 +202,9 @@ function epEl(e: Entry){
// On a phone, where the row has no pin button, what says it is pinned (#484). // On a phone, where the row has no pin button, what says it is pinned (#484).
e.flagged&&`<span class="pinmark" role="img" aria-label="Pinned">${ICON.pinOn}</span>`, e.flagged&&`<span class="pinmark" role="img" aria-label="Pinned">${ICON.pinOn}</span>`,
num&&`<span>${num}</span>`, num&&`<span>${num}</span>`,
left&&`<span>${left}</span>`, // Not on a phone, where it took a second line under a title the others do not have, and
// the reader says it anyway.
left&&!window.matchMedia?.('(max-width:820px)')?.matches&&`<span>${left}</span>`,
others>0&&`<span>+${others} more file${others===1?'':'s'}</span>`, others>0&&`<span>+${others} more file${others===1?'':'s'}</span>`,
enc&&enc.deadair&&enc.deadair>0&&`<span title="DeadAir cut its dead air">${shorter(enc.deadair)}</span>`, enc&&enc.deadair&&enc.deadair>0&&`<span title="DeadAir cut its dead air">${shorter(enc.deadair)}</span>`,
enc&&enc.deadair_pending&&DEAD_PENDING, enc&&enc.deadair_pending&&DEAD_PENDING,