-
Notifications
You must be signed in to change notification settings - Fork 0
feat: custom share message #2
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
WalkthroughThe PR extends the blog post system with a Changes
Sequence DiagramsequenceDiagram
participant Astro Module as Astro Blog Module
participant BlogPostLib as blog-posts.ts
participant Layout as BlogPostLayout
participant Component as SocialShareButtons
Astro Module->>BlogPostLib: frontmatter (with shareMessage)
BlogPostLib->>BlogPostLib: Extract shareMessage
BlogPostLib->>Layout: BlogPost { title, shareMessage, ... }
Layout->>Component: Pass shareMessage prop
Component->>Component: shareText = shareMessage ?? title
Component->>Component: Generate platform URLs with encodedShareText
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
🔇 Additional comments (14)
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 |
Summary by CodeRabbit