Skip to content
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

Implement vote package component #91

Closed
2 tasks done
Tracked by #65
selankon opened this issue Aug 7, 2024 · 1 comment · Fixed by #94
Closed
2 tasks done
Tracked by #65

Implement vote package component #91

selankon opened this issue Aug 7, 2024 · 1 comment · Fixed by #94
Assignees

Comments

@selankon
Copy link
Collaborator

selankon commented Aug 7, 2024

Use a better visualization for vote package:

  • On the vote transaction details, show the vote package {"votes":[1]} not in raw format but some more human friendly format.
  • This above is a nice feature to have on the verify vote page
@selankon selankon self-assigned this Aug 7, 2024
@selankon selankon mentioned this issue Aug 7, 2024
18 tasks
@selankon
Copy link
Collaborator Author

selankon commented Aug 7, 2024

Example of vote packages for different election types:

  • Multichoice election {"nonce":"da9aba06ceebf065","votes":[3,0,4,5]}: meaning option 3 selected, option 0 selected, option 4 selected and option 5 selected
  • Approval {"nonce":"67ae8c35bf24ee3a","votes":[0,1,1,1]}, option 0 votes 0, options 1, 2 and 3: 1 vote
  • Single choice election {"nonce":"7f25c7cf554b66dc","votes":[3]}, option 3
  • Multiple question election {"nonce":"7698a4b809af7bad","votes":[3,1]}, first quest. option 3, second quest. option 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant