Skip to content

Conversation

@foxzhang1224
Copy link

@foxzhang1224 foxzhang1224 commented May 2, 2025

What did this PR achieve:

This PR added the issue count icon in the project cards to use the official GitHub Octicon issue-opened icon (from Octicons) and displayed the total open issue count by fetching the backend data from github repository.

Why it matters:
Before PR, it only shows the count of issues with the most popular tag, which thus limits the visibility of the total number of issues - a crucial metric for understanding project activity and engagement. With the new count being added, it offers user a better and more clear understanding of the current open issue count, as well as the engagement rate.

Changes included:

  1. Added the issue-opened icon and open issue count for each project's description box in scripts.html.
  2. Added GraphQL support to fetch the total number of open issues for each repository.
  3. Updated the parse method in GitHubRepositoryLabelActiveCheck to include a new total_issues_count field in the returned data hash.
  4. Regenerated all YAML files to include the new total-issue-count field in each project’s stats section.
  5. Slight HTML/CSS adjustments to adjusts the layout and spacing between the fork and issue count, reducing visual crowding.

Final Presentation:
Screenshot 2025-05-02 at 1 10 59 PM

@netlify
Copy link

netlify bot commented May 2, 2025

Deploy Preview for up-for-grabs-test-bench ready!

Name Link
🔨 Latest commit f08b101
🔍 Latest deploy log https://app.netlify.com/sites/up-for-grabs-test-bench/deploys/681514b6eea477000810b31d
😎 Deploy Preview https://deploy-preview-5181--up-for-grabs-test-bench.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant