hotfix(prod): social cards, leader claim highlighted in orange (#2382) - #2383
Merged
Merged
Conversation
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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