Skip to content

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

Draft
drikusroor wants to merge 2 commits into
developfrom
feat/chart-prototype
Draft

Draft: Implement prototype of analytics dashboard that can be expanded upon#1432
drikusroor wants to merge 2 commits into
developfrom
feat/chart-prototype

Conversation

@drikusroor
Copy link
Copy Markdown
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
@drikusroor drikusroor assigned Solcany and unassigned drikusroor Jan 16, 2025
@drikusroor
Copy link
Copy Markdown
Contributor Author

drikusroor commented Jan 16, 2025

@Solcany I've assigned this issue to you since you are working on it now (or later) :-)

@drikusroor
Copy link
Copy Markdown
Contributor Author

@Solcany is this PR draft still relevant or should we close it?

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.

2 participants