Skip to content

Fix Duplicate Rendering of Top 3 Contributors and Improve Grid Hierarchy#890

Open
Aarya-Chaudhari wants to merge 9 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:top
Open

Fix Duplicate Rendering of Top 3 Contributors and Improve Grid Hierarchy#890
Aarya-Chaudhari wants to merge 9 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:top

Conversation

@Aarya-Chaudhari
Copy link
Contributor

📋 Description

This PR fixes an issue where the top 3 contributors were being displayed twice on the Contributors page — once in the highlighted “Top Contributors” section and again in the main contributors grid.

The update ensures that the top 3 contributors (based on merged PR count) are exclusively shown in the dedicated highlight section and are excluded from the main grid. This improves visual hierarchy, reduces redundancy, and aligns the UI with the intended design for Issue #864.

Changes Made
Updated renderContributorsGrid() to filter out the top 3 contributors before rendering the main grid
Ensured top contributors are determined using merged_prs (existing ranking metric)
Maintained existing sorting, stats, search, and bot filter functionality
Preserved observer animations and card rendering logic
No changes to API fetching, caching, or contributor tier system

📸 Screenshots (MANDATORY for UI/UX changes)

Screenshot 2026-02-19 100311
  • This PR includes UI/UX changes → Screenshots attached
  • This PR does NOT include UI/UX changes

Closes #864

@Aarya-Chaudhari
Copy link
Contributor Author

Hello @sayeeg-11
I have raised a PR resolving issue #864 and have also resolved merge conflicts.
Please review and let me know if any changes needed

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.

[Feature]: Enhance Visual Structure for Top 3 Contributors Section

1 participant

Comments