Summary
Currently, there are multiple vote types defined for what amount to one vote type. For instance, we have an "up" type and a "down" type rather than an "updown" type. This leads to certain inefficiencies, like having to manually calculate the total/net votes for an entity by getting the total up votes and total down votes and then doing math. The Voting API does this out of the box if you define one "updown" type that has positive and negative votes. (It already calculates total and net within a vote type.)
Proposed solution
Reduce the vote types to just "updown" and "fivestar", with the values of the votes being the differentiator.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | unify-vote-types-2962536-3.patch | 34.34 KB | kevin.dutra |
Comments
Comment #2
kevin.dutra commentedComment #3
kevin.dutra commentedComment #5
kevin.dutra commentedComment #6
kevin.dutra commented