refactor(leaderboard): move github activity formatting code into view / filter