Loading
Add social media share buttons to the profile page (Bluesky, Mastodon, X)
What does this MR do and why?
Adds a social share button to the contributor profile page (surface 1 of #79).
When a contributor views their own profile, a row of share buttons appears below the LevelProgress bar.
The buttons let them share their profile on X, Bluesky, or Mastodon, or copy the link directly. The shared message includes their current level and points.
Related to #79
Screenshots or screen recordings
Validation steps
- Log in and navigate to your own profile (
/users/:username) - Confirm the share buttons appear below the level progress bar
- Click X : verify it opens
x.com/intent/tweetwith the correct text. - Click Bluesky : verify it opens
bsky.app/intent/composewith the correct text - Click Mastodon : verify it opens
share.joinmastodon.orgwith the correct text - Click Copy link : verify the button briefly shows "Copied!" and the clipboard contains the profile URL
- Navigate to another user's profile : confirm the share buttons are not visible
Edited by Salim Zidane