@if(!$current)
Queue empty

There are no unreviewed questions right now.

Back to queue
@else {{-- Progress bar --}}
Reviewing question #{{ $current->id }} @if($remainingCount > 0) · {{ $remainingCount }} remaining in queue @endif
Skill: {{ $current->skill?->skill ?? '—' }} · Difficulty: {{ $current->difficulty_id }} · Type: {{ $current->type_id == 1 ? 'MCQ' : 'FIB' }}
{{-- Main question card --}}
{!! nl2br(e($current->question)) !!} @if($current->question_image)
@endif
{{ $current->type_id == 1 ? 'Options' : 'Accepted answers' }}
@foreach(['answer0','answer1','answer2','answer3'] as $i => $field) @if(filled($current->$field) || filled($current->{$field.'_image'})) @php $isCorrect = $current->type_id == 1 ? (int) $current->correct_answer === $i : true; @endphp
{{ chr(65 + $i) }}
{{ $current->$field }} @if($current->{$field.'_image'})
@endif
@endif @endforeach
@if(filled($current->explanation))
Explanation
{!! nl2br(e($current->explanation)) !!}
@endif
{{-- QA issues --}} @if($current->qaIssues->isNotEmpty())
QA issues ({{ $current->qaIssues->where('status', 'open')->count() }} open)
@foreach($current->qaIssues as $issue)
{{ $issue->issue_type }} · {{ $issue->status }}
{{ $issue->description }}
{{ $issue->reviewer?->firstname ?? $issue->reviewer?->email ?? 'Unknown' }} · {{ optional($issue->created_at)->diffForHumans() }}
@if($issue->status === 'open') {{ ($this->resolveIssueAction)(['id' => $issue->id]) }} @endif
@endforeach
@endif {{-- Hints + Solutions --}}
@if($current->hints->isNotEmpty())
Hints
@foreach($current->hints as $hint)
Level {{ $hint->hint_level }}: {{ $hint->hint_text }}
@endforeach
@endif @if($current->solutions->isNotEmpty())
Solutions
@foreach($current->solutions as $sol)
{!! nl2br(e($sol->solution)) !!}
@endforeach
@endif
{{-- Existing QA notes --}} @if(filled($current->qa_notes))
QA notes
{{ $current->qa_notes }}
@endif @endif