gitcoinco / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
936 stars 449 forks source link

Social Sharing and DM Copy Invitation Feature with Dynamic Address Insertion #2292

Closed erichfi closed 2 months ago

erichfi commented 4 months ago

User Story:

As a user of the Identity Staking v2 app, I want to easily share an invitation link to stake on me via a "copy" option, which automatically includes my unique address in the URL, So that I can invite others to support me directly through social platforms or direct messages, simplifying the process for them to stake on me.

Acceptance Criteria

GIVEN I am on my profile or a specific section designed for sharing within the Identity Staking v2 app, WHEN I click on the "copy" option, THEN a predefined message including a link to stake on me is copied to my clipboard. This link must dynamically include my unique address (e.g., stake.passport.xyz/[MyAddress]), ensuring friends or followers who open the link are directed to the "Stake for Others" section with my address pre-filled, even after signing in.

Product & Design Links:

https://www.figma.com/file/FOOlLEFaBt87atw6CPkA5P/Passport-App?type=design&node-id=5159-7049&mode=design (share with friends)

Tech Details:

Open Questions:

What is the most efficient method to ensure the shared link persists through the sign-in process and correctly populates the "Stake for Others" widget?

Notes/Assumptions:

nutrina commented 3 months ago

@erichfi do we have a design for this?

lucianHymer commented 2 months ago

Note to self: update favicon