mento-protocol / governance-ui

An open source interface for the Mento protocol governance
https://governance.mento.org
0 stars 1 forks source link

Feat: voting on proposals #69

Closed denviljclarke closed 7 months ago

denviljclarke commented 8 months ago

Description

This PR completes the voting component on the proposal page. It adds the functionality to:

I added a bit more information to the transaction in progress screen and an icon to the transaction submit success & transaction confirm states.

For reviewers: Ping me or @chapati23 for the pk to the dev wallet as it already has locked MENTO on alfajores which is needed to vote.

Other changes

Tested

Ran the locally and ensured voting was working and the voting component displayed the correct view based on the different states of the proposal and the users 'hasVoted' status

Related issues

vercel[bot] commented 8 months ago

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

Name Status Preview Comments Updated (UTC)
governance-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 5:27pm
denviljclarke commented 7 months ago

looks good, thanks for addressing all the comments, I know it was a lot!

just one last issue I found, probably merge conflict, there's a missing border on the cast-vote component when the proposal is already over:

image

🫡 & Thanks, just fixed this. It was lost in the refactor.