courses-builder
The course builder (stage 42), a staff block in the company’s web app: sections and lessons in order (moved by buttons, so by keyboard too), each lesson’s kind, video from the media library, session from a published Programs program, text, preview flag and minutes; save, then publish. The edits are the pack’s pure outlineEdits, which never change a lesson’s key; the host checks the outline on save (its schema, a video that is ready, a program that exists) and a person publishes (an assistant’s request to publish waits for one, ADR 0480).
| Skin | web |
| Pack | courses |
| Add it | cos add courses-builder |
| Files | course-builder.tsx, LICENSE |
| Depends on | ui-button, ui-input, ui-label |
| Packages | @composable-os/pack-courses |
Operations it calls
Section titled “Operations it calls”Through its hooks; the host decides what each caller may do.
Source: packs/courses/blocks/courses-builder.