EnCiv / civil-pursuit

Other
8 stars 9 forks source link

api getUserPostRanksAndTopRankedWhys(discussionId, round, ids, cb{ranks:[rank,...],whys: [point,...]} #208

Open ddfridley opened 2 months ago

ddfridley commented 2 months ago

See https://docs.google.com/spreadsheets/d/1hVsobuGFElsuzuKR0Hx4-htCmAQ-POFkHHt9ZGLcmZY/edit?gid=1364079177#gid=1364079177&range=C33:D33

getUserPostRanksAndTopRankedWhys(discussionId, round, ids, cb{ranks:[rank,...],whys: [point,...]}

points: get top ranked why points for all ids ranks: from rank match user, discussionId, round, stage:post

for getting the top ranked why's use app/socket-api/get-top-ranked-whys

ddfridley commented 6 days ago

@Chenxuan-Liu I see you have created a branch for this and moved it into ready for review, but I don't see a pull request for it. Also can you git fetch and git merge origin/master to get all the latest. Thanks.