Skip to content

Add a share button to the creator profile page copying the profile URL to the clipboard #724

Description

@Chucks1093

Summary

Users have no quick way to share a creator's profile. A share button that copies the full profile URL to the clipboard and shows a brief 'Copied!' confirmation would make it easy to send profiles via chat or social media.

Scope

  • Add a share icon button to the creator profile header
  • On click, copy the full profile URL to the clipboard using the Clipboard API
  • Replace the icon with a 'Copied!' label for 2 seconds, then revert to the icon
  • Fall back to a window.prompt with the URL pre-filled if the Clipboard API is not available
  • Do not show the share button when running in a context where window is undefined (SSR safety)

Acceptance Criteria

  • Profile URL copied to clipboard on button click
  • 'Copied!' feedback shown for 2 seconds then reverts
  • Fallback prompt shown when Clipboard API unavailable
  • Button not rendered in SSR context
  • Copied URL navigates to the correct creator profile when opened

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions