gocast icon indicating copy to clipboard operation
gocast copied to clipboard

Search Box to search for courses, streams and subtitles

Open SebiWrn opened this issue 1 year ago • 3 comments

Motivation and Context

This Change solves the problem of finding lectures in a large list of lectures. It also enhances the search for subtitles or streams in courses. Closes #1337.

Description

The change adds a search bar at the top of every page where you can search for courses or contents of a course, depending if you're on a course page or on the home page.

Steps for Testing

You can't test this change on the Testserver system.

You have to set up your own local instance of TUM-Live for testing and also have to setup your own meilisearch service. To start the meilisearch service, you can run the following command:

docker run -it --rm \
    -p 7700:7700 \
    -e MEILI_MASTER_KEY='MASTER_KEY'\
    -v $(pwd)/meili_data:/meili_data \
    getmeili/meilisearch:v1.9 \
    meilisearch --env="development"

If the data isn't automatically exported to meilisearch, you can run this job from the Maintenance Tab in the Admin panel.

You can enter your search query in the search bar on every page or you can press 'Enter' while the search bar is focused to see the full search page with filters etc.

SebiWrn avatar Sep 20 '24 13:09 SebiWrn

Your Testserver will be ready at https://1380.test.live.mm.rbg.tum.de in a few minutes.

Logins
Kurs1 Kurs2 Kurs3 Kurs4
public public loggedin enrolled
prof1 prof1 prof2 prof1
prof2
student1
student2
student3
student1
student2
student2
student3
student1
student2

github-actions[bot] avatar Sep 20 '24 13:09 github-actions[bot]

From my point of view, there is nothing left to review. There are a few threads (like https://github.com/TUM-Dev/gocast/pull/1380#discussion_r1804770695) which are not quite resolved, but from my point nothing blocks merging.

CommanderStorm avatar Oct 21 '24 13:10 CommanderStorm

From my point of view, there is nothing left to review.

@CommanderStorm Thanks for your review and suggestions, it was much appreciated! :)

karjo24 avatar Oct 24 '24 15:10 karjo24