How portabilis/i-diario works
i-Diário is a teacher portal integrated with i-Educar. Its broad workflow is selecting a user profile and using the portal’s school, classroom, attendance, assessment, planning, and reporting features; it also exposes an API for enrollment attendance status. The tree shows these product areas, but most implementation files were not sampled, so their internal call paths are omitted. The API controller-to-service flow and profile-selector imports are directly evidenced; other product relationships are not asserted.
Main entry points: ProfileChanger.vue Profile Selector · enrollment_daily_frequency_statuses_service.rb Status Aggregation · app.js Vue App Mount · enrollment_daily_frequency_statuses_controller.rb Enrollment Status API
Components 23
Teacher Portal
- Profile Selector
app/javascript/components/ProfileChanger.vue - Vue App Mount
app/javascript/packs/app.js - Role Selection
app/javascript/components/CurrentRole.vue - School Selection
app/javascript/components/CurrentUnity.vue - School Year
app/javascript/components/CurrentSchoolYear.vue - Class Selection
app/javascript/components/CurrentClassroom.vue - Teacher Selection
app/javascript/components/CurrentTeacher.vue - Discipline Selection
app/javascript/components/CurrentDiscipline.vue - Teacher Profile
app/javascript/components/TeacherProfile.vue
Academic Records
- Attendance
app/controllers/daily_frequencies_controller.rb - Assessments
app/controllers/avaliations_controller.rb - Student Enrollments
app/controllers/student_enrollments_controller.rb - Reports
app/reports/attendance_record_report.rb
Planning and Calendar
- Lesson Plans
app/controllers/discipline_lesson_plans_controller.rb - Teaching Plans
app/controllers/teaching_plans_controller.rb - School Calendar
app/controllers/school_calendars_controller.rb - Individual Plans
app/controllers/individualized_educational_plans_controller.rb
API and Integration
- Enrollment Status API
app/controllers/api/v2/enrollment_daily_frequency_statuses_controller.rb - Status Aggregation
app/services/api/enrollment_daily_frequency_statuses_service.rb
Application Data
- Enrollment Records
app/models/student_enrollment.rb - Frequency Records
app/models/daily_frequency_student.rb
Other components
- Teacher
- i-Educar
Connections 12
- Vue App Mount → Profile Selector: mounts
app/javascript/packs/app.js - Profile Selector → Role Selection: renders
app/javascript/components/ProfileChanger.vue - Profile Selector → School Selection: renders
app/javascript/components/ProfileChanger.vue - Profile Selector → School Year: renders
app/javascript/components/ProfileChanger.vue - Profile Selector → Class Selection: renders
app/javascript/components/ProfileChanger.vue - Profile Selector → Teacher Selection: renders
app/javascript/components/ProfileChanger.vue - Profile Selector → Discipline Selection: renders
app/javascript/components/ProfileChanger.vue - Profile Selector → Teacher Profile: renders
app/javascript/components/ProfileChanger.vue - Enrollment Status API → Status Aggregation: calls
app/controllers/api/v2/enrollment_daily_frequency_statuses_controller.rb - Status Aggregation → Enrollment Records: queries
app/services/api/enrollment_daily_frequency_statuses_service.rb - Status Aggregation → Frequency Records: aggregates
app/services/api/enrollment_daily_frequency_statuses_service.rb - i-Educar → Vue App Mount: integrates with portal