UnlockedLabs / UnlockEdv2

5 stars 12 forks source link

Course catalog search/sort functionality #269

Open calisio opened 1 week ago

calisio commented 1 week ago

Overview

The student view of “course catalog” does not have a search or sort functionality implemented yet. Below is a view of what the UI should look like.

course catalog search sort

Relevant files

These should live in the CourseCatalog.tsx file. The handler is in /backend/src/handlers/dashboard.go and the call to the database is in /backend/src/database/user_catalogue.go.

Sorting/filtering should already be implemented in the backend for tags, see the call to the database for instructions (should be able to call more than one tag). Courses can be saved/unsaved at the moment, but the filtering of saved courses is not yet implemented (and the button in the top right does not exist).

Tasks to complete ticket

pd3000 commented 1 week ago

Since the learning platforms we're integrated with also have a notion of catalogs and categories is there a way we could bring in a category context to organize the catalog? I ask to inform how we could arrive at showing only courses that were earned time credit earning as an example - which is part of the lower pill on each course card.