An item without a title is set in bold like the rest of the list (#498)

The opening words that stand in for a missing title (#116) were set at
weight 400, so an unread list of Scripting News beside other feeds read
as half bold, half not, and looked broken.

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-26 16:19:03 -05:00
parent 9ef9359fe6
commit 38a0d2fc71
3 changed files with 3 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- An item without a title is named in bold like the rest of the list, not in regular weight beside them (#498).
- The X on a playlist's episode marks it played again; it did nothing (#497). - The X on a playlist's episode marks it played again; it did nothing (#497).
- A folder's triangle in the feed list is back on the far left, in a narrower margin than before, with every feed's artwork still in line (#491). - A folder's triangle in the feed list is back on the far left, in a narrower margin than before, with every feed's artwork still in line (#491).
- Opening a podcast or a list draws only the list: the feed list beside it is no longer rebuilt to move its highlight, and dates are written by one formatter rather than one a row, about 40% less work on a phone (#490). - Opening a podcast or a list draws only the list: the feed list beside it is no longer rebuilt to move its highlight, and dates are written by one formatter rather than one a row, about 40% less work on a phone (#490).

View File

@@ -1122,8 +1122,6 @@ body.playing .eq i:nth-child(3){animation-delay:-.6s}
@keyframes eq{from{transform:scaleY(.35)}} @keyframes eq{from{transform:scaleY(.35)}}
@media (hover:hover){.ep .st:hover,.ep .fl:hover{background:var(--raise)}} @media (hover:hover){.ep .st:hover,.ep .fl:hover{background:var(--raise)}}
.ep .t{font-weight:600;font-size:13.5px;display:block;width:100%;padding:0;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .ep .t{font-weight:600;font-size:13.5px;display:block;width:100%;padding:0;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* An item with no title shows its opening words: set as text, not as a heading. */
.ep .t.notitle{font-weight:400}
.ep.read .t{color:var(--dim);font-weight:500} .ep.read .t{color:var(--dim);font-weight:500}
.ep .line{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:var(--faint);font-size:11.5px} .ep .line{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:var(--faint);font-size:11.5px}
.ep .line:empty{display:none} .ep .line:empty{display:none}

View File

@@ -197,7 +197,7 @@ function epEl(e: Entry){
<button class="fl${e.flagged?' on':''}" data-a="flag" aria-pressed="${!!e.flagged}" title="${ <button class="fl${e.flagged?' on':''}" data-a="flag" aria-pressed="${!!e.flagged}" title="${
e.flagged?'Unpin':'Pin, so it is never deleted'}">${e.flagged?ICON.pinOn:ICON.pin}</button> e.flagged?'Unpin':'Pin, so it is never deleted'}">${e.flagged?ICON.pinOn:ICON.pin}</button>
<div class="body"> <div class="body">
<button type="button" class="t${name.derived?' notitle':''}">${e.read?'':'<span class="udot" role="img" aria-label="Unread"></span>'}${esc(name.text)}</button> <button type="button" class="t">${e.read?'':'<span class="udot" role="img" aria-label="Unread"></span>'}${esc(name.text)}</button>
<div class="line">${[ <div class="line">${[
// 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>`,
@@ -275,7 +275,7 @@ const feedName=(id: string|null|undefined): string=>{ const f=S.feeds.find(x=>x.
/// What an item is called. Its title, or for one published without (RSS 2.0 makes it optional, /// What an item is called. Its title, or for one published without (RSS 2.0 makes it optional,
/// and Scripting News titles almost none of its posts) the opening of its text, then its file's /// and Scripting News titles almost none of its posts) the opening of its text, then its file's
/// name, then its feed and date: "(untitled)" fifty times down a list said nothing about any of /// name, then its feed and date: "(untitled)" fifty times down a list said nothing about any of
/// them. `derived` marks a name that is not a title, which the list sets as text, not heading. /// them. `derived` marks a name that is not a title, which the reader does not repeat as its text.
/// Feed HTML as plain words. An inert document: nothing in it loads or runs, where a detached /// Feed HTML as plain words. An inert document: nothing in it loads or runs, where a detached
/// element fetches its images. A line break or paragraph's end is a space, or "2010)<br>Recorded" /// element fetches its images. A line break or paragraph's end is a space, or "2010)<br>Recorded"
/// read "2010)Recorded". /// read "2010)Recorded".