Skip to content

feat(storybook): Open Graph share-preview review & recommendations#6232

Open
tsahimatsliah wants to merge 1 commit into
mainfrom
claude/brave-poitras-c782c4
Open

feat(storybook): Open Graph share-preview review & recommendations#6232
tsahimatsliah wants to merge 1 commit into
mainfrom
claude/brave-poitras-c782c4

Conversation

@tsahimatsliah

@tsahimatsliah tsahimatsliah commented Jun 22, 2026

Copy link
Copy Markdown
Member

Changes

Adds a new Open Graph Storybook section that audits daily.dev's outbound link previews across every share surface and proposes a unified, on-brand recommended template ("Layout A"). Engineering-ready version of the design mock-up in #6231.

  • Current vs Recommended for each share type — article, shared post, profile/DevCard, squad, squad invite, source, tag, comment, referral, Plus, homepage.
  • The Current column renders the real images daily.dev serves today (raw, not re-created). The Recommended column renders the Layout A cover for the same real entity so the before/after is apples-to-apples.
  • Single source of truth in cover.tsx (Layout A atoms + OgCover); RecommendedOg in dailyOgImages.tsx is the adapter every page consumes.
  • Supporting pages: current previews across 7 platforms with a meta-tag inspector, guidelines & research, an X (Twitter) deep dive, a Satori template spec, a benchmark of how the best platforms unfurl, and a link copy/metadata page.

What changed vs the mock-up (#6231)

  • Dropped the exploratory "Recognizable Covers" direction-picking page and its dead code (coverDna.tsx, the standalone Cover/Source/Headline/ArtBox atoms, unused color constants, OgFrame).
  • Fixed the stale Overview table of contents and page numbering.
  • Refactored nested ternaries into a shared helper; prettier + eslint clean.

Docs/review only — no app/runtime code paths are touched (Storybook stories under packages/storybook plus one preview.tsx sidebar entry).

Events

No new tracking events.

Experiment

No new experiments.

Manual Testing

Storybook-only change. pnpm --filter storybook build succeeds, the strict typecheck guard passes for changed files, and eslint is clean across the section.

🤖 Generated with Claude Code

Preview domain

https://claude-brave-poitras-c782c4.preview.app.daily.dev

Adds an "Open Graph" Storybook section auditing daily.dev's outbound link
previews across every share surface (article, shared post, profile/DevCard,
squad, squad invite, source, tag, comment, referral, Plus, homepage) and
proposing a unified "Layout A" recommended template.

- The current column renders the real images daily.dev serves today; the
  recommended column renders the Layout A cover for the same real entity so
  the before/after is apples-to-apples.
- Single source of truth in cover.tsx (Layout A atoms + OgCover); RecommendedOg
  in dailyOgImages.tsx is the adapter every page consumes.
- Includes guidelines/research, an X (Twitter) deep dive, a Satori template
  spec, a benchmark of how the best platforms unfurl, and a link copy/metadata
  page.

Docs/review only — Storybook stories plus one preview.tsx sidebar entry; no
app/runtime code paths are touched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jun 22, 2026 10:04am
storybook Building Building Preview Jun 22, 2026 10:04am

Request Review

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