Add new "Usage" tab to event details - #1670
Draft
Arnei wants to merge 1 commit into
Draft
Conversation
Adds a new tab to the event details that display basic statistics information from the new Opencast endpoints for basic statistics, aka it display views and watchtime. Initially display just total views and watchtime, but also has a details page that displays them per day or hour for a given date range. Is completely unrelated to the already existing statitistics tab in the event details (which shows up if you have a statistics provider like Matomo configured). That's why it is called "Usage" and tries to not share any exisitng code (unless it makes sense, e.g. bar chart).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new tab to the event details that displays basic statistics information from the new Opencast endpoints for basic statistics, aka it display views and watchtime.
Initially displays just total views and watchtime, but also has a details page that displays them per day or hour for a given date range.
Is completely unrelated to the already existing statistics tab in the event details (which shows up if you have a statistics provider like Matomo configured).
That's why it is called "Usage" and tries to not share any existing code (unless it makes sense, e.g. bar chart).
Still a draft for now because I am waiting for internal feedback, but should be ready for testing already. So any feedback is welcome :)
How to test this
You will need an Opencast with the backend PR opencast/opencast#8002 installed. The frontend shouldn't break without it, but it also won't do anything without it.
AI Usage
This has been assisted by Claude Sonnet 5 in various places.