Components
Both
src/components/course-session-row.tsxCourse Session Row
One row of the online course: a session or a checkpoint, with its length, its lessons or its pass mark, and where the student is with it. The portal’s Online course page and the Console’s Course tab both draw it.
In the portal
Status on the left: a filled check for done, a ring for live work, a lock for what has not opened. Checkpoints sit on a tint and carry their outcome; a failed one is a ring, since it is a retake.
Session 1: SAFE Driving in Texas2h 20m · 4 lessons
Session 2: Signs, Signals, and Markings2h 20m · 3 lessons
Session 3: Sharing of the Road2h 35m · 4 lessons
Road Rules Reality Check20m · Scored 88%Passed
Road Signs Reality Check20m · Scored 58%, 70% to passNot passed
Session 4: Knowledge of Your Car2h 55m · 5 lessonsIn progress
Session 5: Driving Strategies2h 40m · 4 lessons
In the Console
Denser rows with no status column: every passed row wears the same green badge and keeps its date, the live one says In progress.
Session 1: Texas Traffic Laws1h 05m · 3 lessons · Jul 21, 2026Passed
Session 2: Signs, Signals, and Markings55m · 3 lessons · Jul 23, 2026Passed
Session 3: Right of Way and Sharing the Road1h 00m · 3 lessons · Jul 28, 2026Passed
Session 4: Alcohol, Drugs, and Driving1h 05m · 4 lessonsIn progress
Session 5: Managing Risk and Distraction1h 00m · 3 lessons
Session 6: Adult Driver Responsibilities55m · 3 lessons
Final Exam30m · 70% to passNot started
Used on
- Console
- /console/people/[id]
- Portal
- /dashboard/course