Draft: feat/category leaderboard
Description:
Implemented data fetching and processing logic for the category-wise leaderboard and badge system. This change focuses on retrieving contribution data per category from backend APIs, validating and structuring the response, and extracting ranked results to identify the top contributors. The processed data is prepared in a dynamic format to support accurate badge assignment and rendering on user profiles, ensuring that only the top three contributors per category receive badges and that updates reflect leaderboard changes automatically.
Type of Change:
-
Bug Fix -
Feature Development -
Documentation
Testing:
-
Tested on desktop -
Tested on mobile -
Tested in different browsers
Screenshots (if applicable):
Add screenshots for UI changes.
Video Demo
Add a link to the demo of the PR
If you have used AI create this PR, please also record video of yourself explaining the changes.
Link to code walkthrough
Checklist:
-
Code follows project style guidelines -
Self-review completed -
No console errors -
TypeScript types are correct