stephenneale / seng371-group16

Contains Group 16's work for SENG371 A02 - Group 16, Spring 2023
0 stars 1 forks source link

Make each piece of course content clickable #45

Closed matt-lebl closed 1 year ago

matt-lebl commented 1 year ago

When a piece of course content is clicked, it should open its own page. This should basically just be a frontend change, but an API endpoint should be hit each time the user opens a page, to power the "recent pages" functionality.

matt-lebl commented 1 year ago

You can use the view endpoint defined in ad03036.

stephenneale commented 1 year ago

Courses now have content categorized into 4 types:

As for the scope of the project we only have "Announcement" data, functionality has been added to allow the viewing of content in the Announcement section. Upon viewing an announcement, the backed recent post endpoint will be reached, and the new Frequently Viewed bar on the homepage will be updated accordingly. See more in the developments PR.