Patterns
Manage lesson resources
Author useful links and files without confusing attachment work with lesson text.
On this page
Task sequence
- Give each link a meaningful label and destination.
- Add files in the Downloads tab and respect the displayed limits.
- Keep file operations coordinated with the current lesson revision.
- Inspect the learner’s links and downloads after saving.
Data and persistence boundary
LessonItem coordinates uploads with the parent through file-operation callbacks. A resource list only renders URLs; it does not establish file authorization or validate arbitrary URL schemes.
Failure and recovery
Keep upload errors close to the file controls. Do not discard other lesson edits when an attachment operation fails.
Source references
| File | Responsibility |
|---|---|
| src/components/LessonItem.tsx | Resource authoring |
| src/components/courses-public/logged-in/LinksList.tsx | Learner links |
| src/components/courses-public/logged-in/DownloadsList.tsx | Learner files |
Interface examples
Native TeachKit interfaces with fictional course, account, and learner records. Service responses and media are isolated demonstrations; no customer data or live changes. Captured at 2× resolution or higher. Select an image to inspect it full size.
Related topics
Source audit: 2026-10-22 · Revision 903bbf05ca9d · Documentation v2.0.0