KWoC-Backend icon indicating copy to clipboard operation
KWoC-Backend copied to clipboard

Add Public Mentor Statistics Endpoint

Open snowden-fu opened this issue 1 year ago • 6 comments

like stats_student.go, stats_mentor.go is also required, matching frontend task mentor_stats page, each mentor's total PRs, total commits, total lines changed, and total number of projects should be returned.

snowden-fu avatar Dec 22 '23 08:12 snowden-fu

Thank you for your suggestion @snowden-fu! Could you also list the statistics that could be returned by this endpoint?

harshkhandeparkar avatar Dec 22 '23 09:12 harshkhandeparkar

@harshkhandeparkar As you mentioned in the frontend issue, these data below should be returned.

each mentor's total PRs, total commits, total lines changed, and total number of projects.

snowden-fu avatar Dec 22 '23 10:12 snowden-fu

@harshkhandeparkar As you mentioned in the frontend issue, these data below should be returned.

each mentor's total PRs, total commits, total lines changed, and total number of projects.

Can you edit your issue body and add this? Also, do you want to work on this issue?

harshkhandeparkar avatar Dec 22 '23 15:12 harshkhandeparkar

@harshkhandeparkar As you mentioned in the frontend issue, these data below should be returned.

each mentor's total PRs, total commits, total lines changed, and total number of projects.

Can you edit your issue body and add this? Also, do you want to work on this issue?

No, mate, I don't know anything about Go lang, but I want to do frontend part of student or mentor stats.

snowden-fu avatar Dec 22 '23 23:12 snowden-fu

Hi, I would like to work on this issue. Also, a mentor's commits, lines added etc means the commits and lines added in all of their projects right?

Devansh-bit avatar Dec 25 '23 15:12 Devansh-bit

Hi, I would like to work on this issue. Also, a mentor's commits, lines added etc means the commits and lines added in all of their projects right?

Assigned and yes. But we do want to improve it next year using separate tables.

harshkhandeparkar avatar Dec 25 '23 18:12 harshkhandeparkar