Skip to content

social cards: leader claim highlighted in orange (bench, report, product cards) - #2382

Merged
Flotapponnier merged 1 commit into
devfrom
feat/og-claim-highlight
Sep 14, 2026
Merged

Flotapponnier merged 1 commit into
devfrom
feat/og-claim-highlight

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Asked by Florent: a highlighted fragment on the share cards so the key fact catches the eye in a feed.

  • Bench cards (OG, Twitter, per-chain OG): the claim GNS posts the lowest p/f ratio at 1.559x on an orange marker, (p50, 24h) under it; the title is no longer repeated in the body.
  • Report cards: first clause of the hero finding highlighted (splitLead, boundary between 24 and 84 chars), remainder within the previous ~140 char budget.
  • Product cards: #1 on 11 of 13 benchmarks highlighted (falls back to N benchmarks measured).
  • headlineSentence() output unchanged, now composed from headlineParts(); citation tests pass. Rendered locally for bench 265, ethereum-rpc, the Robinhood Chain report and /products/gains.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D

…ort and product cards

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.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D
@Flotapponnier
Flotapponnier merged commit 3a85d8d into dev Sep 14, 2026
1 check failed
Flotapponnier added a commit that referenced this pull request Sep 14, 2026
…ort and product cards (#2382) (#2383)

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



(cherry picked from commit 3a85d8d)

Co-authored-by: Flotapponnier <florent@mobula.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

2 participants