Skip to content

The feed page heading, which the title polish missed - #160

Merged
ralyodio merged 1 commit into
mainfrom
social-title
Aug 29, 2026
Merged

The feed page heading, which the title polish missed#160
ralyodio merged 1 commit into
mainfrom
social-title

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

#159 gave a social row its canonical name in the RSS channel title and in the page metadata, and left the thing a reader actually looks at — the <h1> — saying "reddit.com".

I caught it verifying #159 in production, not before merging it.

Cause

One line away from the change: FEED_COLS does not select social_ref, so feedBySlug has never returned it and the feed page could not tell a social row from any other. The RSS path worked only because it goes through feedBySocialRef, which is select *.

So the social columns join FEED_COLS, and the page uses them.

A side effect worth naming: both addresses for a row now agree. /r/programming and /r-programming render the same name, which they did not before — only one of them knew what it was holding.

Verified, not inspected

Against a seeded database with a row titled reddit.com, exactly as the OPML import leaves them:

Surface Before After
/r/programming <h1> reddit.com r/programming
/r-programming <h1> reddit.com r/programming
<title> reddit.com r/programming
.rss channel title r/programming r/programming

1,345 tests green, build clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q6QEgpuS4MLamogXtr2ZX6

#159 gave a social row its canonical name in the RSS channel title and in
the page metadata, and left the thing a reader actually looks at — the
<h1> — saying "reddit.com".

The cause was one line away from the change: `FEED_COLS` does not select
`social_ref`, so `feedBySlug` has never returned it and the feed page
could not tell a social row from any other. The RSS path worked only
because it goes through `feedBySocialRef`, which is `select *`.

So the columns join FEED_COLS, and the page uses them. Both addresses for
a row now agree — /r/programming and /r-programming show the same name —
which they did not before, since only one of them knew what it was
holding.

Verified against a seeded database rather than by reading: a row titled
"reddit.com", exactly as the OPML import leaves them, now renders
"r/programming" in the heading, the <title> and the feed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q6QEgpuS4MLamogXtr2ZX6
@ralyodio
ralyodio merged commit f1c9471 into main Aug 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