Skip to content

Multiple party types / multi-vote elections #42

Description

@tillsanders

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions