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()
});
@@ -582,7 +582,11 @@
"no_description": "Keine Beschreibung",
"start": "Start",
"graded": "Benotet",
"pending": "Ausstehend"
"pending": "Ausstehend",
"submitted": "Eingereicht",
"status_pending": "Status: Ausstehende Überprüfung",
"status_graded": "Status: Überprüfung abgeschlossen",
"status_submitted": "Status: Eingereicht"
},
"edit_mode": {
"delete_modal": "Modal löschen",
@@ -611,7 +615,9 @@
"heading": "Beschreibung",
"describe": "Beschreiben Sie Ihrem Schüler die Übung",
"no": "Keine Beschreibung"
}
},
"no_answer": "Es wurde keine Antwort gegeben",
"check": "Überprüfen"
},
"new_exercise_modal": {
"heading": "Neue Übung",
@@ -709,12 +715,12 @@
"modal_heading": "Neue Lektion hinzufügen",
"lesson_title": "Titel der Lektion",
"click_to": "Klicke um",
"lock": "sperren",
"unlock": "Freischalten",
"fullname": "vollständiger Name",
"save": "Speichern",
"edit": "Bearbeiten",
"delete": "Löschen"
"delete": "Löschen",
"lock": "Sperren",
"unlock": "Freischalten"
},
"disabled": "Funktion ist deaktiviert"
},
@@ -499,8 +499,8 @@
"modal_heading": "Add New Lesson",
"lesson_title": "Lesson Title",
"click_to": "Click to",
"lock": "lock",
"unlock": "unlock",
"lock": "Lock",
"unlock": "Unlock",
"fullname": "fullname",
"save": "Save",
"edit": "Edit",
@@ -629,6 +629,7 @@
"order_questions": "Order questions",
"write_your_answer": "Write your answer",
"write_your_answer_here": "Write your answer here",
"no_answer": "No answer was provided",
"write_your_question_here": "Write your question here",
"write_your_title": "Write your title here",
"write_your_subtitle": "Write your subtitle here",
@@ -645,6 +646,7 @@
"previous": "Previous",
"finish": "Finish",
"next": "Next",
"check": "Check",
"description": {
"title": "Title",
"heading": "Description",
@@ -684,7 +686,11 @@
"no_description": "No description",
"start": "Start",
"graded": "Graded",
"pending": "Pending"
"pending": "Pending",
"submitted": "Submitted",
"status_pending": "Status: Pending Review",
"status_graded": "Status: Review Completed",
"status_submitted": "Status: Submitted"
},
"analytics": {
"summary": {
@@ -582,7 +582,11 @@
"no_description": "Sin descripción",
"start": "Comenzar",
"graded": "Calificado",
"pending": "Pendiente"
"pending": "Pendiente",
"submitted": "Enviado",
"status_pending": "Estado: Pendiente de revisión",
"status_graded": "Estado: Revisión completada",
"status_submitted": "Estado: Enviado"
},
"edit_mode": {
"delete_modal": "Eliminar modal",
@@ -611,7 +615,9 @@
"heading": "Descripción",
"describe": "Describe el ejercicio a tu estudiante.",
"no": "Sin descripción"
}
},
"no_answer": "No se proporcionó respuesta",
"check": "Controlar"
},
"new_exercise_modal": {
"heading": "Nuevo ejercicio",
@@ -709,12 +715,12 @@
"modal_heading": "Agregar nueva lección",
"lesson_title": "Título de la lección",
"click_to": "Haga clic para",
"lock": "cerrar",
"unlock": "desbloquear",
"fullname": "nombre completo",
"save": "Ahorrar",
"edit": "Editar",
"delete": "Borrar"
"delete": "Borrar",
"lock": "Cerrar",
"unlock": "desbloquear"
},
"disabled": "La característica está deshabilitada"
},
@@ -582,7 +582,11 @@
"no_description": "Pas de description",
"start": "Commencer",
"graded": "Noté",
"pending": "En attente"
"pending": "En attente",
"submitted": "Soumis",
"status_pending": "Statut : En attente d'examen",
"status_graded": "Statut : Examen terminé",
"status_submitted": "Statut : Soumis"
},
"edit_mode": {
"delete_modal": "Supprimer le modal",
@@ -611,7 +615,9 @@
"heading": "Description",
"describe": "Décrivez l'exercice à votre élève",
"no": "Pas de description"
}
},
"no_answer": "Aucune réponse n'a été fournie",
"check": "Vérifier"
},
"new_exercise_modal": {
"heading": "Nouvel exercice",
@@ -709,12 +715,12 @@
"modal_heading": "Ajouter une nouvelle leçon",
"lesson_title": "Titre de la leçon",
"click_to": "Cliquez pour",
"lock": "verrouillage",
"unlock": "ouvrir",
"fullname": "nom et prénom",
"save": "Sauvegarder",
"edit": "Modifier",
"delete": "Supprimer"
"delete": "Supprimer",
"lock": "Verrouillage",
"unlock": "Ouvrir"
},
"disabled": "La fonctionnalité est désactivée"
},
@@ -582,7 +582,11 @@
"no_description": "कोई विवरण नहीं",
"start": "शुरू",
"graded": "ग्रेड दिया गया",
"pending": "लंबित"
"pending": "लंबित",
"submitted": "प्रस्तुत",
"status_pending": "स्थिति: समीक्षा लंबित",
"status_graded": "स्थिति: समीक्षा पूरी हुई",
"status_submitted": "स्थिति: सबमिट किया गया"
},
"edit_mode": {
"delete_modal": "मोडल हटाएँ",
@@ -611,7 +615,9 @@
"heading": "विवरण",
"describe": "अपने विद्यार्थी को व्यायाम का वर्णन करें",
"no": "कोई विवरण नहीं"
}
},
"no_answer": "कोई उत्तर नहीं दिया गया",
"check": "जाँच करना"
},
"new_exercise_modal": {
"heading": "नया व्यायाम",
@@ -709,12 +715,12 @@
"modal_heading": "नया पाठ जोड़ें",
"lesson_title": "पाठ का शीर्षक",
"click_to": "के लिए क्लिक करें",
"lock": "ताला",
"unlock": "अनलॉक",
"fullname": "पूरा नाम",
"save": "बचाना",
"edit": "संपादन करना",
"delete": "मिटाना"
"delete": "मिटाना",
"lock": "ताला",
"unlock": "अनलॉक"
},
"disabled": "सुविधा अक्षम है"
},
@@ -582,7 +582,11 @@
"no_description": "Sem descrição",
"start": "Começar",
"graded": "Classificado",
"pending": "Pendente"
"pending": "Pendente",
"submitted": "Submetido",
"status_pending": "Status: revisão pendente",
"status_graded": "Status: Revisão concluída",
"status_submitted": "Status: Enviado"
},
"edit_mode": {
"delete_modal": "Excluir Modal",
@@ -611,7 +615,9 @@
"heading": "Descrição",
"describe": "Descreva o exercício para seu aluno",
"no": "Sem descrição"
}
},
"no_answer": "Nenhuma resposta foi fornecida",
"check": "Verificar"
},
"new_exercise_modal": {
"heading": "Novo exercício",
@@ -709,12 +715,12 @@
"modal_heading": "Adicionar nova lição",
"lesson_title": "Título da lição",
"click_to": "Clique para",
"lock": "trancar",
"unlock": "desbloquear",
"fullname": "nome completo",
"save": "Salvar",
"edit": "Editar",
"delete": "Excluir"
"delete": "Excluir",
"lock": "Trancar",
"unlock": "Desbloquear"
},
"disabled": "O recurso está desativado"
},
@@ -582,7 +582,11 @@
"no_description": "без описания",
"start": "Начинать",
"graded": "Оцененный",
"pending": "В ожидании"
"pending": "В ожидании",
"submitted": "Поданный",
"status_pending": "Статус: Ожидает рассмотрения",
"status_graded": "Статус: Проверка завершена",
"status_submitted": "Статус: Отправлено"
},
"edit_mode": {
"delete_modal": "Удалить модальное окно",
@@ -611,7 +615,9 @@
"heading": "Описание",
"describe": "Опишите упражнение своему ученику.",
"no": "без описания"
}
},
"no_answer": "Ответ не был предоставлен",
"check": "Проверять"
},
"new_exercise_modal": {
"heading": "Новое упражнение",
@@ -709,12 +715,12 @@
"modal_heading": "Добавить новый урок",
"lesson_title": "Название урока",
"click_to": "Нажмите для",
"lock": "замок",
"unlock": "разблокировать",
"fullname": "полное имя",
"save": "Сохранять",
"edit": "Редактировать",
"delete": "Удалить"
"delete": "Удалить",
"lock": "Замок",
"unlock": "Разблокировать"
},
"disabled": "Функция отключена"
},
@@ -582,7 +582,11 @@
"no_description": "Không có mô tả",
"start": "Bắt đầu",
"graded": "Đã chấm điểm",
"pending": "Chưa giải quyết"
"pending": "Chưa giải quyết",
"submitted": "Đã gửi",
"status_pending": "Trạng thái: Đang chờ xem xét",
"status_graded": "Trạng thái: Đánh giá đã hoàn thành",
"status_submitted": "Trạng thái: Đã gửi"
},
"edit_mode": {
"delete_modal": "Xóa phương thức",
@@ -611,7 +615,9 @@
"heading": "Sự miêu tả",
"describe": "Mô tả bài tập cho học sinh của bạn",
"no": "Không có mô tả"
}
},
"no_answer": "Không có câu trả lời nào được đưa ra",
"check": "Kiểm tra"
},
"new_exercise_modal": {
"heading": "Bài tập mới",
@@ -709,12 +715,12 @@
"modal_heading": "Thêm bài học mới",
"lesson_title": "Tiêu đề bài học",
"click_to": "Bấm vào để",
"lock": "khóa",
"unlock": "mở khóa",
"fullname": "Họ và tên",
"save": "Cứu",
"edit": "Biên tập",
"delete": "Xóa bỏ"
"delete": "Xóa bỏ",
"lock": "Khóa",
"unlock": "Mở khóa"
},
"disabled": "Tính năng bị vô hiệu hóa"
},