Skip to content

feat(web): add share/viral features with social sharing and referral system#37

Open
szj2ys wants to merge 1 commit intoBIT-DataLab:mainfrom
szj2ys:T0-share-viral-rebased
Open

feat(web): add share/viral features with social sharing and referral system#37
szj2ys wants to merge 1 commit intoBIT-DataLab:mainfrom
szj2ys:T0-share-viral-rebased

Conversation

@szj2ys
Copy link

@szj2ys szj2ys commented Mar 14, 2026

Summary

Add viral growth features including social sharing and referral system to increase organic user acquisition.

Changes

  • Add share types (ShareOptions, ShareChannel, ReferralInfo)
  • Add useShare hook with 6 sharing channels (Twitter, LinkedIn, Facebook, WeChat, Copy, Email)
  • Add useReferral hook with localStorage persistence
  • Add ShareModal component with animated UI
  • Add ReferralBanner component to homepage
  • Integrate share button in upload success state

Test Plan

  • Build passes
  • ShareModal opens from upload success state
  • ReferralBanner displays on homepage
  • Copy link functionality works
  • Social sharing URLs are correctly formatted

🤖 Generated with Claude Code

…system

Add viral growth features including social sharing and referral system
to increase organic user acquisition.

Changes:
- Add share types (ShareOptions, ShareChannel, ReferralInfo)
- Add useShare hook with 6 sharing channels (Twitter, LinkedIn, Facebook,
  WeChat, Copy, Email)
- Add useReferral hook with localStorage persistence
- Add ShareModal component with animated UI
- Add ReferralBanner component to homepage
- Integrate share button in upload success state

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
szj2ys pushed a commit to szj2ys/Edit-Banana-1 that referenced this pull request Mar 14, 2026
Add share functionality and referral system:
- ShareModal component for sharing conversion results
- Referral banner with tracking
- useShare and useReferral hooks
- Share types definition

Resolved: Conflicts with existing HistorySection and ReferralBanner
integration from PR BIT-DataLab#35 by accepting HEAD versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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