feat: org and course student analytics page (#509)

* UI initialization

* feat: structure API

* feat: audience & people analytics

* feat: quick changes

* feat: add comments

* redesign course student page

* chore: make requests to db more efficient

* clean up analytics page for course

* feat: finish up audience analytics page

* chore: minor UI tweaks

* translate all

* replace inserts of log in events to update

* catch error if last_login isn't inserted

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Adeyemi Adetunji
2024-12-30 02:59:10 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 381776f388
commit f69bf920a9
46 changed files with 1916 additions and 437 deletions
@@ -2,9 +2,11 @@
export let value = 0;
</script>
<div class="w-full h-3 rounded-md bg-gray-300 relative">
<div class="relative h-2 w-full rounded-md bg-gray-300">
<span
class="progress absolute top-0 left-0 rounded-md bg-primary-700 h-full"
class="progress bg-primary-700 absolute left-0 top-0 h-full rounded-l-md {value === 100
? 'rounded-r-md'
: ''}"
style="width: {value}%;"
/>
</div>