Skip to content

feat(transcript): inform user if required attributes are missing

What does this MR do?

This mr checks if any StudentCourse has missing required fields like the semester or the course type and informs the users about the error. It shows a modal window that instructs them to inform the registrar about that error.

When getting the student courses it checks for those missing attributes, and if there is any invalid structured course, it draws the modal. The users can then close the modal and view their transcript and those courses would be under Missing courses attribute category

Screenshot_from_2021-10-20_16-21-04

Screenshot_from_2021-10-20_16-20-44

Screenshot_from_2021-10-20_16-20-00

Screenshot_from_2021-10-21_00-17-41

Related issues and links

Fix #527 (closed)

Other relevant links

Developer Checklist

  • I have successfully run the code of this merge request locally

  • I have verified locally that my changes work for all necessary screen sizes

  • I have tried out the changes of this MR with different users to identify bugs

  • Coding is in progress, and I have marked the MR as WIP

  • Coding is completed and the MR is ready for review

  • My branch is up-to-date with the upstream master branch

  • My MR follows the contribution guidelines

  • I have added a comment with screenshots of the code running locally

Tech review Checklist

Have you verified that what is supposed to happen, actually does, and what is not supposed to happen, indeed does not?

  • The MR accurately describes the changes and has a relevant title/description
  • The MR does what it is supposed to according to its title, description and related issues/links
  • I have successfully run the changes locally, and tried the new code

Overall review Checklist

  • The MR references related issues/MRs
  • The MR provides links to screens and screenshots
  • The commits of the MR describe the changes, have proper wording, and follow the guidelines
  • I have successfully run the changes locally, and tried the new code
  • The MR is ready for merge (rebased, commit squashed if needed, etc)
Edited by Pavlos Karakalidis

Merge request reports