Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sunschool.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Parent Experience Overview

Sunschool provides parents with powerful tools to monitor, guide, and support their children’s personalized learning experience. As a parent, you have access to comprehensive dashboards, progress tracking, and motivational systems.

What Parents Can Do

Multi-Child Management

Parents can manage multiple children from a single account:
  • Add unlimited learner accounts for all your children
  • View all children at once from the parent dashboard
  • Switch between learner views to see individual progress
  • Configure unique settings for each child
From dashboard-page.tsx:236-243:
const { data: learners } = useQuery<any[]>({
  queryKey: ['/api/learners'],
  queryFn: () => apiRequest('GET', '/api/learners').then((res: any) => res.data ?? res),
  enabled: user?.role === 'PARENT' || user?.role === 'ADMIN',
});

Dashboard Features

The parent dashboard provides at-a-glance insights:

Child Cards

Each child has a dedicated card showing:
  • Lessons completed
  • Average score
  • Achievement count
  • Current grade level

Quick Actions

Direct access to:
  • Start learning as any child
  • Add new children
  • View detailed reports
  • Manage rewards

Real-time Stats

Live updates on:
  • Learning activity
  • Recent lessons
  • New achievements
  • Points earned

Child Status Cards

Each child card displays comprehensive learning metrics:
// From dashboard-page.tsx:57-70
const lessonsCompleted = report?.analytics?.lessonsCompleted ?? 0;
const achievementsCount = report?.analytics?.achievementsCount ?? 0;

let avgScore: number | null = null;
if (report?.analytics?.averageScore != null) {
  avgScore = Math.round(report.analytics.averageScore);
} else if (lessons && lessons.length > 0) {
  const scored = lessons.filter((l: any) => typeof l.score === 'number');
  if (scored.length > 0) {
    const total = scored.reduce((sum: number, l: any) => sum + l.score, 0);
    avgScore = Math.round(total / scored.length);
  }
}
The dashboard automatically calculates average scores from completed lessons when analytics data isn’t available, ensuring parents always have accurate information.

Parent-as-Learner Mode

Parents can switch into “learner mode” to:
  • Experience the learning interface from a child’s perspective
  • Test lessons before children attempt them
  • Understand the curriculum and difficulty levels
  • Participate in learning alongside their children
From dashboard-page.tsx:245-248:
const handleViewChild = (learner: any) => {
  selectLearner(learner); // Switches context to the selected child
};

Getting Started

When you first log in as a parent:
  1. First-time parents see an inline form to add their first child
  2. The form requires only a name and grade level (K-12)
  3. After adding a child, you can immediately start learning
  4. Quick access to reports, rewards, and admin tools (if applicable)
From dashboard-page.tsx:300-306:
{!hasChildren ? (
  <>
    <Text style={styles.subtitle}>Add your child to get started</Text>
    <InlineAddChildForm onSuccess={() => {}} />
  </>
) : (
  // Show child cards and management tools
)}

Key Features

View detailed analytics for each child including:
  • Lesson completion rates
  • Subject mastery levels
  • Knowledge graph visualization
  • Time spent learning
  • Recent activity feed
Create and manage motivational rewards:
  • Set point costs for rewards
  • Approve or reject redemption requests
  • Track learner progress toward goals
  • Enable special scoring modes
Help children work toward objectives:
  • Create custom learning goals
  • Set completion targets
  • Track progress over time
  • Celebrate achievements
Maintain ownership of your data:
  • Export learner data in JSON format
  • Sync to external PostgreSQL databases
  • Configure continuous backup
  • Access complete learning history
FeatureLocationDescription
Dashboard/Main parent view with all children
Add Child/add-learnerCreate new learner account
Reports/reportsDetailed analytics and progress
Rewards/rewardsManage reward catalog and redemptions
Data ExportAPI downloadDownload learner data
Database Sync/database-syncConfigure external database replication
All parent features respect your children’s privacy and are designed to support their learning without creating pressure or surveillance.

Next Steps

View Dashboard Guide

Learn about the parent dashboard interface

Add Children

Create learner accounts for your children

Track Progress

Monitor learning progress and achievements

Manage Rewards

Set up motivational rewards