Error message

You need to log in or create an account to access this page.

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.

CommentFileSizeAuthor
#3 unify-vote-types-2962536-3.patch34.34 KBkevin.dutra

Comments

kevin.dutra created an issue. See original summary.

kevin.dutra’s picture

kevin.dutra’s picture

Status: Active » Needs review
StatusFileSize
new34.34 KB

  • kevin.dutra committed 630e055 on 8.x-1.x
    Issue #2962536 by kevin.dutra: Unify vote types
    
kevin.dutra’s picture

Status: Needs review » Fixed
kevin.dutra’s picture

Status: Fixed » Closed (fixed)