Components
Portalsrc/app/(student)/dashboard/course/course-workbook.tsx

Course Workbook

The Online course’s signature object: a spiral-bound workbook with a yellow spine and a block of pages that fans on hover. It shows how far through the sessions the student is, one pip per session, and where the graded assessments stand: the two teen Reality Checks and the Final Exam, locked until the sessions are done. One action opens the Learning Lab classroom and reads as a retake when a check was failed. Guardians see progress only. The adult course has 6 sessions and no Reality Check.

Not started

A fresh arrival: 0 sessions, checks pending, the exam locked, the action reads Start.

Driver Education

Course workbook

Sessions

0 / 12

Assessments

Road RulesNot yet
Road SignsNot yet
Final examLocked
Start in the classroom

In progress

Mid-course: first 3 sessions done, checks still pending, exam locked, the action reads Continue.

Driver Education

Course workbook

Sessions

3 / 12

Assessments

Road RulesNot yet
Road SignsNot yet
Final examLocked
Continue in the classroom

Reality Check not passed

The quizzes fell below 70%, so each check shows Retake and the single action becomes a retake.

Driver Education

Course workbook

Sessions

3 / 12

Assessments

Road RulesRetake
Road SignsRetake
Final examLocked
Retake the Reality Check

Reality Checks passed

Both checks passed (their scores show); the exam stays locked until the last session.

Driver Education

Course workbook

Sessions

8 / 12

Assessments

Road Rules88%
Road Signs82%
Final examLocked
Continue in the classroom

Course complete

All sessions done: every pip is green, and the Final Exam is passed with its score.

Driver Education

Course workbook

Sessions

12 / 12

Assessments

Road Rules88%
Road Signs82%
Final exam91%
Continue in the classroom

Guardian view

Progress only. The guardian sees the sessions and assessments but can’t launch the coursework.

Driver Education

Course workbook

Sessions

8 / 12

Assessments

Road Rules88%
Road Signs82%
Final examLocked
Student only

Adult variant

The adult 18–24 course: 6 sessions, no Reality Check, so the Assessments column is just the Final Exam.

Driver Education

Adult course workbook

Sessions

3 / 6

Assessments

Final examLocked
Continue in the classroom