The /bab/<folder> endpoint returned raw get_sub_home_data() output, so lessons had no completed/locked fields and green checkmarks never appeared. api_bab now reads the student token, injects progress via get_ordered_lessons_with_learning_objectives (scoped to the folder's sub-home.md), and computes lock status from prerequisites — matching /lessons. The bab page load also forwards the student token, and tests cover progress injection and prerequisite locking. |
||
|---|---|---|
| .. | ||
| 01-architecture-setup.md | ||
| 02-backend-flask.md | ||
| 03-frontend-sveltekit.md | ||
| 04-lesson-evaluation.md | ||
| 05-velxio-ble-deployer.md | ||
| 06-embed-content.md | ||
| 07-quiz-authoring.md | ||
| 08-playground-interactive.md | ||
| 09-slides.md | ||
| 10-flowchart.md | ||
| 11-database-migration.md | ||
| 12-quiz-integrity.md | ||
| 13-content-sub-home.md | ||