Overview¶
This page provides all the routes accessible under supervisor namespace.
Tab: Classrooms¶
Route: /school/${schoolId}/supervisor/classrooms¶
Features¶
- Displays the list of students and teachers in the classrooms assigned to the supervisor.
Components¶
TopTabs: shows the classroom sections.- Location:
/src/lib/components/shared/TopTabs.svelte
- Location:
StudentCard: displays all the students.- Location:
/src/lib/components/classroom/StudentCard.svelte
- Location:
DomainPerformanceSummary: displays the domain performance for a student.- Location:
../../classroom/students/DomainPerformanceSummary.svelte
- Location:
Tab: Curriculum¶
Route: /school/${schoolId}/supervisor/curriculum¶
Features¶
- Fetches all the curriculums and domains in all the curriculums.
- Displays all the goals, subgoals, lesson plans and the learning materials in the domain.
API Calls¶
GET-/api/v1/school/curriculumsGET-/api/v1/school/domains?curriculum_id=${curriculumId}GET-/api/v1/school/goals?domain_id=${domainId}&page=1GET-/api/v1/library/material_entities?entity_id=${subgoalId}GET-/api/v1/library/lesson_plan_subgoals?goal_id=${goalId}&q[sorts]=created_at+asc
Discussion¶
- Fetches all the above mentioned data using the API calls from
1to5.
Tab: All Students¶
Route: /school/${schoolId}/supervisor/students¶
Features¶
- Displays all the students.
- Searches the student as per the query string.
API Calls¶
GET-/api/v1/school/students?classroom_id=${classroomId}b&per_page=50, fetches all the students in the classroom.
Tab: Content Library¶
Refer to Tab: Content Library as all the features and API calls are similar.¶
Tab: Reminders¶
Route: /school/${schoolId}/supervisor/reminders¶
Features¶
- Displays all the reminders like case study approvals, report approvals etc.
- Redirects to the page where the supervisor can approve or reject the requests.