Skip to content

Conversation

@Ajaypanchal4326
Copy link
Contributor

✨ UI Improvement: Authors & Maintainers

This PR modernizes the Authors & Maintainers section to make it more
informative, readable, and useful in both HTML and PDF reports.

πŸ” Problem

  • The previous avatar-only layout provided limited value, especially in PDF output.
  • There was no clear way to identify top contributors or understand relative impact.

βœ… Solution

This PR introduces a ranked leaderboard-style layout:

  • Authors are sorted by occurrence count (descending)
  • Clear ranking (1, 2, 3, …) based on contribution frequency
  • Top contributors are visually highlighted
  • Avatars are preserved for visual context
  • No JavaScript added, no data model changes

🎯 Key Improvements

  • πŸ† Ranked leaderboard for quick contributor comparison
  • πŸ“„ Improved PDF readability (list-based, no hover dependency)
  • 🎨 Modern, clean UI with clear hierarchy
  • πŸ”’ Presentation-only change (HTML + CSS)

🧠 Ranking Logic

Authors are ranked by their occurrence count in dependencies:

  • Higher count β‡’ higher rank
  • Sorting is handled at the template level for presentation clarity

πŸ–ΌοΈ Preview

Report_git

πŸ“ Files Changed

  • views/template.html
  • public/css/style.css

πŸ§ͺ Testing

  • npm run build
  • Verified in HTML preview
  • Verified PDF output

Feedback and suggestions are welcome πŸ™Œ

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