Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Implement prototype of analytics dashboard that can be expanded upon #1432

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

drikusroor
Copy link
Contributor

Introduce a prototype of an analytics dashboard using TypeScript and Chart.js, along with a new API endpoint for exporting block data in the admin interface that can be used to build the real analytics dashboard.

As this is a prototype, it is also an invitation to criticise this setup and / or ask questions about things that aren't clear yet.

How to get this to work?

For the typescript project that contains the scripts for the charts, check https://github.com/Amsterdam-Music-Lab/MUSCLE/blob/76f5440707907f867bc4519f94fb3aa066f9a4b9/backend/experiment/static/analytics/README.md

The transpiled Javascript files are committed into the repository so they should work "out of the box". See also: https://github.com/Amsterdam-Music-Lab/MUSCLE/blob/76f5440707907f867bc4519f94fb3aa066f9a4b9/backend/experiment/static/analytics

Navigate to http://localhost:8000/admin/experiment/analytics/block/{id} to see the dashboard of a block in question. Be sure to use a block id of a block that has at least some sessions and results.

@drikusroor drikusroor self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant