forgia · dev log
Engineering log for the forgia LMS platform.
- 23 Sep 26The Page Before the Course
A Course can now have a public page before it has any Lessons: the pitch, and a form that drops an address straight into Brevo. The interesting part is a one-line rule that looked like it fell out of the status field and didn't — because status is exactly the field that moves back.
elixirphoenixliveviewectobrevotestinginstructor - 17 Sep 26The Patch Is Not the Form
A bug report blamed the video modal. The modal was innocent — the title was already gone before anyone opened it. What LiveView actually puts on the wire for an input-level phx-change, and why a green test suite could never have told us.
elixirphoenixliveviewectotestinginstructor - 17 Sep 26Green Tests, Twitching Flag
The Quiz got the arcade layout — half-tone paper, ink outlines, a progress track with a hopping flag, confetti. The deliverable was motion, and the test suite is structurally blind to motion. What you assert when the framework cannot see the feature.
elixirphoenixliveviewcssjavascripttestingdesign-systemstudent - 24 Aug 26The Number Is Always There, and It Is Wrong at First
Bunny reports a video's length at every stage of transcoding, including the stages where it doesn't know yet. That one fact — a required field that is present and false — decided the shape of the whole integration, and is why the client answers with three outcomes when the caller only needs two.
elixirphoenixintegrationmoxtestingdomain-model - 03 Aug 26References on a Lesson, and a Bibliography That Compiles Itself
Typed References attached to a Lesson, rendered as an endnote and compiled into a Course-wide Bibliography grouped by Chapter — plus the LiveView bug that stayed invisible to sixteen green tests and took a real browser to find.
liveviewectojsonbdesign-systemdddtesting - 14 Jul 26A Green Test Suite and an Unclickable Button
Giving away one Lesson to sell a Course is a small feature with a sharp edge: the route that serves it was never allowed to run without a session. And the CSS class I reused made the Save button stop working — while all 684 tests stayed green.
liveviewphoenixcssdaisyuitestingauthorization