« first day (63 days earlier)      last day (571 days later) » 

04:05
I am going to try to make the voting frontend now
 
1 hour later…
05:23
@Mego is it OK if I change to vote API to take JSON
Anonymous
05:46
@Downgoat Should be fine
Anonymous
I'll update the site soon
06:07
@Mego btw is it possible to return vote breakdowns in the endpoints? e.g. { vote: 1, upvotes: 1, downvotes: -1 }
Anonymous
@Downgoat Pretty easily
06:49
crap I upvoted one post and API things I upvoted all >_<
|       5 |        58 |    1 |
|       5 |        59 |    1 |
|       5 |        60 |    1 |
|       5 |        81 |    1 |
|       5 |        82 |    1 |
huh..
 
1 hour later…
08:00
^ fancy upvote icons
I left them seperate since in the future we're probably going to move to the categorical voting system
ono test are fail
ok I'll fix tomorrow
 
9 hours later…
16:55
@Mego why are all the tests failing with TypeError: 'dict' object is not callable for the line self.client.get(f"/votes/post/{self.test_post.id}")? travis-ci.org/PPCG-v2/PPCG-v2/builds/326085242#L595
 
7 hours later…
Anonymous
23:40
@Downgoat I think the actual error is getting masked behind the testing stuff. Also, breakdowns should be a part of the response for vote totals, not for individual user votes.
Anonymous
@Downgoat This is not correct. It expects a dict as data, not a JSON object.

« first day (63 days earlier)      last day (571 days later) »