-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Weighted voting UI #10858
base: develop
Are you sure you want to change the base?
feat: Weighted voting UI #10858
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
28b88b0
to
e4de362
Compare
7f32c08
to
13d7ffd
Compare
PR-Codex overview
This PR focuses on enhancing the voting system by introducing new vote types, updating interfaces, and improving the UI for casting and displaying votes, particularly for single-choice and weighted voting proposals.
Detailed summary
SingleVoteState
andWeightedVoteState
interfaces.ProposalTypeName
enum for vote types.Proposal
interface to includetype
,scores
, andscores_total
.CastVoteModal
to handle different vote types.SingleVote
andWeightedVote
components for respective voting methods.VoteRow
to display vote percentages for weighted votes.