Skip to content

fix(og): title generated cards with the page title, not meta_title#723

Merged
NagariaHussain merged 1 commit into
developfrom
fix/og-card-uses-doc-title
Jul 26, 2026
Merged

fix(og): title generated cards with the page title, not meta_title#723
NagariaHussain merged 1 commit into
developfrom
fix/og-card-uses-doc-title

Conversation

@NagariaHussain

Copy link
Copy Markdown
Member

Problem

The auto-generated OG card titled itself with meta_title or title. meta_title is SEO copy written for the search-result snippet — usually keyword-padded and suffixed with a site name — so the card read wrong as a visual label for the page.

Solution

  • Card title is now the page's own title.
  • Space logo grown from 100px to 132px, so it holds its weight at feed scale.
  • TEMPLATE_VERSION bumped to 4 — it is a fingerprint input, so every cached card invalidates itself. No manual purge needed.

Unit test added (test_card_title_ignores_meta_title), verified against a temp revert of the fix.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Dn1ETNV7ufoM8xA6FCLnnE

meta_title is SEO copy for the search-result snippet, often keyword-padded
and suffixed with a site name; the card is a visual label for the page you
are about to open. Also grows the space logo from 100px to 132px so it
holds its weight at feed scale, and bumps TEMPLATE_VERSION to invalidate
every cached card.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dn1ETNV7ufoM8xA6FCLnnE
@greptile-apps

greptile-apps Bot commented Jul 26, 2026

Copy link
Copy Markdown

Confidence Score: 5/5

The PR appears safe to merge.

The title remains mandatory on every production path, and the template change is covered by cache invalidation with no concrete failure identified.

Reviews (1): Last reviewed commit: "fix(og): title the card with the page ti..." | Re-trigger Greptile

@NagariaHussain
NagariaHussain merged commit cdbedc2 into develop Jul 26, 2026
10 checks passed
@NagariaHussain
NagariaHussain deleted the fix/og-card-uses-doc-title branch July 26, 2026 08:01
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