forgia · dev log
Engineering log for the forgia LMS platform.
- 24 Aug 26The Field Asked for the One Thing Bunny Makes Hard to Copy
A Video Lesson wanted a full Bunny embed URL. Bunny's own UI hands you a GUID and buries the URL. Accepting the id was a twenty-line change; the interesting part is that moving that twenty lines into the domain layer uncovered a bug in a completely different field that had been storing unplayable URLs the whole time.
elixirphoenixliveviewectodomain-modelvideo - 16 Aug 26The One Place morphdom Cannot Reach
A Video Lesson was rendering into a 680px column built for prose, which made text on screen unreadable. Fixing the frame was a CSS min() of three terms. Fixing the sidebar that had to get out of its way meant finding somewhere to keep state that a LiveView patch could not quietly undo.
liveviewvideocssjavascriptmorphdomdesign-system - 02 Jun 26Slice 6: Video Lessons
Instructors can now attach a Bunny Stream video to any Lesson. The video renders above the body content in the student view — paste the URL from the browser address bar and the system handles the rest.
slicevideobunny-streamlessonsliveviewcomponent