Team Leader Dashboard

Monitor expert performance and manage assigned issues

@if(session('success'))
{{ session('success') }}
@endif @php $totalAssigned = $resolvedCount + $unresolvedCount + $inProgressCount + $returnedCount; $ratingPercent = $totalAssigned > 0 ? ($resolvedCount / $totalAssigned) * 100 : 0; $fullStars = floor($ratingPercent / 20); @endphp

{{ $resolvedCount }}

Resolved

Good

{{ $unresolvedCount }}

Unresolved

Needs Attention

{{ $returnedCount }}

Returned

Review Needed

{{ $inProgressCount }}

In Progress

Active

{{ $totalAssigned }}

Total Assigned

All Issues

Expert Performance Overview

@if($recommendedExpert)
Top Expert: {{ $recommendedExpert['name'] }} ({{ $recommendedExpert['performanceScore'] }}/100)
@endif
@forelse($expertPerformance->sortByDesc('performanceScore')->values() as $index => $expert) @empty @endforelse
Rank Expert Name Resolved Unresolved Returned Success Rate Avg Resolution Performance
@if($index === 0) @elseif($index === 1) @elseif($index === 2) @else {{ $index + 1 }} @endif
{{ $expert['name'] }} Technical Expert
{{ $expert['resolved'] }} {{ $expert['unresolved'] }} {{ $expert['returned'] }}
{{ $expert['successRate'] }}%
{{ $expert['avgResolutionTime'] }}
{{ $expert['performanceScore'] }}

No expert performance data available

Assigned Issues

{{ $issues->count() }} Issues
@forelse($issues as $issue) @empty @endforelse
# Title Reporter Expert Priority Status Actions
{{ $loop->iteration }}
{{ Str::limit($issue->title, 50) }} @if($issue->screenshot) @endif
{{ $issue->reporter->name ?? 'N/A' }}
@if($issue->expert)
{{ $issue->expert->name }}
@else Not Assigned @endif
{{ ucfirst($issue->priority) }} {{ ucfirst($issue->status) }}

No issues assigned