Add social follow modal after downloads#78
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (16)
📝 WalkthroughWalkthroughThe PR introduces a social follow banner component that displays when users click download links, with platform-aware routing: iOS downloads open in the same tab, while other platforms open in new tabs. All download links across landing, documentation, and business pages gain a ChangesDownload Social Banner Feature
Sequence DiagramsequenceDiagram
participant User
participant DownloadLink as Download Link<br/>[data-download-social-trigger]
participant DownloadSocialBanner as Social Banner
participant SocialService as Social Platform<br/>(X/Reddit/Discord/GitHub)
User->>DownloadLink: click to download
DownloadLink->>DownloadSocialBanner: trigger show event
alt platform === 'ios'
DownloadLink->>User: start download (same tab)
else macOS or Windows
DownloadLink->>User: start download (new tab)
end
DownloadSocialBanner->>User: display follow/share banner
User->>DownloadSocialBanner: click social link
DownloadSocialBanner->>SocialService: navigate to platform
User->>DownloadSocialBanner: click close or wait 14s
DownloadSocialBanner->>DownloadSocialBanner: hide banner
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
Summary
Tests
Summary by CodeRabbit
New Features
Localization
Tests