0xStation / proposer

1 stars 0 forks source link

Require Discord connection on the Foxes form #727

Closed kristencheung closed 2 years ago

kristencheung commented 2 years ago

What's included in this pr + description

Duplicated the template form to make a Foxes-specific form. The reason we want a Foxes-specific form is because we are not sure how this pattern is going to scale so we don't want to add Discord to the template form yet prior without thinking how this can be customized. For now this is a one-off partner request.

We always show the discord connection button if the user is not connected. If a user clicks to connect discord, we show the wallet modal. Once the user is connected, they can connect their discord before moving to the next step.

Motivation & Context

Ali from Foxes has asked if there's a way to make Discord handles a required input field on the proposal form so that she has a way to contact the people who are proposing to Foxes. We added Discord connection as a way to guarantee that the person owns the account associated with the Discord handle.

Steps to test

It's actually difficult to test on staging because Discord connection is only a requirement on the Foxes form and you need to own a Foxes NFT ☹️. To test, I just commented out the Foxes NFT requirement and then uncommented the validation.

Screenshots and/or loom video

image

Outstanding issues

Relevant docs

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
web ✅ Ready (Inspect) Visit Preview Oct 28, 2022 at 7:17PM (UTC)