OpenVAA / voting-advice-application

An open-source platform for creating Voting Advice Applications (VAAs)
https://demo.openvaa.org/
GNU General Public License v3.0
8 stars 0 forks source link

feat: convert Candidate App to generic Electable Entity App #574

Open kaljarv opened 6 days ago

kaljarv commented 6 days ago

Convert the Candidate App to a more generic Electable Entity App, which can be used at first by Parties as well and in the future by Factions and Electoral Alliances.

In most respects, all Electable Entities are very similar, i.e. they have a small number of properties and may have Answers. The other entity types differ from Candidates in that they may also have other entities as members members:

flowchart TD

EA[Electoral Alliance] --> P[Party]
P --> F[Faction]
P --> C[Candidate]
F --> C