HomeKitty icon indicating copy to clipboard operation
HomeKitty copied to clipboard

Create voting system

Open BalestraPatrick opened this issue 6 years ago • 0 comments

We would like to add a voting system to each accessory, obviously based on emoji. It could look like the following. There are two buttons: 👍 and 👎 .

We could just create two new columns in the Accessory table to represent the 👍 and 👎 count. The only tricky part would be to avoid people spamming. Once a user votes, we can save a cookie in the browser to note which accessory (and which emoji the user chose). In this way, if the user already voted, we don't update the count. Anyone who would like to take on this task? 😄 31405883-9f65b0d6-adff-11e7-9d47-4aa68f0dc4a0

BalestraPatrick avatar Oct 29 '17 21:10 BalestraPatrick