Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add students records to student profile #242

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

endoooo
Copy link
Contributor

@endoooo endoooo commented Dec 20, 2024

added a "Student records" tab to the student profile.

resolves #224

preparing for student records in student page

- created `ScrollToTop` hook
- created `StudentRecordOverlayComponent`, which handles student record display and edit/delete
- deleted `StudentRecordFormOverlayComponent` (in favor of `StudentRecordOverlayComponent`)
- deleted student record details route (`/students_records/:id`) in favor of overlay
- added support to `size` and `type = "submit"` attrs in `<.action>` component
- created `StudentsRecordsComponents` with `<.students_records_data_grid>` component
- added student record tab in student page (not functional yet, it's listing all records as in students records page)
- adjusted `Schools.list_classes_ids_for_student_in_date/2` to `Schools.list_classes_for_students_in_date/2`
- fixed duplicated results in `StudentsRecords.list_students_records/1`
- added support to `new_record_initial_fields` attr in `StudentRecordOverlayComponent`
…ith_name>`

now we can navigate directly to the student page in different contexts

- added student links in `<.students_grades_report_full_grid>` and `<.students_grades_grid>`
- added student links in `<.students_records_data_grid>`
- added student links in `<.student_and_report_card_row>` and `<.student_row`>
@endoooo endoooo linked an issue Dec 20, 2024 that may be closed by this pull request
@endoooo endoooo merged commit bc215de into main Dec 20, 2024
2 checks passed
@endoooo endoooo deleted the 224-add-students-records-to-student-profile branch December 20, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add student's records to student profile
1 participant