ubclaunchpad / ratemycourse

2 stars 1 forks source link

USER STORY FOR HOME PAGE #36

Closed AnnieZhou08 closed 6 years ago

AnnieZhou08 commented 6 years ago

Recently Opened: • Displays the most recently opened courses by the user • This information can be retrieved from “searchHistory” NOTE I have modified the data structure from a simple ArrayList to a PriorityQueue; this way we can manage the size and always push the most recently used course to the top 😊 • @Luxi-Zhao since this is your feature, please decide on max-size for priorityQueue as well as how many courses you want to display • NOTE: please handle the case when the user has not recently opened any courses – we need to converse over it Recommended: • Should take account into: interest, major, as well as graduation year • There are two ways to implement this: either caching the recommended courses in database or refreshing it every time randomly (I suggest the latter as it is more dynamic) Popular: • There are many ways to implement this – most amount of people taking it; most amount of comments (feedback); the ones with the highest ratings; • You can work on the first two retrievals; for this one we would probably need to restructure our database again to handle the amount of sorting needed General Req: • All courses should be clickable, scrollable and moving onto a course page (already done)