chore: simplify grading for self paced course (#326)

* updated the grading flow for self paced course

* updated some logic and translations

* fix bug with newsfeed not opening for students and fix more bugs

* remove console

* add blog template route

* add doc page

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Em_Dev
2024-05-25 05:50:14 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 44087c458e
commit fc0b91a493
23 changed files with 144 additions and 176 deletions
@@ -15,11 +15,6 @@ const lessonSchema = z.object({
title: z.string().nonempty({ message: 'Title cannot be empty' }),
lesson_at: z.string().optional(),
call_url: z.string().nullable().optional(),
profile: z
.object({
id: z.string().optional()
})
.optional(),
is_unlocked: z.boolean()
});