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

Document multichoice elections #136

Closed
selankon opened this issue Aug 7, 2024 · 4 comments
Closed

Document multichoice elections #136

selankon opened this issue Aug 7, 2024 · 4 comments

Comments

@selankon
Copy link
Collaborator

selankon commented Aug 7, 2024

This are different from the approval ones, and are typed and supported on the sdk and the ui components, but not documented anywhere on the developer portal:

https://developer.vocdoni.io/sdk/integration-details/voting-types

@selankon
Copy link
Collaborator Author

selankon commented Aug 7, 2024

After talk with @elboletaire we agreed on how the voting package have to be interpreted:

image

For this image the resulting voting package is:

[3, 2, 0, 4]: option 3 selected, option 2 selectied, option 0 selected and option 4 selected.

On this case, option 4th is an abstain. Is not shown here but the election accepts abstention that are options added on the election that are not represented on the Ui design

@elboletaire
Copy link
Member

elboletaire commented Aug 7, 2024

It's quite obvious the vote envelope is not always showing the options properly sorted, kindly reminder to sort them when making the new results component :)

@selankon
Copy link
Collaborator Author

selankon commented Aug 7, 2024

When documenting this, take a look to this comment also vocdoni/explorer#91 (comment) to check if is interesting to add this info somehwere on the dev portal.

Provably won't be needed (the vote packages are well documented on each election type)

@elboletaire
Copy link
Member

Superseeded by #140

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

No branches or pull requests

2 participants