Instructor Dashboard

Last updated on 2026-05-31

The instructor dashboard provides a complete course creation and management interface. All instructor pages share a layout with AppHeader and a dedicated instructor sidebar. On mobile, the sidebar collapses into a Sheet.

Dashboard Overview

Route: /instructor/dashboard

The main instructor dashboard displays:

  • Stats cards — total students, active courses, total revenue, average rating
  • Enrollment chart — line chart showing enrollments over time (Recharts)
  • Recent activity — latest student enrollments and completions
  • Course performance — top-performing courses by revenue

Course Management

Route: /instructor/courses

Data table listing all instructor courses with:

  • Columns: thumbnail, title, students, rating, revenue, status
  • Status badges (Published, Draft, Archived)
  • Actions dropdown: edit, delete with confirmation dialog
  • "Create Course" CTA button

Curriculum Editor

Route: /instructor/courses/[id]/curriculum

Module and lesson management:

  • Module list — ordered list of course modules
  • Lesson items — within each module, ordered lessons with type indicators (video, text, quiz)
  • Content type icons — visual indicators for lesson types
  • Duration display — time estimate per lesson

Analytics

Route: /instructor/analytics

Teaching analytics with charts:

  • Revenue chart — earnings over time
  • Enrollment trends — student enrollment patterns
  • Completion rates — course completion statistics
  • Top courses — best-performing courses table

Student Directory

Route: /instructor/students

Student table with:

  • Columns: avatar, name, enrolled courses, progress, last active
  • Actions: view profile, send message (toast feedback)
  • Export button for student data

Q&A Management

Route: /instructor/qa

Student questions and answers:

  • Question list — unanswered and answered questions
  • Course filter — filter by specific course
  • Response form — reply to student questions

Instructor Profile

Route: /instructor/profile

Public instructor profile:

  • Profile header — avatar, name, bio, specialization
  • Stats — total students, courses, average rating
  • Edit profile — button with toast feedback