Overview¶
This page provides all the routes accessible under teacher namespace.
Feat: Classroom Reports¶
Route: /school/${schoolId}/classroom/${classroomId}/reports¶
Features¶
- Displays the list of reports both opened and filed.
- Archives the selected reports.
- Creates a new report and redirects to
/${reportId}/reportGenerator
Components¶
CreateReportModal: Creates a new report.- Location:
./CreateReportModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/classrooms/${classroomId}/reports?is_archived=false, fetches all the classroom reports.PATCH-/api/v1/school/classrooms/${classroomId}/reports/${reportId}, archives the selected reports.POST-/api/v1/school/classrooms/${classroomId}/reports, creates the report.
Discussion¶
- Fetches the list of reports using the API call
1. - Archives the selected reports using the API call
2. - Creates the report using the API call
3.
Route: /school/${schoolId}/classroom/${classroomId}/reports/${reportId}/reportGenerator¶
Features¶
- Generates and updates the classroom report.
API Calls¶
GET-/api/v1/school/classrooms/${classroomId}/reports/${reportId}, fetches the report details.POST-/api/v1/school/classrooms/${classroomId}/reports/${reportId}/generate_report, generates the classroom report.PATCH-/api/v1/school/classrooms/${classroomId}/reports/${reportId}, updates the classroom report.
Discussion¶
- Fetches the report details using the API call
1. - Generates and updates the classroom report using the API call
2&3.
Route: /school/${schoolId}/classroom/${classroomId}/reports/${reportId}¶
Features¶
- Sends the report for supervisor approval.
- Supervisor approves or rejects the report.
- Files the report after approval.
- Downloads the report in pdf format.
Components¶
pdfBaseTemplate: Base template for pdf generation.- Location:
./pdfBaseTemplate.svelte
- Location:
API Calls¶
GET-/api/v1/school/classrooms/${classroomId}/reports/${reportId}, fetches the report details.POST-/api/v1/school/classrooms/${classroomId}/reports/${reportId}/send_for_approval, sends the report for supervisor approval.POST-/api/v1/school/classrooms/${classroomId}/reports/${reportId}/approve, approves the report.POST-/api/v1/school/classrooms/${classroomId}/reports/${reportId}/reject, rejects the report.POST-/api/v1/school/classrooms/${classroomId}/reports/${reportId}/finalize, files the report.POST-/api/v1/pdfs, generates and download the pdf.
Discussion¶
- Fetches the report details using the API call
1. - Sends for approval, approves or rejects and files the report using the API calls
2,3or4&5. - Print preview downloads the pdf of the report using the API call
6.
Feat: Classroom Attendance¶
Route: /school/${schoolId}/classroom/${classroomId}/classroom-attendance¶
Features¶
- Displays the list of created attendance sheets.
- Archives the selected attendance sheets.
- Creates a new attendance sheet.
- Downloads the attendance sheet.
Components¶
ClassroomAttendanceModal: Creates a new attendance sheet.- Location:
/src/lib/components/classroom/ClassroomAttendanceModal.svelte
- Location:
DeleteAttendanceModal: Archives the selected attendance sheets.- Location:
/src/lib/components/classroom/DeleteAttendanceModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/bulk_downloads/search_and_filter?q[type]=School::BulkDownload::ClassroomAttendance&q[sorts]=created_at+desc&q[archived_eq]=false&q[classroom_id_eq]=${classroomId},PATCH-/api/v1/school/bulk_downloads/${attendanceSheetId}, archives the selected classroom attendance sheet.POST-/api/v1/school/bulk_downloads, creates a new classroom attendance.
Discussion¶
- Fetches the list of attendance sheets using the API call
1. - Archives the selected attendance sheets using the API call
2. - Creates an attendance sheet using the API call
3.
Tab: My Classroom¶
Route: /school/${schoolId}/classroom/students¶
Features¶
- Displays the list of students in the classroom.
- Displays the list of days for which assessment was not marked.
- Adds reason for no assessment done on any particular day.
- Marks absent.
Components¶
StudentCard: Displays the list of students.- Location:
/src/lib/components/classroom/StudentCard.svelte
- Location:
BottomTabs: Bottom bar to display different options.- Location:
/src/lib/components/classroom/BottomTabs.svelte
- Location:
StudentCardShimmer: Shimmer effect till the students data loads.- Location:
/src/lib/components/shared/StudentCardShimmer.svelte
- Location:
DomainPerformanceSummary: Shows performance of each student.- Location:
./DomainPerformanceSummary.svelte
- Location:
API Calls¶
GET-/health=============GET-/api/v1/schools/me==============GET-/api/v1/school/students?classroom_id=${classroomId}&per_page=50, fetches the list of students.GET-/api/v1/school/assessment_days/absent_days?student_id=${studentId}, fetches the dates for which the assessment was not done.POST-/api/v1/school/students/${studentId}/attendances, marks a student's attendance.GET-/api/v1/school/students/${studentId}/attendances, fetches a student's attendance.POST-/api/v1/school/assessment_days/bulk_assessments?student_id=${studentId}, adds reason for missing assessments for multiple dates.
Discussion¶
- Fetches all the students in a classroom using the API call
3. - Fetches all the days for which assessment was not done using API call
4. - Marks absent for that day for an individual student using API call
5. - Adds reason for missing assessments for a student using API call
6.
Route: /school/${schoolId}/onboarding/new-student¶
Features¶
- Step 1 to onboard a new student onto LMS.
Components¶
OnboardingTaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/OnboardingTaskBar.svelte
- Location:
BottomTabs: Bottom bar to display different options.- Location:
/src/lib/components/classroom/BottomTabs.svelte
- Location:
GuardianRow: To enter guardian details.- Location:
/src/lib/components/onboarding/GuardianRow.svelte
- Location:
API Calls¶
POST-/api/v1/school/students, creates a new student.PATCH-/api/v1/school/students/${studentId}, updates an existing student.
Discussion¶
- Creates a new student using the API call
1for onboarding onto LMS. - Updates an existing student using the API call
2for onboarding onto LMS.
Route: /school/${schoolId}/onboarding/new-student/${studentId}/domains-selection¶
Features¶
- Displays school curriculums.
- Displays the domains in a curriculum.
- Selects the domains to be added to the IEP while onboarding a new student to the LMS.
Components¶
CurriculumDomains: Displays the curriculums and the domains in a curriculum.- Location:
./CurriculumDomains.svelte
- Location:
OnboardingTaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/OnboardingTaskBar.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches the curriculums available in a school.GET-/api/v1/school/students/${studentId}, fetches the student details.GET-/api/v1/school/domains?curriculum_id=${curriculumId}, fetches all the domains available in a curriculum.GET -/api/v1/school/goals/count`, fetches all the goals in a school.PATCH-/school/students/${studentId}/onboarding/ieps/${iepId}, updates the onboarding iep.POST-/school/students/${studentId}/onboarding/ieps, creates a new onboarding iep.
Discussion¶
- Fetches the curriculums using the API call
1. - Fetches student details using the API call
2. - Fetches all the domains in a curriculum using the API call
3. - Fetches all the goals in the school using API call
4. - Creates a new onboarding IEP using the API call
6. - Updates the onboarding IEP using API call
5.
Route: /school/${schoolId}/onboarding/new-student/${studentId}/domainsCompetency?iepId=${iepId}&domainId=${domainId}¶
Features¶
- Selects the goals in a category to be marked completed.
- Removes the goals.
- Adds subgoals.
- Removes the subgoals in a category to be marked completed.
Components¶
OnboardingTaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/OnboardingTaskBar.svelte
- Location:
TopTabs: Displays the domain data.- Location:
/src/lib/components/shared/TopTabs.svelte
- Location:
CategoryPanel: Displays and selects from the list of goals in a category.- Location:
/src/lib/components/onboarding/CategoryPanel.svelte
- Location:
API Calls¶
POST-/api/v1/school/students/${studentId}/onboarding/ieps/bulk_assessments?goal_id=${goalId}, saves the assessments data.POST-/api/v1/school/ieps/${iepId}/summary_nodes/node?record_type=Library::Category&record_id=${categoryId}, saves the summary of the goals in that category.PATCH-/api/v1/school/students/${studentId}/onboarded, onboards the new student onto the LMS.GET-/api/v1/school/categories?domain_id=${domainId}, fetches the list of categories in the domain.GET-/api/v1/school/goals?category_id=${categoryId}&page=1, fetches the list of goals in a categories.GET-/api/v1/school/ieps/d0324d66-1fdf-4e73-9c08-ecf80c739f88/summary_nodes?record_type=Library::Category&record_id=${categoryId}&depth=2, fetches the summary of selected goals from a category.POST-/api/v1/school/students/${studentId}/onboarding/ieps/assessments, adds the selected subgoals to the assessment.DELETE-/api/v1/school/students/${studentId}/onboarding/ieps/assessments/${assessmentId}, removes subgoals from the assessment.DELETE-/api/v1/school/students/${studentId}/onboarding/ieps/bulk_assessments?goal_id=${goalId}, deletes goal from the assessment.
Discussion¶
- Adds goals from various domains to the assessment using API call
1. - Removes the goals from the assessment using API call
9. - Saves the summary of the goals in the IEP using the API call
2. - Onboards a new student to the LMS using API call
3. - Fetches the list of categories in a domain using API call
4. - Fetches the list of goals in a category using API call
5. - Fetches the summary of the selected goals using API call
6. - Adds selected subgoals to the assessment using API call
7. - Removes selected subgoals from the assessment using API call
8.
Route: /school/${schoolId}/onboarding/existing-students¶
Features¶
- Displays the list of students in a classroom.
- Displays the list of classroom Grades.
- Moves the students from a classroom to the unassigned.
Components¶
StudentCard: Displays the list of students.- Location:
/src/lib/components/classroom/StudentCard.svelte
- Location:
StudentCardShimmer: Shimmer effect till the students data loads.- Location:
/src/lib/components/shared/StudentCardShimmer.svelte
- Location:
API Calls¶
GET-/api/v1/school/students?classroom_id=${classsroom Id}&per_page=50PATCH-/api/v1/school/student_classrooms/${data.id}, moves the student from classroom to unassigned.POST-/api/v1/school/student_classrooms, adds the student to the classroom.
Discussion¶
- Displays the list of students in each grade using API call
1. - Moves the students from a grade to unassigned using API call
2. - Adds the students to a classroom using API call
3.
Route: /school/${schoolId}/student/${studentId}¶
Features¶
- Displays the List of domains available(approved in the iep).
- Navigates to
Daily assessmentsandReview learning materials.
Components¶
DomainCard: Displays the list of domains.- Location:
/src/lib/components/student/DomainCard.svelte
- Location:
TodoCard: Displays the Options like -Review learning Materialsand if the onboarding is not completed thenComplete Onboardingetc.- Location:
/src/lib/components/student/TodoCard.svelte'
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/library/domains/${domainId}, fetches domain details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.
Discussion¶
- Fetches student details using the API call
1if the iep is created and onboarding is completed. - Fetches domain details using the API call
2if the iep is not created and onboarding is not completed. - Fetches iep details using the API call
3if the iep is created and onboarding is completed.
Route: /school/${schoolId}/student/${studentId}/iep-assessment/domains/goals?domainId=${domainId}¶
Features¶
- Assesses Student Performance for creating the IEP.
Components¶
TopTabs: Displays the domain data.- Location:
/src/lib/components/shared/TopTabs.svelte
- Location:
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/TaskBar.svelte
- Location:
AssessmentSuccessPopup: Shows assessment success pop up.- Location:
/src/lib/components/shared/AssessmentSuccessPopup.svelte
- Location:
SegmentTabs: .- Location:
/src/lib/components/goals/SegmentTabs.svelte
- Location:
GoalDetails: Displays the goal details and subgoals.- Location:
/src/lib/components/goals/GoalDetails.svelte
- Location:
GoalsList: Displays a list of goals..- Location:
/src/lib/components/goals/GoalsList.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/library/domains/${domainId}, fetches all goals.GET-/api/v1/school/ieps/${iepId}/summary_nodes/goals?tab_name=completed&domain_id=${domainId}, fetches all completed goals in a domain.GET-/api/v1/school/ieps/${iepId}/summary_nodes/goals?tab_name=in_progress&domain_id=${domainId}, fetches all the goals in progress.GET-/api/v1/school/ieps/${iepId}/summary_nodes/goals?tab_name=new&domain_id=${domainId}, fetches all the new goals available in a domain.GET-/api/v1/library/lesson_plan_subgoals?goal_id=${goalId}&q[sorts]=created_at+asc, fetches the lesson plan for a goal.GET-/api/v1/school/goals/${goalId}, gets all the subgoals in a goal.POST-/api/v1/school/students/${studentId}/onboarding/ieps/iep_assessments/, assesses each subgoal.POST-/api/v1/school/students/${studentId}/student_overrides, overrides the title of the subgoal.
Discussion¶
- Assesses the student performance by assessing each subgoal in a goal using API call
9. - Fetches completed, in progress and new goals in a domain using API Calls
4,5and6, respectively. - Fetches all the subgoals in a goal using the API call
9. - Fetches the lesson plans in a goal, if available, using API call
7. - Edits the subgoal title using API call
10.
Route: /school/${schoolId}/student/${studentId}/iep-creation/domains?domainId=${domainId}¶
Features¶
- Creates an IEP for a student newly onboarded.
- Displays all the categories and the goals in a domain.
- Subgoals are be added to the IEP.
Components¶
TopTabs: Displays the domain data.- Location:
/src/lib/components/shared/TopTabs.svelte
- Location:
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/TaskBar.svelte
- Location:
GoalDetails: Displays the goal details and subgoals.- Location:
/src/lib/components/goals/GoalDetails.svelte
- Location:
GoalsList: Displays a list of goals.- Location:
/src/lib/components/goals/GoalsList.svelte
- Location:
CreationCompletedPopup: Shows the iep completion pop up.- Location:
/src/lib/components/shared/CreationCompletedPopup.svelte
- Location:
API Calls¶
POST-/api/v1/school/students/${studentId}/ieps/${iepId}/subgoals, adds subgoals to the IEP.PATCH-/api/v1/school/students/${studentId}/ieps/${iepId}/subgoals/${subgoal.iep_subgoal_id}, removes the subgoals from the IEP.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/subgoals?goal_id=${goalId}, fetches all the goals in the subgoal.POST-/api/v1/school/students/${studentId}/student_overrides, edits the title of the subgoal.POST-/api/v1/school/students/${studentId}/school_subgoals, adds a custom subgoal.DELETE-/api/v1/school/students/${studentId}/school_subgoals/${subgoalId}, deletes the custom subgoal.
Discussion¶
- Adds subgoals to the IEP using API call
1. - Removes a subgoal from the iep using API call
2. - Creates a custom subgoal in a goal using API call
5. - Deletes the custom subgoal using API call
6.
Route: /school/${schoolId}/student/${studentId}/iep-preview¶
Features¶
- This is preview of the created iep.
- Sends the iep for approval.
- Sends an email to the parents.
- Approves and finalizes the IEP.
Components¶
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/TaskBar.svelte
- Location:
CurrentLevelPerformance: Proceeds to the next steps.- Location:
/src/lib/components/iep-preview/CurrentLevelPerformance.svelte
- Location:
StudentIepDetails: Displays student iep details.- Location:
/src/lib/components/iep-preview/StudentIepDetails.svelte
- Location:
IepPerformance: Displays student iep performance details.- Location:
/src/lib/components/iep-preview/IepPerformance.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentID}, fetches student details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.GET-/api/v1/school/profiles?all=true&classroom_id=${classroomId}, ===========.GET-/api/v1/school/ieps/${iepId}/summary_nodes?record_type=Library::Domain&record_id=${domainId}&depth=3, fetches the domain data.GET-/api/v1/school/ieps/${iepId}/previews/?domain_id=${domainId}, fetches iep subgoals data.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/notes?domain_id=${domainId}, fetches the notes for domains.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/notes, adds teacher, supervisor and parent notes.PATCH-/api/v1/school/students/${studentId}/ieps/${iepId}/notes/${noteId}, edits teacher and parent notes.PATCH-/api/v1/school/students/${studentId}/ieps/${iepId}/send_for_admin_approval, sends the iep for supervisor approval.POST-/school/students/${studentId}/ieps/${iepId}/send_email, sends an email to the parent.PATCH-/school/students/${studentId}/ieps/${iepId}/approve, approves iep.PATCH-/school/students/${studentId}/ieps/${iepId}/finalize, finalizes iep.
Discussion¶
- Fetches the domain data using the API call
4. - Can add teacher notes and parent notes using the API call
7. - Displays, adds and edits the parent,supervisor and teacher notes using the API call
6,7and8respectively. - Sends an email to the parent using the API call
9. - Sends the IEP to the supervisor for approval using the API call
9. - Approves the IEP using the API call
11. - Finalizes the IEP using the API call
12.
Route: /school/${schoolId}/student/${studentId}/daily-assessments?domainId=${domainId}¶
Features¶
- Displays the list of goals in each domain.
- Displays all the subgoals in a goal.
- Adds content to each subgoal.
- Adds assessment to each subgoal in a goal.
- Resets the assessments done.
- Displays previous assessments done.
- Adds reason for no assessment done on any given date.
- Deletes the reason.
- Displays a calendar in which all the assessment details are shown.
- Adds reason for no assessment done and deletes the reason added from the calendar.
- Adds new word to the word bank.
Components¶
GoalDetails: Displays the list of subgoals.- Location:
./GoalDetails.svelte
- Location:
HistoricalGoals: Displays the historical data for all the goals in a domain.- Location:
./HistoricalGoals.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.GET-/api/v1/library/domains/${domainId}, fetches domain details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_summaries/goals?domain_id=${domainId}, fetches all the goals in the iep for each domain.GET-/api/v1/library/lesson_plan_subgoals?goal_id=${goalId}&q[sorts]=created_at+asc, fetches the lesson plan for a goal.GET-/api/v1/library/goals/${goalId}, fetches goal details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_summaries/subgoals?goal_id=${goalId}, fetches iep subgoal details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/iep_materials?goal_id=${goalId}, fetches the iep materials details.GET-/api/v1/school/assessment_days/absent_days?student_id=${studentId}&start_date=${startDate}&end_date=${endDate}, fetches the dates for which assessments were not done for any (not even one) subgoal.GET-/api/v1/school/students/${studentId}/attendances?start=${startDate}&end=${endDate}&per_page=100, fetches the student attendance data.GET-/api/v1/school/calendar_days?per_page=100, fetches calendar holidays for a school.POST-/api/v1/school/students/${studentId}/words, adds a word to the wordbank.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/notes?noteable_id=${subgoal.id},${subgoal.iep_subgoal_id}¬eable_type=Library::Subgoal,School::IepSubgoal, fetches all the notes in a subgoal.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/notes, adds notes.PATCH-/api/v1/school/students/${studentId}/ieps/${iepId}/notes/${notesId}, edits notes.DELETE-/api/v1/school/students/${studentId}/ieps/${iepId}/notes/${notesId}, deletes notes.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_assessments, adds assessment for a subgoal for a date.DELETE-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_assessments/${assessmentId}, deletes assessment for a subgoal for a date.POST-/api/v1/school/assessment_days/bulk_assessments?student_id=${studentId}, adds reason for missing the assessment for a date.DELETE-/api/v1/school/assessment_days/${assessmentId}?student_id=${studentId}, deletes the reason added for missing the assessment.GET-/api/v1/library/materials?page=1&is_archived=false, fetches all the materials available.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/iep_materials, adds the materials to the iep subgoal.
Discussion¶
- Fetches the list of curriculums using the API call
1. - Fetches the student details using the API call
2. - Fetches the iep details using the API call
3. - Fetches the domain details using the API call
4. - Fetches the goals present in the iep for each domain using the API call
5. - Fetches the lesson plans for the goal using the API call
6. - Fetches goal details using the API call
7. - Fetches iep goals and iep subgoals using the API call
8. - Fetches the iep materials data using the API call
9. - Fetches all the dates for which assessment was not done for any(not even one) subgoal using the API call
10. - Fetches the student attendance data using the API call
11. - Fetches all the calendar holidays using the API call
12. - Adds a new word to the word bank for a student using the API call
13. - Fetches all the notes in a subgoal using the API call
14. - Adds notes to a subgoal using the API call
15. - Edits the notes present in a subgoal using the API call `16.
- Deletes the notes from a subgoal using the API call
17. - Adds assessment for a particular date using the API call
18. - Deletes assessment for a particular date using the API call
19. - Adds a reason for missing assessment for a particular date using the API call
20. - Deletes the reason added for missing assessment for a particular date using the API call
21. - Fetches all the materials available (to be added to a subgoal) using the API call
22. - Adds materials to an iep subgoal using the API call
23.
Route: /school/${schoolId}/student/${studentId}/materials-review?domainId=${domainId}¶
Features¶
- Adds, edits and deletes Materials from a subgoal.
- Prints Flashcards(Materials) in small, medium & large options.
- Can select between text only, image only & text and image.
- Creates, edits, deletes and duplicates a worksheet in the goal.
- Publiches or unpublishes a worksheet.
Components¶
TopTabs: Displays the domain data.- Location:
/src/lib/components/shared/TopTabs.svelte
- Location:
MaterialsGoalDetails: Displays the goal details.- Location:
/src/lib/componentsgoals/MaterialsGoalDetails.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches the list of curriculumsGET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.GET-/api/v1/library/domains/${domainId}, fetches domain details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_summaries/goals?domain_id=${domainId}, fetches all the goals in the iep for each domain.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/iep_materials?domain_id=${domainId}, fetches all the goal wise iep materials data.GET-/api/v1/library/lesson_plan_subgoals?goal_id=${goalId}&q[sorts]=created_at+asc, fetches the lesson plan for a goal.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_summaries/subgoals?goal_id=${goalId}, fetches iep subgoal details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/iep_materials?goal_id=${goalId}, fetches the iep materials details.GET-/api/v1/library/materials?page=1&is_archived=false, fetches all the materials available.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/iep_materials, adds the materials to the iep subgoal.GET-/api/v1/library/worksheet/tags, fetches all the tags.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets?goal_id=${goalId}, fetches the list of worksheets in the goal.POST-/api/v1/school/students${studentId}/ieps/${iepId}/worksheets, adds a new worksheet to the goal.POST-/api/v1/school/worksheets/${worksheetId}/transition, toggles between public and private for a worksheet in the goal.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets/${worksheetId}/duplicate, duplicates the worksheet.PATCH-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets/${worksheetId}, edits the worksheet.DELETE-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets/${worksheetId}, deletes the worksheet.POST-/api/v1/media, saves worksheet media.DELETE-/school/students/${studentId}/ieps/${iepId}/iep_materials/${materialId}, deletes a material from the subgoal.
Discussion¶
- Fetches the list of curriculums using the API call
1. - Fetches the iep details using the API call
2. - Fetches domain details using the API call
3. - Fetches all the goals in the iep for each domain using the API call
4. - Fetches all the iep materials data in each goal using the API call
5. - Fetches the lesson plan in a goal using the API call
6. - Fetches the subgoal details using the API call
7. - Fetches the iep material details using the API call
8. - Fetches all the materials available (to be added to a subgoal) using the API call
9. - Adds materials to an iep subgoal using the API call
10. - Deletes materials from an iep subgoal using the API call
19. - Fetches the tags using the API call
11. - Fetches the list of worksheets in a goal using the API call
12. - Adds a new worksheet to the goal using the API call
13. - Toggles between public and private to publish or unpublish the worksheet using the API call
14. - Duplicates or saves a worksheet using the API call
15. - Edits the worksheet using the API call
16. - Deletes the worksheet using the API call
17.
Route: /school/${schoolId}/student/${studentId}/materials-review/print-flashcards?flashcard_type=text-image¶
Features¶
- Prints/Downloads all the flashcards.
Components¶
pdfBaseTemplate: Base template for pdf generation.- Location:
./pdfBaseTemplate.svelte
- Location:
PdfGenerationLoader: Generates pdf.- Location:
./PdfGenerationLoader.svelte
- Location:
DownloadCompletePopup: Displays a download complete pop up.- Location:
./DownloadCompletePopup.svelte
- Location:
API Calls¶
POST-/api/v1/pdfs, creates the pdf to be downloaded.
Dicussion¶
- Downloads the pdf using the API call
1.
Route: /school/${schoolId}/onboarding/new-student?studentId=${studentId}¶
Features¶
- Fetches and edits student data.
Components¶
OnboardingTaskBar: Proceeds to the next steps.- Location:
/src/lib/components/shared/OnboardingTaskBar.svelte
- Location:
GuardianRow: Displays guardian details.- Location:
/src/lib/components/onboarding/GuardianRow.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches student data.PATCH-/api/v1/school/students/${studentId}, edits student data.
Discussion¶
- Fetches and edits the student data using the API Calls
1and2, respectively.
Route: /school/${schoolId}/studentId=${studentId}/word-bank¶
Features¶
- Adds and deletes a word from the word bank.
Components¶
AddWordModal: Interface to words.- Location:
./AddWordModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}/words?page=1, fetches all the words.GET-/school/students/${studentId}/words/search_and_filter?q[sorts]=updated_at desc&per_page=${perPage}&q[student_id_eq]=${studentId}, fetches recently added words.DELETE-/api/v1/school/students/${studentId}/words/${wordId}, deletes a word.POST-/api/v1/school/students/${studentId}/words, adds a new word.
Discussion¶
- Fetches all the words using the API call
1. - Fetches the recently added words using the API call
2. - Deletes the word using the API call
3. - Adds a new word using the API call
4.
Route: /school/${schoolId}/student/${studentId}/word-bank/preview?sort=${sortingType}&totalPages=${totalPages}¶
Features¶
- Downloads the words with or without first letter.
Components¶
pdfBaseTemplate: Base template for pdf generation.- Location:
./pdfBaseTemplate.svelte
- Location:
PdfGenerationLoader: Generates pdf.- Location:
./PdfGenerationLoader.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}/words?page=1, fetches all the words.POST-/api/v1/pdfs, creates and download the pdfs.
Discussion¶
- Fetches all the words using the API call
1. - Downloads the file using the API call
2.
Route: /school/${schoolId}/student/${studentId}/iep-list¶
Features¶
- Displays the list of ieps created for a student.
- Shows the iep preview.
API Calls¶
GET-/api/v1/school/students/${studentId}/ieps/daily_list, fetches the list of ieps.
Discussion¶
- Fetches the list of ieps created for a student using the API call
1. - Shows the iep preview by redirecting to the url:
/school/students/ieps?school_id=${schoolId}&student_id=${studentId}&iep_id=${iepId}&preview=true
Route: /school/${schoolId}/student/${studentId}/case-studies¶
Features¶
- Displays a list of filed and opened case studies.
- Archives case studies.
- Creates a follow to the case study.
Components¶
FollowUpCaseStudy: Shows an option to create a follow up for a case study.- Location:
/src/lib/components/case-study/FollowUpCaseStudy.svelte
- Location:
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches the case study for which follow up is to be created.POST-/api/v1/school/casestudies, creates a new case study.GET-/api/v1/school/casestudies?student_id=${studentId}&per_page=50&is_archived=false, fetches the list of case studies.PATCH-/api/v1/school/casestudies/${casestudyId, archives the case study.
Discussion¶
- Fetches the list of case studies using the API call
3. - Fetches the case study for which follow up is to be created using the API call
1. - Creates a case study using the API call
2. - Archives the case study uisng the API call
4.
Route: /school/${schoolId}/student/${studentId}/case-studies/create¶
Features¶
- Displays a list of case studies that can be filed.
- Creates a case study and redirects to
/${casestudyId}.
Components¶
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/case-study/TaskBar.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches the student details.POST- '/api/v1/school/casestudies', creates a new case suty.POST-/school/students/${studentId}/build_summary, builds a new student summary if applicable (it is built only foradd goals to iepandremove goals from iep).
Discussion¶
- Selects from a list of options for a case study to be filed.
- Upon selecting an option, it creates a new case study using the API call
2and redirects to/${casestudyId} - Creates a new student summary for a few options using the API call
3.
Route: /school/${schoolId}/student/${studentId}/case-studies/${casestudyId}¶
Features¶
- Displays the list of domains available for the case study.
- Redirects to
/domains-selectionto add more domains to the case study. - Redirects to
/domains?domainId=${domainId}to add sugboals to the case study. - Displays the list of goals and subgoals selected from the available/added domains.
Components¶
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/case-study/TaskBar.svelte
- Location:
CasestudyDomain: Displays the curriculums, domains and selected subgoals from a goal.- Location:
./CasestudyDomain.svelte
- Location:
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches case study details.GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/domains?domain_id=${domainId}, fetches the list of subgoal details selected from each domain.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/counts?domain_id=${domainId}, fetches the goal details (whose subgoals are selected) from each domain.
Discussion¶
- Fetches the case study details using the API call
1. - Fetches the list of curriculums using the API call
2. - Fetches all the subgoal details which are selected from the available/added domain using API call
3. - Fetches all the goal details (whose subgoals are selected) from the available/added domains using API call
4.
Route: /school/${schoolId}/student/${studentId}/case-studies/${casestudyId}/domains?domainId=${domainId}¶
Features¶
- Displays the list of goals (from which the subgoals are selected for the case study) in the available domain.
- Selects and adds the subgoals to the case study.
Components¶
GoalsList: Displays the list of goals.- Location:
/src/lib/components/goals/GoalsList.svelte
- Location:
CreationCompletedPopup: Displays the list of goals.- Location:
/src/lib/components/shared/CreationCompletedPopup.svelte
- Location:
GoalSubgoals: Displays the goal details and the list of subgoals in that goal.- Location:
./GoalSubgoals.svelte
- Location:
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches case study details.GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.GET-/api/v1/library/domains/${domainId}, fetches domain details.GET-/api/v1/school/casestudies/${casestudyId}/summaries/ongoing_goals?domain_id=${domainId}&page=1, fetches all the goals in progess from a domain.GET-/api/v1/school/casestudies/${casestudyId}/summaries/new_goals?domain_id=${domainId}&page=1, fetches all the new goals in a domain.POST-/api/v1/school/casestudies/${casestudyId}/subgoals, adds a subgoal to the case study.POST-/api/v1/school/students/${studentId}/school_subgoals, creates a custom subgoal in a goal.DELETE-/api/v1/school/students/${studentId}/school_subgoals/${subgoalId}, deletes the custom subgoal from a goal.GET-/api/v1/library/lesson_plan_subgoals?goal_id=${goalIs}&q[sorts]=created_at+asc, fetches the lesson plans available for the goal.POST-/api/v1/school/students/${studentId}/student_overrides, edits the subgoal title.GET-/api/v1/school/students/${studentId}/student_overrides?record_id=${subgoalId1},${subgoalId2},${subgoalId3}..., fetches any overridden for the subgoals.
Discussion¶
- Fetches the case study details using the API call
1. - Fetches the list of curriculums using the API call
2. - Fetches the student details using the API call
3. - Fetches the iep details using the API call
4. - Fetches the domaain details using the API call
5. - Fetches all the goals in progress and new goals available in a domain using the API calls
6&7respectively. - Adds a subgoal to the case study using the API call
8. - Creates and deletes a custom subgoal using the API calls
9&10respectively. - Edits the subgoal title using the API call
12. - Fetches the overriden data for the subgoals using the API call
13. - Fetches the lesson plans using the API call
11.
Route: /school/${schoolId}/student/${studentId}/case-studies/${casestudyId}/domains-selection¶
Features¶
- Displays the list of domains to be added to the case study.
- Adds the selected domains to the case study.
API Calls¶
GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/domains?curriculum_id=${curriculumId}, fetches the list of domains from the curriculum.GET-/api/v1/school/goals/count, fetches the goals count of each domain.GET-/api/v1/school/casestudies/${casestudyId}, fetches the case study details to display the selected domains.PATCH-/school/casestudies/${casestudyId}, adds the selected domains to the case study.
Discussion¶
- Fetches the list of curriculums using the API call
1. - Fetches and displays the list of domains and goal count of each domain using the API calls
2&3respectively. - Fetches the case study details to dsiplay the selected domains from the list of domains using the API call
4. - Adds the selected domains to the case study. using the API call
5.
Route: /school/${schoolId}student/${studentId}/case-studies/${casestudyId}/remove-domains/selection¶
Features¶
- Displays the available domains.
- Selects from the domains to be removed from the iep.
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches case study details to display the domains available in the iep.
Discussion¶
- Displays the list of domains available in the iep using the API call
1. - Selects the domains for the case study (remove domains from the iep).
Route: /school/${schoolId}/student/${studentId}/case-studies/${casestudyId}/observation¶
Features¶
- Previews the case study information before sending it for supervisor approval.
- Adds or edits the Observation notes.
- Sends the case study for approval if applicable.
Components¶
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/case-study/TaskBar.svelte
- Location:
DomainObservation: Displays the data created in the case study.- Location:
./DomainObservation.svelte
- Location:
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches case study details.GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/school/casestudies/${caseStudyId}/requires_approval, indicates the case study requires approval to be finalized.POST-/api/v1/school/casestudies/${caseStudyId}/notes, creates observation notes.GET-/api/v1/school/casestudies/${caseStudyId}/notes, fetches observation notes.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/domains?domain_id=${domainId}, fetches the list of subgoal details selected from each domain.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/counts?domain_id=${domainId}, fetches the goal details (whose subgoals are selected) from each domain.GET-/api/v1/school/students/${studentId}/student_overrides?record_id=${subgoalId1},${subgoalId2},${subgoalId3}..., fetches any overridden for the subgoals.POST-/school/casestudies/${caseStudyId}/send_for_approval, sends the case study for approval.POST-/api/v1/school/casestudies/${caseStudyId}/approve, approves the case study.POST-/api/v1/school/casestudies/${caseStudyId}/reject, rejects the case study.
Discussion¶
- Fetches the case study details using the API call
1. - Fetches the student details using the API call
2. - Fetches the overriden data for the subgoals using the API call
8. - Creates and fetches the observation notes using the API calls
4&5. - Fetches all the subgoal details which are selected from the available/added domain using API call
6. - Fetches all the goal details (whose subgoals are selected) from the available/added domains using API call
7. - Sends the case study to the supervisor for approval using the API call
9. - Supervisor approves the case study using the API call
10. - Supervisor rejects the case study using the API call
11.
Route: /school/${schoolId}/student/${studentId}/case-studies/${casestudyId}/finalize¶
Features¶
- After the case study is approved by the supervisor, the case study details are displayed.
- Creates a meeting and adds participants to the meeting.
- Adds agreeement notes.
- Finalizes the case study.
Components¶
TaskBar: Proceeds to the next steps.- Location:
/src/lib/components/case-study/TaskBar.svelte
- Location:
DomainObservation: Displays the data created in the case study.- Location:
../observation/DomainObservation.svelte
- Location:
CaseStudyParticipantsSelection: Displays and selects the participants for the meeting.- Location:
./CaseStudyParticipantsSelection.svelte
- Location:
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches case study details.GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/domains?domain_id=${domainId}, fetches the list of subgoal details selected from each domain.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/counts?domain_id=${domainId}, fetches the goal details (whose subgoals are selected) from each domain.POST-/api/v1/school/casestudies/${caseStudyId}/notes, creates the agreement notes.PATCH-/api/v1/school/casestudies/${caseStudyId}/notes, edits the agreement notes.GET-/api/v1/school/casestudies/${caseStudyId}/notes, fetches observation and agreement notes.GET-/api/v1/school/students/${studentId}/student_overrides?record_id=${subgoalId1},${subgoalId2},${subgoalId3}..., fetches any overridden for the subgoals.POST-/api/v1/school/casestudies/${caseStudyId}/finalize, finalizes the case study.PATCH-/api/v1/school/students/${studentId}, adds a new parent/guardian.POST-/api/v1/school/casestudies/${casestudyId}/participants, Adds the participants for the meeting.GET-/api/v1/school/casestudies/${casestudyId}/participants, fetches the participants for the meeting.DELETE-/api/v1/school/casestudies/${casestudyId}/participants/${participantId}, deletes the selected participants from the meeting.
Discussion¶
- Fetches the case study details using the API call
1. - Fetches the student details using the API call
2. - Fetches all the subgoal details which are selected from the available/added domain using API call
3. - Fetches all the goal details (whose subgoals are selected) from the available/added domains using API call
4. - Fetches the overriden data for the subgoals using the API call
7. - Creates and edits the agreement notes using the API calls
5&6. - Fetches the obsevation notes using the API call
7. - Adds a new parent/guardian for the student using the API call
10. - Adds the participants to the meeting using the API call
11. - Fetches the participants for the meeting using the API call
12. - Deletes the participant from the meeting using the API call
13. - Finalizes the case study using the API call
9.
Route: school/${schoolId}/student/${studentId}/case-studies/${casestudyId}/finalize/preview¶
Features¶
- Generates a pdf file of the case study details for it to be downloaded.
Components¶
DomainObservation: Displays the data created in the case study.- Location:
../../observation/DomainObservation.svelte
- Location:
PdfDownloadSuccessPopup: Shows the download success pop up.- Location:
/src/$lib/components/shared/PdfDownloadSuccessPopup.svelte'
- Location:
pdfBaseTemplate: Base template for pdf generation.- Location:
./pdfBaseTemplate.svelte
- Location:
API Calls¶
GET-/api/v1/school/casestudies/${casestudyId}, fetches case study details.GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/school/casestudies/${casestudyId}/participants, fetches the participants for the meeting.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/domains?domain_id=${domainId}, fetches the list of subgoal details selected from each domain.GET-/api/v1/school/casestudies/${casestudyId}/subgoals/counts?domain_id=${domainId}, fetches the goal details (whose subgoals are selected) from each domain.GET-/api/v1/school/students/${studentId}/student_overrides?record_id=${subgoalId1},${subgoalId2},${subgoalId3}..., fetches any overridden for the subgoals.POST-/api/v1/pdfs, generates the pdf of the case study and downloads the file.
Discussion¶
- Fetches the case study details using the API call
1. - Fetches the student details using the API call
2. - Fetches the overriden data for the subgoals using the API call
6. - Fetches the participants for the meeting using the API call
3. - Fetches all the subgoal details which are selected from the available/added domain using API call
4. - Fetches all the goal details (whose subgoals are selected) from the available/added domains using API call
5. - Generates the pdf file and downloads the file using the API call
7.
Route: /school/${schoolId}/student/${studentId}/reports¶
Features¶
- Displays all the reports, both filed and open reports.
- Archives the selected reports.
- Generates a new report and redirects to
/${reportId}, where the report can be sent for approval and after approval it can be filed.
Components¶
CreateReportModal: Modal for generating a new report.- Location:
./CreateReportModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}/reports?per_page=50&is_archived=false, fetches the list of reportsPATCH-/api/v1/school/students/${studentId}/reports/${reportId}, archives the selected reports.POST-/api/v1/school/students/${studentId}/reports, generates a new report.
Discussion¶
- Fetches the list of reports for the student using the API call
1. - Archives the selected reports using the API call
2. - Generates a new report using the API
3.
Route: /school/${schoolId}/student/${studentId}/reports/${reportId}?reportKind=active_iep¶
Features¶
- Fetches all the report items, for example: total_subgoals, total_words, completed_subgoals, learned_words etc...
- Displays all the goals along with the subgoals and the latest assessment done for the subgoal.
- On clicking the
Print PrevieworShare ReportRedirects to the print preview page/preview?reportKind=active_iep.
Components¶
DomainOverview: Gives an overview of all the domains with the goals and subgoals and the latest assessment done for that subgoal.- Location:
./DomainOverview.svelte
- Location:
ReportHeader: Header for the report.- Location:
./ReportHeader.svelte
- Location:
Avatar: Displays the student image if available or else the first alphabet of their name.- Location:
/src/lib/components/menubar/Avatar.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches student data to be displayed in the report.GET-/api/v1/school/profiles?all=true&classroom_id=${classroomDetails}, fetches the users that have access to the student.GET-/api/v1/school/students/${studentId}/reports/${reportId}, fetches the report details.GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/students/${studentId}/reports/${reportId}/report_items/search_and_filter?q[sorts]=position%20asc&page=1, fetches all the report items and sorts them as per the position.POST-/api/v1/school/students/${studentId}/reports/${reportId}/notes, creates the notes.GET-/api/v1/school/students/${studentId}/reports/${reportId}/notes, fetches the notes.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_summaries/subgoals?goal_id=${goalId}, fetches the assessments for the subgoals.POST-/api/v1/school/students/${studentId}/reports/${reportId}/send_for_approval, sends the report for supervisor approval.POST-/api/v1/school/students/${studentId}/reports/${reportId}/approve, approves the report.POST-/api/v1/school/students/${studentId}/reports/${reportId}/finalize, files the report.
Discussion¶
- Fetches the student details using the API call
1. - Fetches all the users data that have access to the student using the API call
2. - Fetches the report details using the API call
3. - Fetches all the curriculum details using the API call
4. - Fetches all the report items and sorts them as per the position using the API call
5. - Creates the report notes using the API call
6. - Fetches the report notes using the API call
7. - Fetches the assessments data for the subgoal using the API call
8. - Sends the report for supervisor approval using the API call
9. - Supervisor approves the report using the API call
10. - Files the report using the API call
11.
Route: /school/${schoolId}/student/${studentId}/reports/${reportId}/preview?reportKind=active_iep¶
Features¶
- Downloads the pdf of the report.
- Generates a link to download the report.
- Emails the report to the guardian.
- Previews the report.
Components¶
DomainOverview: Gives an overview of all the domains with the goals and subgoals and the latest assessment done for that subgoal.- Location:
../DomainOverview.svelte
- Location:
ReportHeader: Header for the report.- Location:
../ReportHeader.svelte
- Location:
Avatar: Displays the student image if available or else the first alphabet of their name.- Location:
/src/lib/components/menubar/Avatar.svelte
- Location:
pdfBaseTemplate: Base template for pdf generation.- Location:
../pdfBaseTemplate.svelte
- Location:
ReportPdfSharingModal: Sends email or displays the download link.- Location:
./ReportPdfSharingModal.svelte
- Location:
PdfDownloadSuccessPopup: Shows the download success pop up.- Location:
/src/$lib/components/shared/PdfDownloadSuccessPopup.svelte'
- Location:
EmailReportsSuccessModal: Shows the email sent successfully pop up.- Location:
./EmailReportsSuccessModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches student data to be displayed in the preview.GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/profiles?all=true&classroom_id=${classroomDetails}, fetches the users that have access to the student.GET-/api/v1/school/students/${studentId}/reports/${reportId}/report_items/search_and_filter?q[sorts]=position%20asc&page=1, fetches all the report items and sorts them as per the position.GET-/api/v1/school/students/${studentId}/reports/${reportId}/notes, fetches the notes.GET-/api/v1/school/students/${studentId}/ieps/${iepId}/daily_summaries/subgoals?goal_id=${goalId}, fetches the assessments for the subgoals.POST-/api/v1/media, generates media.POST-/api/v1/pdfs, generates pdf.GET-/api/v1/school/students/${studentId}/reports/${reportId}/generate_share_token, makes the download report link accessable to everyone with the link.POST-/api/v1/school/students/${studentId}/reports/${reportId}/send_email, sends email.
Discussion¶
- API calls from
1to6are used to fetch and preview the student report. - Generates media for sharing the report using the API call
7. - Generates pdf using the API call
8. - Sends email to the guardian using the API call
10. - Generates a token which makes the download report link accessable to anyone with the link without logging in, using the API call
9.
Route: /school/${schoolId}/student/${studentId}/attendance¶
Features¶
- Shows the attendance calendar.
- Displays calendar holidays and attendance data.
- Marks absent or resets the attendance (present by default).
- Adds reason for no assessment and shows the added reason for that date.
- Can delete the added reason for no assessment for that data.
Components¶
AttendanceCalendar: Shows the Attendance Calendar.- Location:
/src/lib/components/AttendanceCalendar.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches student details.GET-/api/v1/school/students/${studentId}/attendances?start=${startDate}&end=${endDate}&per_page=100, fetches the attendance data of the student.GET-/api/v1/school/calendar_days?start_date=${startDate}&end_date=${endDate}&per_page=100, fetches calendar holidays.GET-/api/v1/school/assessment_days/absent_days?student_id=${studentId}&start_date=${startDate}&end_date=${endDate}, fetches the dates for which assessment was not done for any subgoal.GET-/api/v1/school/assessment_days/search_and_filter?q[student_id_eq]=${studentId}&q[date_gt]=${startDate}&q[date_lt]=${endDate}&per_page=100, fetches the dates for which no assessment reason was added.POST-/api/v1/school/assessment_days/bulk_assessments?student_id=${studentId}, adds reason for no assessment.POST-/api/v1/school/students/${studentId}/attendances, marks a student absent for a selected date.DELETE-/api/v1/school/students/${studentId}/attendances/${attendanceId}, resets the attendance.
Discussion¶
- Fetches student details using the API call
1. - Fetches the student attendance data using the API call
2. - Fetches the calendar holidays using the API call
3. - Fetches the dates for which no assessment was done for any subgoal using the API call
4. - Fetches the dates and the associated data for which reason for no assessment was added using the API call
5. - Adds reason for no assessment for a date using the API call
6. - Marks a student absent or resets the attendance using the API calls
7&8respectively.
Route: /school/${schoolId}/student/${studentId}/parent-reports¶
Features¶
- Creates a new report.
- Displays all the generated reports.
- After the report generation, redirects to
/${reportId}
Components¶
CreateReportModal: Modal for generating a new report.- Location:
'../reports/CreateReportModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/parent_reports/search_and_filter?student_id=${studentId}, fetches the list of reports.POST-/api/v1/school/parent_reports, generates a new report.
Discussion.¶
- Fetches the list of parent reports for the student using the API call
1. - Generates a new report using the API call
2.
Route: /school/${schoolId}/student/${studentId}/parent-reports/${reportId}¶
Features¶
- Teacher fills the form.
- Sends it for supervisor approval.
- Supervisor approves or rejects the report.
Components¶
DomainSection: Displays the domain details (like the categories and all the available goals and subgoals in it).- Location:
'/src/lib/components/parent-report/DomainSection.sveltefrom '$';
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches the student details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.GET-/api/v1/school/parent_reports/${reportId}, fetches the parent report details.GET-/api/v1/school/ieps/${iepId}/previews/?domain_id=${domainId}, fetches the domain details.GET-/api/v1/school/ieps/${iepId}/summary_nodes/search_and_filter?q[iep_student_id_eq]=${studentId}&q[iep_id_eq]=${iepId}&q[status_eq]=completed&q[type_eq]=School::IepSummaryNode::Subgoal&per_page=1000, fetches the completed subgoals data in the iep.GET-/api/v1/school/parent_reports/${reportId}/subgoals?per_page=1000, fetches all the subgoals added to the report.POST-/api/v1/school/parent_reports/${reportId}/subgoals, adds subgoal to the report.POST-/api/v1/school/parent_reports/${reportId}/send_for_approval, sends the report for supervisor approval.POST-/api/v1/school/parent_reports/${reportId}/approve, approves the report.POST-/api/v1/school/parent_reports/${reportId}/reject, rejects the report.
Discussion¶
- Fetches the student details, iep details and report details using the API calls
1,2&3, respectively. - Fetches the iep domain details using the API call
4. - Fetches the completed subgoals data in the iep using the API call
5. - Fetches all the subgoals data added to the report using the API call
6. - Adds the subgoals to the report using the API call
7. - Send the report for supervisor approval using the API call
8. - Approves or rejects the report using the API calls
9or10.
Route: /school/${schoolId}/student/${studentId}/parent-reports/${reportId}/preview¶
Features¶
- Previews the report details.
- Prints the IEP.
- Sends the report to the parent for approval.
- Generates and downloads the pdf.
Components¶
PreviewDomainSection: Displays the domain details (like the categories and all the available goals and subgoals in it).- Location:
'/src/lib/components/parent-report/preview/PreviewDomainSection.svelte
- Location:
pdfBaseTemplate: Base template for pdf generation.- Location:
../pdfBaseTemplate.svelte
- Location:
ReportPdfSharingModal: Sends email or displays the download link.- Location:
../../../reports/[reportId]/preview/ReportPdfSharingModal.svelte
- Location:
API Calls¶
GET-/api/v1/school/students/${studentId}, fetches the student details.GET-/api/v1/school/students/${studentId}/ieps/${iepId}, fetches iep details.GET-/api/v1/school/parent_reports/${reportId}, fetches the parent report details.GET-/api/v1/school/ieps/${iepId}/previews/?domain_id=${domainId}, fetches the domain details.GET-/api/v1/school/ieps/${iepId}/summary_nodes/search_and_filter?q[iep_student_id_eq]=${studentId}&q[iep_id_eq]=${iepId}&q[status_eq]=completed&q[type_eq]=School::IepSummaryNode::Subgoal&per_page=1000, fetches the completed subgoals data in the iep.GET-/api/v1/school/parent_reports/${reportId}/subgoals?per_page=1000, fetches all the subgoals added to the report.POST-/api/v1/pdfs, generates pdf.POST-/api/v1/school/shared_entities?include_encoded_share_token=true, makes the download report link accessable to everyone with the link.POST-/api/v1/media, generates media.POST-/api/v1/school/parent_reports/${reportId}/send_email, sends email.
Discussion¶
- Fetches the data from API calls
1to6to display all the report info in the preview. - Generates pdf using the API call
7. - Generates media using the API call
9. - Sends email to the guardian using the API call
10. - Makes the download link accessable to anyone with the link without having to login using the API call
8.
Tab: Class Groups¶
Route: /school/${schoolId}/classroom/classgroups?domainId=${domainId}¶
Features¶
- Shows goalwise summaries for each domain.
- Toggles between Historical and Current Year to display the goal wise summaries.
- Creates and adds common worksheet for a goal.
Components¶
TopTabs: Displays the domain data.- Location:
/src/lib/components/shared/TopTabs.svelte
- Location:
GoalSummary: Displays goal wise summary.- Location:
./GoalSummary.svelte
- Location:
ToggleSwitch: Toggles between Historical and Current year.- Location:
/src/lib/components/shared/ToggleSwitch.svelte
- Location:
CommonGoalCard: Displays all the common goals data.- Location:
/src/lib/components/class-groups/CommonGoalCard.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/library/domains?per_page=50, fetches all the domains.GET-/api/v1/school/classgroup/goal_wise_student_summary?classroom_id=${classroomId}&domain_id=${domainId}&is_historical=false&page=1&per_page=25, fetches goalwise summary for each domain.POST-/api/v1/school/worksheets/search_and_filterPOST-/api/v1/school/worksheets, creates a new worksheet.POST-/api/v1/school/classgroup/download_csv?classroom_id=${classroomId}&domain_id=${domainId}&goal_id=${goalId}&is_historical=undefined, exports the classgroup info in a CSV file for the goal.POST-/api/v1/school/classgroup/download_csv?classroom_id=${classroomId}&domain_id=${domainId}&is_historical=false, exports all the classgroups info in a CSV file.
Discussion¶
- Fetches the list of curriculums and domains using the API calls
1&2. - Fetches the goal wise summary using the API call
3. - Creates a new worksheet using the API call
5. - Export the class group data for a single goal and downloads a CSV file, using the API call
6. - Exports all the classgroups data and downloads a CSV file, using the API call
7.
Tab: Materials Library¶
Route: /school/${schoolId}/classroom/materials¶
Features¶
- Displays the materials and lesson plans.
Components¶
DomainCard: Shows all the domains.- Location:
/src/lib/components/classroom/MaterialsDomainCard.svelte
- Location:
DomainGoals: Displays domain goals.- Location:
./DomainGoals.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches the list of curriculums.GET-/api/v1/school/domains?curriculum_id=${curriculumId}, fetches the list of domains in the curriculum.GET-/api/v1/school/goals?domain_id=${domainId}&page=1, fetches the list of goals in the domain.GET-/api/v1/library/material_entities?entity_id=${subgoalId}, fetches the materials in the subgoal.GET-/api/v1/library/lesson_plan_subgoals?goal_id=${goalId}&q[sorts]=created_at+asc, fetches the lesson plans.GET-/api/v1/richtext_records?owner_id=${lessonPlanId}, fetches the lesson plans in the rich text format.
Discussion¶
- Fetches the curriculums and list of domains in each curriculum using the API calls
1&2. - Fetches goals in each domain using the API call
3. - Fetches the materials and lesson plans using the API calls
4&5. - Fetches the lesson plans in rich text format using the API call
6.
Tab: Classroom Worksheets¶
Route: /school/${schoolId}/classroom/worksheets¶
Features¶
- Fetches the list of worksheets, tags and domains.
- Redirects to
/worksheetfor creating a new worksheet. - Edits the worksheet.
- Duplicates, prints and deletes the worksheet.
Components¶
TeacherWorksheetListing: Displays the list of worksheets.- Location:
/src/lib/components/worksheet/listing/TeacherWorksheetListing.svelte
- Location:
AdminWorksheetsListing: Displays the list of admin worksheets.- Location:
/src/lib/components/worksheet/listing/AdminWorksheetsListing.svelte
- Location:
SearchPanel: Search bar.- Location:
/src/lib/components/worksheet/listing/SearchPanel.svelte
- Location:
AlertFirefoxModal: Shows an alert dialogue box, when opened in Mozilla Firefox.- Location:
/src/lib/components/shared/AlertFirefoxModal.svelte
- Location:
API Calls¶
GET-/api/v1/library/worksheet/tags, fetches the worksheet tags.GET-/api/v1/library/domains?per_page=50, fetches the list of domains.POST-/api/v1/school/worksheets/search_and_filter, fetches the list of worksheets as per the query string.POST-/api/v1/library/worksheets/search_and_filter?per_page=50, fetches the list of all worksheetsPOST-/api/v1/school/worksheets/${worksheetId}/transition, toggles between public and private for a worksheet in the goal.POST-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets/${worksheetId}/duplicate, duplicates the worksheet.DELETE-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets/${worksheetId}, deletes the worksheet.POST-/api/v1/media, saves worksheet media.PATCH-/api/v1/school/students/${studentId}/ieps/${iepId}/worksheets/${worksheetId}, edits the worksheet.
Discussion¶
- Fetches the worksheet tags using the API call
1. - Fetches the list of domains (to filter the worksheets) using the API call
2. - Fetches the list of worksheets using the API call
3. - Fetches the worksheets as per the query string entered in the search bar using the API call
3. - Toggles between public and private to publish or unpublish the worksheet using the API call
5. - Duplicates or saves a worksheet using the API call
6. - Deletes the worksheet using the API call
7. - Edits the worksheet using the API call
9.
Route: /school/${schoolId}/classroom/worksheets/worksheet¶
Features¶
- creates a new worksheet.
Components¶
SidePanel: Shows all the side panel options.- Location:
/src/lib/components/worksheet/SidePanel.svelte
- Location:
WorksheetBuilder: Has all the elements to build the worksheet.- Location:
/src/lib/components/worksheet/WorksheetBuilder.svelte
- Location:
API Calls¶
GET-/api/v1/school/curriculums, fetches all the curriculums.GET-/api/v1/library/domains?curriculum_id=${curriculumId}, fetches all the domains in the curriculums.GET-/api/v1/library/materials?page=2&is_archived=false, fetches all the materials which can be added in the worksheet.GET-/api/v1/library/tags?page=1, fetches all the tags.POST-/api/v1/school/worksheets, creates the worksheet.POST-/api/v1/media, saves the worksheet media.
Discussion¶
- Creates a worksheet using the API call
5.
Tab: Content Library¶
Route: /school/${schoolId}/classroom/content-library¶
Features¶
- Displays all the tags.
- Displays all the materials also known as flashcards.
- Selects the flashcards with various size and type options to be printed.
- Redirects to
/print-flashcards?flashcard_type=${flashcardType}for printing the flashcard.
Components¶
FlashcardTypesFilter: Displays the flashcard types.- Location:
/src/lib/components/subgoals/FlashcardTypesFilter.svelte
- Location:
ContentCart: Displays the selected flashcards.- Location:
/src/lib/components/shared/ContentCart.svelte
- Location:
API Calls¶
GET-/api/v1/library/materials?page=1&is_archived=false, fetches all the materials (aka Flashcards).GET-/api/v1/library/tags?page=1, fetches all the tags.GET-/api/v1/library/materials?query_material_text=${queryString}&page=1&is_archived=false, fetches the materials as per the query string.GET-/api/v1/library/materials?tag=${tagName}&page=1&is_archived=false, gets the materials by tag name.
Discussion¶
- Materials are also known as Flashcards. Fetches all materials using the API call
1. - Fetches all the tags using the API call
2. - Fetches the materials as per the query string entered in the searchbar using the API call
3. - Fetches the material by tag name using the API call
4.
Route: /school/${schoolId}/classroom/content-library/print-flashcards?flashcard_type=${flashcardType}¶
Features¶
- Downloads the flashcards as per the size and flashcard type selected in the previous screen.
Components¶
pdfBaseTemplate: Base template for pdf generation.- Location:
./pdfBaseTemplate.svelte
- Location:
API Calls¶
GET-/api/v1/pdfs, generates the pdf.
Discussion¶
- Generates the pdf file and downloads it using the API call
1.
Tab: To-Do's¶
Route: /school/${schoolId}/classroom/todos¶
Features¶
- Displays all the reminders.
API Calls¶
GET-/api/v1/school/tasks/search_and_filter?q[staff_id_eq]=${staffId}e&q[sorts]=created_at%20desc, fetches the list of reminders.
Discussion¶
- Fetches all the reminders using the API call
1.