Repository navigation
fix(web): include site name in social metadata across all pages - #77
Conversation
|
Warning Review limit reachedNext included review available in 41 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (28)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Preview deployed!
This is a Cloudflare Workers preview version of this PR's build. |
Summary
Social cards were missing
og:site_namewherever page-level Open Graph metadata replaced the root layout defaults. Add the sharedSITE_NAME(Agent Relay) to every custom Open Graph definition, including marketing pages, blog posts, documentation, and agent pages. The root layout also uses this constant for pages that inherit its metadata.Validation
web/appandweb/libuse the importedSITE_NAMEconstant..nextand.open-nextbuild files.git diff --checkpassed.Note
Low Risk
Metadata-only Open Graph field additions with no runtime or auth logic changes.
Overview
Page-level Next.js metadata was defining custom
openGraphblocks withoutsiteName, which droppedog:site_nameon shared links. This change addssiteName: SITE_NAME(fromweb/lib/site) to every page that sets its own Open Graph fields—marketing, blog, docs, agents, skills, and product landings—and switches the rootlayout.tsxdefault from a hardcoded'Agent Relay'string to the same constant.Behavior for titles, descriptions, and images is unchanged; social previews should now consistently show the site label alongside page-specific Open Graph data.
Reviewed by Cursor Bugbot for commit d5a795d. Bugbot is set up for automated code reviews on this repo. Configure here.