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.
Adding and Managing Children
Sunschool allows parents to create and manage multiple learner accounts, each with personalized settings and grade-appropriate content.Creating Learner Accounts
From the Dashboard
If you don’t have any children yet, you’ll see an inline form on the dashboard. Otherwise, click the “Add Another Child” button.Using the Dedicated Page
Navigate to/add-learner for a full-page form with more options.
From add-learner-page.tsx:12-16:
Required Information
Child's Name
Enter your child’s first name or preferred nickname
The name is used throughout the interface to personalize the learning experience.
Grade Level Conversion
How Grade Levels Work
How Grade Levels Work
Sunschool uses numeric grade levels internally:
- Kindergarten (K) = 0
- Grade 1 = 1
- Grade 2 = 2
- …
- Grade 12 = 12
Choosing the Right Grade
Choosing the Right Grade
Select the grade your child is currently in or will be entering. The system will:
- Adapt lesson difficulty automatically
- Recommend age-appropriate subjects
- Adjust vocabulary and complexity
- Track grade-level progress
The Add Learner Form
Fromadd-learner-page.tsx:84-150:
Form Validation
The system validates input before creating the account:Creating the Account
When you submit the form:- Validation - Checks that name and grade are provided
- API Request - Sends learner data to the server
- Account Creation - Server creates user with LEARNER role
- Parent Link - Associates learner with your parent account
- Profile Setup - Initializes learner profile with grade level
- Redirect - Takes you back to the learners list
add-learner-page.tsx:50-72:
Managing Existing Learners
The Learners Page
Navigate to/learners to see all your children and manage their settings.
From learners-page.tsx:39-50:
Learner Cards
Each learner is displayed in a card showing:- Name and email (if provided)
- Current grade level badge
- Action buttons for editing and viewing
learners-page.tsx:362-416:
Editing Grade Levels
The Edit Modal
Fromlearners-page.tsx:486-569, you can update a child’s grade level:
Updating a child’s grade level adjusts their recommended curriculum and lesson difficulty automatically.
Configuring Learner Profiles
Setting Subjects
Fromlearners-page.tsx:329-337, you can configure:
- Active subjects - What the child is currently learning
- Recommended subjects - Suggestions based on their progress
- Struggling areas - Topics needing extra attention
Knowledge Graph
The knowledge graph visualizes learning concepts and their relationships: Fromlearners-page.tsx:339-360:
Best Practices
Accurate Grade Levels
Keep grade levels up-to-date as children advance to ensure appropriate content difficulty.
Multiple Children
Each child should have their own account for personalized learning paths.
Subject Configuration
Review and update subjects regularly based on school curriculum and interests.
Privacy
Use first names or nicknames rather than full names for additional privacy.
Troubleshooting
Child not appearing in list
Child not appearing in list
If a newly created child doesn’t appear:
- Refresh the page
- Check for error messages during creation
- Verify you’re logged in as a PARENT role
- Ensure the creation was successful (look for success toast)
Can't update grade level
Can't update grade level
If grade level updates fail:
- Ensure you selected a valid grade (K-12)
- Check your internet connection
- Try logging out and back in
- Contact support if the issue persists
Missing learner profiles
Missing learner profiles
Learner profiles are created automatically when you add a child. If missing:
- The system will create it on first access
- Grade level defaults may apply
- You can manually set all preferences
Next Steps
View Dashboard
See all your children at a glance
Track Progress
Monitor learning activity and achievements
Set Up Goals
Create learning objectives for your children
Configure Rewards
Set up motivational incentives