Open alfetopito opened 2 years ago
Hey @alfetopito and @ramirotw here are some designs for desktop view (I've in progress the mobile version). Notes: If a user has a ENS domain, it will appear selected by default in the dropdown. Open:
Referral code with Address:
Looks good to me.
Final check by @biocom
Minor comment: The dropdown menu, background could use a better contrasting color, to make it stand out from the container color below.
Thanks for the feedback!
Here is the design for mobile. (I was wondering if it is necessary to apply a short version of the address, e.g., 0x699....ba4f)
cc @alfetopito @biocom
@alongoni I like it, and I also like the idea of shortening the address on smaller screens
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you think it shouldn't be closed, speak now or forever hold your peace.
@alfetopito just wanted to confirm if this is still needed.
Yes, let's finish this one 👍
related to #1575
Summary
Allow users to share and load affiliate links with ENS as well as ethereum addresses.
Example:
https://cowswap.exchange/?referral=macb.eth
This has two parts:
Interface will try to de-refence that into an address and use that if successful. If not, let user know the affiliate is invalid
Interface will search for ENS domains for connected address and let user know they can be used. Behaviour to be defined as part of the task
hey @alfetopito , I have just realized that we can have ENS names instead of wallet addresses in the referral URLs. So, my question is: will the app be able to validate this when sharing a referral link with an ENS name in the URL? If yes, we should include ENS name validation into the current task along with wallet address validation rules.
Originally posted by @elena-zh in https://github.com/gnosis/cowswap/issues/1570#issuecomment-948454202