Show Top:

🏆 Contribution Leaderboard

{{ $this->getTimeRangeLabel() }} - Top {{ $topCount }} Contributors

@php $leaderboardData = $this->getLeaderboardData(); @endphp @forelse($leaderboardData as $entry)
{{ $this->getRankIcon($entry['rank']) }}
#{{ $entry['rank'] }}
@php $hash = substr(md5($entry['user']->name), 0, 6); $r = hexdec(substr($hash, 0, 2)); $g = hexdec(substr($hash, 2, 2)); $b = hexdec(substr($hash, 4, 2)); $avatarColor = "rgb({$r}, {$g}, {$b})"; @endphp
{{ strtoupper(substr($entry['user']->name, 0, 2)) }}

{{ $entry['user']->name }}

Total Score: {{ number_format($entry['total_score']) }}

{{ number_format($entry['stats']['tickets_created']) }}

Tickets

{{ number_format($entry['stats']['status_changes']) }}

Updates

{{ number_format($entry['stats']['comments_made']) }}

Comments

{{ number_format($entry['stats']['active_days']) }}

Active Days

@empty
🏆

No Contributors Found

No user activity found for the selected time period.

@endforelse

📊 Scoring System

How contribution scores are calculated

📐 Score Calculation Formula:

Total Score = (Status Changes × 5) + (Tickets Created × 2) + (Comments Made × 2) + (Active Days × 1)