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

Multiple party types / multi-vote elections #42

Open
15 tasks
tillsanders opened this issue May 25, 2021 · 0 comments
Open
15 tasks

Multiple party types / multi-vote elections #42

tillsanders opened this issue May 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@tillsanders
Copy link
Collaborator

More often than not, multiple elections take place at the same time or voters have multiple voices in the same election (e.g. one for a party and one for a candidate). In cases where those "types" can be asked the same questions, it makes sense to consolidate them in the same election compass. Otherwise users would have to either a) use two election compasses with the same questions or b) receive results of mixed types. To improve this situation, party "types" should be introduced.

Implementation

  • Add party types as a top-level configuration option besides parties, theses, etc.
    • Types should have a singular, a plural and an alias (slug)
    • Types should be optional
  • Add support for types to the configuration editor
    • It should be possible to add multiple types, before adding parties
    • If there are any types set, a party needs to have a type
  • Document the changes to the configuration file format
  • Add support for types in the client
    • The party store should store types
    • The party store should return a list of parties by type
    • The party section should show parties by type, if any
    • The party section should allow selection of all parties of a given type
    • The match section should display results by type, if any
    • The match section should display positions by type, if any
    • The match section should only display the positions of the first X parties by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant