Skip to content

Add integration with events library

What does this MR do?

This adds the upcoming events to dashboard, adds a button under recent courses that redirects users to all events. This also adds a button inside every courseClass that redirects users to the schedule of that course class.

Inside the new teaching events module, there are some resolvers defined to be used for routing notably

  • EventConfigResolver which returns the model for the advanced table configuration,
  • CourseClassIDResolver which returns the endpoint alongside the filter for courseClass and section
  • IsAllowedResolver and ShowActionButtonResolver which return false every time

Users can also download their schedule either class by class or their whole timetable depending on the view.

Screenshot_from_2021-08-02_14-49-01

Screenshot_from_2021-08-02_17-22-45

Screenshot_from_2021-08-02_17-22-33

Related issues and links

Fix

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