agamjotsingh18 / codesetgo

Open Source Website of CodeSetGo
https://codesetgo.netlify.app/
MIT License
76 stars 237 forks source link

[Bug] Contributor Page - Contributors Not Updated and Dynamic (Hardcoded) #640

Closed Nishitbaria closed 11 months ago

Nishitbaria commented 12 months ago

What happened?

Currently, the "Contributor" page on our GitHub repository is displaying a static list of contributors, which is hardcoded and not being dynamically updated. This issue hinders our ability to showcase the valuable contributions made by our active community members and may lead to inaccuracies in the displayed list.

How can we reproduce this bug?

Symptoms of the Issue:

  1. Static List: The list of contributors on the "Contributor" page remains the same, regardless of any new pull requests or contributions made to the project. As a result, recent contributors are not being recognized and displayed on the page.

  2. Incomplete Information: Since the list is hardcoded, it lacks essential details about each contributor, such as their GitHub username, profile picture, and contribution statistics. This limits the user's ability to identify and interact with individual contributors.

  3. Manual Updates: To keep the list up-to-date, the current process requires manual intervention, making it prone to human errors and time-consuming for maintainers.

Proposed Solution:

To address this issue and make the "Contributor" page more accurate and dynamic, we propose the following steps:

  1. Implement GitHub API Integration: We will integrate the GitHub API into our "Contributor" page to fetch real-time data about contributors and their contributions. This will allow us to access up-to-date information without relying on hardcoded data.

  2. Dynamic Rendering: With the help of the GitHub API, we will dynamically render the list of contributors on the "Contributor" page. The list will be automatically updated whenever a new contribution (e.g., pull request) is made, ensuring that all active contributors are acknowledged.

  3. Detailed Contributor Information: By utilizing the GitHub API, we can fetch detailed information about each contributor, such as their GitHub username, avatar, and contribution statistics. This will enrich the user experience and encourage more interaction with contributors.

  4. Automated Updates: The integration of the GitHub API will eliminate the need for manual updates, ensuring that the "Contributor" page remains accurate and up-to-date at all times.

  5. User-Friendly Display: We will design the "Contributor" page to present the list of contributors in an organized and user-friendly manner. Users will be able to easily browse and explore the profiles of individual contributors.

  6. Testing and Validation: Before deployment, we will thoroughly test the functionality of the dynamic "Contributor" page to ensure that it fetches and displays data accurately from the GitHub API.

Desktop Information (Optional)

No response

Urgency (Optional)

High priority

Record

Nishitbaria commented 12 months ago

@agamjotsingh18 ,please assign me this issue

agamjotsingh18 commented 12 months ago

Sure @Nishitbaria

agamjotsingh18 commented 12 months ago

Hey @Nishitbaria , please fetch the latest code as just now merged a pr on contributors page regarding hover effect, so to avoid merge conflicts

Nishitbaria commented 12 months ago

@agamjotsingh18 ok