Skip to content

Conversation

Adez017
Copy link
Member

@Adez017 Adez017 commented Oct 2, 2025

Description

This is a detail documentation with all the things needed to understand the architecture and working for the leaderboard we created for the dashboard

Fixes #528

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

Dependencies

  • List any new dependencies or tools required for this change.
  • Mention any version updates or configurations that need to be considered.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

Co-Authored-By: Sanjay Viswanathan <[email protected]>
@Copilot Copilot AI review requested due to automatic review settings October 2, 2025 03:27
Copy link

vercel bot commented Oct 2, 2025

@Adez017 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

github-actions bot commented Oct 2, 2025

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions bot added level 1 10 points recode this is label for leaderboard labels Oct 2, 2025
Copy link

github-actions bot commented Oct 2, 2025

Synced data from Linked Issues

Labels:

  • gssoc25
  • level 3

Assignees:

  • Adez017

Milestones:

  • recode:launch 3.0

@Adez017
Copy link
Member Author

Adez017 commented Oct 2, 2025

Hi @sanjay-kv , i had created the file for the documentation in the main (root ) folder as discussed we can move it to wiki page from your end . take a look

@Adez017 Adez017 requested a review from sanjay-kv October 2, 2025 03:28
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive documentation for the GitHub organization leaderboard implementation at Recode Hive. The documentation covers the complete architecture, data flow, API usage, caching strategies, and implementation details of a leaderboard that tracks merged pull requests across all repositories in a GitHub organization.

  • Detailed technical documentation explaining the leaderboard's multi-stage data collection process
  • Comprehensive GitHub API reference with examples and error handling strategies
  • Performance optimization techniques including batching, caching, and memoization approaches

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Copilot Copilot AI review requested due to automatic review settings October 2, 2025 04:01
Adez017 and others added 2 commits October 2, 2025 09:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Documentation.md Outdated
Comment on lines 500 to 502

Request Example:
bashcurl -H "Authorization: token YOUR_TOKEN" \
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code block syntax. Should be ```bash at the beginning of line 500.

Suggested change
Request Example:
bashcurl -H "Authorization: token YOUR_TOKEN" \
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/recodehive/awesome-project/pulls?state=closed&per_page=100&page=1"

Copilot uses AI. Check for mistakes.

@Copilot Copilot AI review requested due to automatic review settings October 2, 2025 04:02
Adez017 and others added 4 commits October 2, 2025 09:32
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +223 to +226
};
Computed Contributors
This is where React's useMemo shines:
typescriptconst contributors = useMemo(() => {
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code block formatting. The text 'typescriptconst' should be properly formatted as a code block with language identifier.

Copilot uses AI. Check for mistakes.

Comment on lines +505 to +506
"https://api.github.com/repos/recodehive/awesome-project/pulls?state=closed&per_page=100&page=1"

Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline between 'json' and '['. Should be '```json' on one line and '[' on the next line.

Copilot uses AI. Check for mistakes.

Comment on lines +502 to +504
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code block formatting. Should be '```bash' with proper newline before the curl command.

Suggested change
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/recodehive/awesome-project/pulls?state=closed&per_page=100&page=1"

Copilot uses AI. Check for mistakes.

Comment on lines +547 to +549
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code block formatting. Should be '```bash' with proper newline before the curl command.

Suggested change
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
```bash
curl -H "Authorization: token YOUR_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/orgs/recodehive"

Copilot uses AI. Check for mistakes.

Comment on lines +576 to +579
All requests require a GitHub Personal Access Token:
```typescript
const headers: Record<string, string> = {
Authorization: `token ${YOUR_GITHUB_TOKEN}`,
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code block formatting. Should be '```typescript' with proper newline before the const declaration.

Suggested change
All requests require a GitHub Personal Access Token:
```typescript
const headers: Record<string, string> = {
Authorization: `token ${YOUR_GITHUB_TOKEN}`,
```typescript
const headers: Record<string, string> = {
Authorization: `token ${YOUR_GITHUB_TOKEN}`,
Accept: "application/vnd.github.v3+json",
};

Copilot uses AI. Check for mistakes.

(currentPage - 1) * itemsPerPage,
currentPage * itemsPerPage
);

Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space between language identifier and code. Should be '```tsx' with proper newline before the code content.

Copilot uses AI. Check for mistakes.

Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Oct 2, 2025 10:08am

@sanjay-kv
Copy link
Member

@Adez017 can u pull and push again, i made some package changes.

@Adez017
Copy link
Member Author

Adez017 commented Oct 2, 2025

Ol @sanjay-kv , will close this pr and open a fresh new

@Adez017 Adez017 closed this Oct 2, 2025
@Adez017 Adez017 reopened this Oct 2, 2025
@Adez017
Copy link
Member Author

Adez017 commented Oct 2, 2025

@sanjay-kv check this out now

@sanjay-kv sanjay-kv moved this to In Progress in @recode-web Oct 2, 2025
@sanjay-kv sanjay-kv added this to the recode:launch 3.0 milestone Oct 2, 2025
@sanjay-kv sanjay-kv merged commit 9cab74f into recodehive:main Oct 2, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in @recode-web Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc25 hacktoberfest-accepted level 3 50 points recode this is label for leaderboard

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

🐞[Bug]: write a detailed documentation about the leaderboard creation and API usage.

2 participants