chore: use session to update lastSeen and UI tweaks

This commit is contained in:
Rotimi Best
2024-12-30 12:25:43 +01:00
parent f69bf920a9
commit ae55349f27
5 changed files with 7 additions and 19 deletions
@@ -81,8 +81,6 @@
}
$: gradeWithAI = isGradeWithAI;
$: console.log('grade', grade, 'hideGrading', hideGrading);
</script>
<form on:submit|preventDefault={handleFormSubmit}>
@@ -421,15 +421,3 @@ interface Tabs {
id: number;
name: string;
}
export interface StudentStat {
username: string;
progressPercentage: number;
pendingCourses: Course[];
completedCourses: Course[];
totalLessons: number;
totalLessonsCompleted: number;
totalExercise: number;
totalExercisesCompleted: number;
totalLmsEntry: number;
}