@extends('layouts.admin') @section('title', 'Learning OS Dashboard') @push('styles') @endpush @section('content')

🎓 All Gifted Learning OS Command Center

Welcome back, {{ auth()->user()->firstname ?? 'Admin' }} | Manage your intelligent mathematics learning platform

All Systems Operational
{{ now()->format('l, F j, Y • g:i A') }}

Content Hierarchy

Fields
Top-level subject areas
{{ $counts['fields'] }}
Tracks
Learning pathways within fields
{{ $counts['tracks'] }}
Skills
Specific competencies to master
{{ $counts['skills'] }}
Questions
Practice problems & assessments
{{ number_format($counts['questions']) }}
@if($metrics['user_growth_rate'] > 0)
{{ number_format($metrics['user_growth_rate'], 1) }}%
@endif
{{ number_format($counts['active_users']) }}
Active Learners
{{ $counts['total_users'] }} total users
{{ $counts['pending_qa'] }}
{{ number_format($counts['pending_qa']) }}
Needs QA Review
{{ $counts['flagged'] }} flagged items
{{ number_format($metrics['qa_approval_rate'], 1) }}%
QA Approval Rate
{{ number_format($counts['approved']) }} approved questions

Quick Actions

Platform Insights

@if($insights['top_track'])

{{ $insights['top_track']['name'] }} Track Excelling

{{ $insights['top_track']['question_count'] }} questions with {{ number_format($insights['top_track']['approval_rate'], 1) }}% QA approval rate. This track can serve as a quality benchmark.

@endif @if($insights['needs_attention'])

QA Review Backlog

{{ $counts['pending_qa'] }} questions pending review. Consider allocating more QA resources to reduce wait times.

@endif @if($metrics['content_growth_rate'] > 0)

Content Growth Trending

{{ $metrics['questions_last_30days'] }} questions created in the last 30 days, representing {{ number_format($metrics['content_growth_rate'], 1) }}% growth.

@endif

Recent Activity

@forelse($recent_questions as $question)
Question {{ $question['qa_status'] === 'approved' ? 'Approved' : 'Created' }}
{{ $question['question'] }}
{{ $question['updated_at']->diffForHumans() }}
@empty

No recent activity

@endforelse

Content Creation Trends

Last 14 days

Top Fields

Quality Assurance Status

{{ number_format($counts['unreviewed']) }}

Unreviewed

{{ number_format($counts['approved']) }}

Approved

{{ number_format($counts['flagged']) }}

Flagged

{{ number_format($counts['needs_revision']) }}

Needs Revision

@endsection @push('scripts') @endpush