π¨βπ©βπ¦ Parent journey
The parent never goes to /dashboard: they land on the portal
/parent (determined by their role).
flowchart TD
A[Login parent] --> B["/parent"]
B --> C{Child selector}
C --> D["Card: attention / participation / comfort"]
D --> E[Individual timeline]
E --> F[LLM parent summary]
B --> G[Lesson selector]
B --> H[Messages with the teacher]
- Login:
[email protected](2 children β selector visible). - Card: the child's engagement + 3 indicators (Attention π, Participation β, Comfort π) with Good / Variable / Needs attention keywords.
- Timeline: the child's engagement curve over the selected lesson.
- Parent summary: LLM text readable by a non-specialist
(
parent_summary), if the OpenRouter key is configured. - Messages: talk with the teacher (the Messages topbar button is hidden for the parent role, but the messaging is available in the portal).
Direct links
The portal is URL-driven: /parent?child=S001&lesson=islam_march_01.mp4 β
useful to test a specific scenario.
To check in tests
- [ ] parent.test1 sees 2 children; parent.test2/3 see 1.
- [ ] Without
OPENROUTER_API_KEY, the summaries show a clear βdisabledβ state. - [ ] The parent cannot access /dashboard (403/redirect).