Skip to content

hotfix(prod): social cards, leader claim highlighted in orange (#2382) - #2383

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/og-claim-highlight
Sep 14, 2026
Merged

Flotapponnier merged 1 commit into
mainfrom
hotfix/og-claim-highlight

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #2382 only (7 files: src/lib/og-claim.tsx, citation.ts, bench OG/Twitter/per-chain, report and product cards). Nothing else from dev. Cards are cached 24h on the CDN so the new look rolls out as caches expire.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D

…ort and product cards (#2382)

The OG / Twitter card body was one italic sentence; nothing in it caught
the eye in a feed. The claim now sits on its own line under an orange
marker (#ffb257), with the qualifier in the usual muted italic:

- bench cards (OG, Twitter, per-chain OG): "GNS posts the lowest p/f
  ratio at 1.559x" highlighted, then "(p50, 24h)". The title is no
  longer repeated under the claim.
- report cards: the hero finding's first clause (split at the first
  ", " / ". " / "; " / " - " between 24 and 84 chars) highlighted, the
  remainder within the previous ~140 character budget.
- product cards: "#1 on 11 of 13 benchmarks" (or "N benchmarks
  measured" when no win) highlighted.

headlineSentence() is unchanged in output; it is now built from the new
headlineParts() so the cards and the citation string stay in lockstep.

Claude-Session: https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D

Co-authored-by: Flotapponnier <florent@mobula.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 3a85d8d)
@Flotapponnier
Flotapponnier merged commit 7ea6f97 into main Sep 14, 2026
1 check failed
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