F4IF / ctree-demo

Collaboration Tree - A community discussion platform built for maximum insight with minimum oversight.
http://demo.ctree.org
Other
37 stars 21 forks source link

Add up/down vote element dialog item #69

Closed CSchmitz81 closed 5 years ago

CSchmitz81 commented 5 years ago

Since the feedback bar is being removed from the MVP branch, we need to add an item to the list with up/down vote buttons. These buttons should report to the cTree when they've been pressed. When a button is clicked it changes color to represent the selection. The button can be clicked again to toggle it off, or the opposite button can be clicked, which will toggle off the other button. Up/down votes should be added as appropriate. Once the dialog is closed and reopened the vote buttons are reset, because there's no account associated with the user to keep track of their votes.

CSchmitz81 commented 5 years ago

Much of this has been implemented as part of #72. This mostly just needs a new item with up/down vote and to tie that up to the rating of the element itself.

CSchmitz81 commented 5 years ago

merged #92