Dev Log
Refined the nine-phase lesson experience
What changed
- Replaced the generic lesson banner on all ten lessons with a full-bleed, near-viewport image experience and readable overlaid lesson context.
- Added shared previous and next navigation with direct choices for the prologue and phases 1 through 9 above and below each lesson.
- Matched the collapsed follow-along panel to the rendered player height on desktop while allowing the panel to expand and grow naturally on mobile.
- Presented the existing five-second up-next prompt as a player overlay without changing its timing or local autoplay preference.
- Kept the centered term-definition dialog and added an explicit centering rule so the site’s global reset cannot move it to a viewport corner.
- Added source and generated-page checks for the shared hero, navigation, current-step semantics, measured layout hooks, and dialog position.
Why
The earlier course prototype had several useful teaching patterns: immersive imagery, obvious movement between lessons, direct phase choices, and a follow-along panel that stayed visually tied to the video. This update brings those strengths into Bailey’s current Astro components instead of maintaining a second lesson system.
Files affected
src/components/video-lessons/VideoLessonLayout.astrosrc/components/video-lessons/VideoCourseTracker.astrosrc/styles/video-lessons.csspublic/scripts/video-lessons.jssrc/scripts/verify-video-lessons.mjs- Course design, implementation, testing, findings, and ledger documents
Preserved behavior
- Native VTT captions and native video controls
- Five-second next-lesson countdown and reduced-motion handling
- Semantic no-JavaScript fallbacks, structured data, review mode, and discovery boundaries
- Course overview, glossary, and reviewer worksheet layouts
Verification
- Source and generated-output lesson verification passed.
- Desktop browser measurement kept the player and follow-along panel within one pixel of equal height.
- Expansion and collapse, autoplay countdown, reduced-motion handling, centered dialog behavior, and native caption tracks passed interaction checks.
- A 390-pixel mobile viewport had no horizontal overflow and used a naturally expanding follow-along panel.
Production was not changed.