-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(web): add blog section with 4 initial posts #11127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Implements MKT-66 through MKT-74: Content Layer (MKT-67): - Markdown files in src/content/blog with Zod-validated frontmatter - Pacific Time scheduling evaluated at request-time (no deploy needed) - gray-matter for parsing, react-markdown + remark-gfm for rendering Blog Pages (MKT-68, MKT-69): - Index page at /blog with dynamic SSR - Post page at /blog/[slug] with dynamic SSR - Breadcrumb navigation and prev/next post navigation SEO (MKT-70): - Full OpenGraph and Twitter card metadata - Schema.org JSON-LD (Article, BreadcrumbList, CollectionPage) - Canonical URLs pointing to roocode.com/blog Analytics (MKT-74): - PostHog blog_post_viewed and blog_index_viewed events - Referrer tracking for attribution Navigation (MKT-72): - Updated nav-bar and footer to link to internal /blog - Blog link in Resources dropdown Sitemap (MKT-71): - Dynamic blog paths with PT scheduling check Initial Posts: - PRDs Are Becoming Artifacts of the Past (Jan 12) - Code Review Got Faster, Not Easier (Jan 19) - Vibe Coders Build and Rebuild (Jan 26) - Async Agents Change the Speed vs Quality Calculus (Feb 2)
Review complete. No issues found. The blog section implementation is well-structured with proper Pacific Time scheduling, dynamic SSR for request-time publish gating, comprehensive SEO metadata, and clean PostHog analytics integration. The test updates in Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
|
🚀 Preview deployed! Your changes have been deployed to Vercel: Preview URL: https://roo-code-website-5vf5mlfro-roo-code.vercel.app This preview will be updated automatically when you push new commits to this PR. |
|
@roomote fix the failing test |
Fixed the failing test. The |
The HistoryPreview component was refactored to use useGroupedTasks and TaskGroupItem instead of rendering TaskItem directly. This updates the test file to properly mock the new dependencies: - Mock useGroupedTasks hook to provide grouped task data - Mock TaskGroupItem instead of TaskItem - Update assertions to test for task groups instead of individual tasks
Implements MKT-66 through MKT-74 for the blog section on roocode.com/blog.
Summary
Adds a complete blog section with:
Initial Posts (4 total)
Implementation Details
Content Layer (MKT-67):
src/content/blog/with Zod-validated frontmatterBlog Pages (MKT-68, MKT-69):
force-dynamic,runtime: nodejs)SEO (MKT-70):
Analytics (MKT-74):
blog_post_viewedandblog_index_viewedeventsNavigation (MKT-72):
Sitemap (MKT-71):
Testing
Files Changed
Important
Adds a dynamic blog section with initial posts, SEO, analytics, and navigation integration to the website.
/blogand/blog/[slug]pages inpage.tsxand[slug]/page.tsx.src/content/blog/with Zod-validated frontmatter.nav-bar.tsxandfooter.tsxto include blog links.next-sitemap.config.cjs.This description was created by
for 85736c8. You can customize this summary. It will automatically update as commits are pushed.