feat: organisation home page with analytics (#532)
This commit is contained in:
@@ -905,16 +905,6 @@
|
||||
"create_course": "Kurs erstellen",
|
||||
"view_site": "Website ansehen",
|
||||
"visit_site": "Besuche die Website",
|
||||
"hero_content": "Vielen Dank für das, was Sie tun ❤️. Sie verändern das Leben von Klassenzimmer zu Klassenzimmer und dank Ihnen ist die Welt ein besserer Ort. 😊",
|
||||
"hero_button": "Bauen Sie weiter 🚀",
|
||||
"your_schedule": "Dein Zeitplan",
|
||||
"today": "Heute",
|
||||
"yesterday": "Gestern",
|
||||
"tomorrow": "Morgen",
|
||||
"no_schedule": "An diesem Tag gibt es keinen Unterricht",
|
||||
"join_call": "Nehmen Sie am Anruf teil",
|
||||
"click_to_join": "Klicken Sie hier, um am Anruf teilzunehmen",
|
||||
"no_call_link": "Für diese Lektion wurde kein Anruflink hinzugefügt. Fragen Sie Ihren Trainer",
|
||||
"current_lesson": "Derzeit lernen",
|
||||
"your_progress": "Dein Fortschritt",
|
||||
"continue": "Weitermachen",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "Heute ist ein weiterer Tag, um Sie Ihren Lernzielen näher zu bringen. Geben Sie nicht auf, je mehr Sie lernen, desto besser werden Sie.",
|
||||
"dont": "Gib nicht auf",
|
||||
"lessons_completed": "Lektionen abgeschlossen",
|
||||
"No_courses_started": "Es wurden keine Kurse gestartet"
|
||||
"no_courses_started": "Es wurden keine Kurse gestartet",
|
||||
"revenue": "Einnahmen",
|
||||
"revenue_description": "Ungefährer Umsatz aus Kursverkäufen",
|
||||
"no_of_courses": "Anzahl der Kurse",
|
||||
"no_courses_description": "Innerhalb dieser Organisation erstellte Kurse",
|
||||
"total_students": "Gesamtzahl der Studierenden",
|
||||
"total_students_description": "Basierend auf den Einschreibungen der Studierenden",
|
||||
"top_courses": "Top-Kurse",
|
||||
"students": "Studenten",
|
||||
"completion": "Fertigstellung",
|
||||
"create_first_course": "Erstellen Sie Ihren ersten Kurs",
|
||||
"create_first_course_description": "Beginnen Sie mit der Erstellung von Kursen, um den Kursfortschritt zu verfolgen",
|
||||
"recent_enrollments": "Aktuelle Anmeldungen",
|
||||
"publish_first_course": "Veröffentlichen Sie Ihren ersten Kurs",
|
||||
"publish_first_course_description": "Um Anmeldungen zu verfolgen, veröffentlichen Sie einen Kurs und laden Sie Studierende ein",
|
||||
"publish_course": "Kurs veröffentlichen"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "Dein Zeitplan",
|
||||
|
||||
@@ -441,16 +441,6 @@
|
||||
"create_course": "Create Course",
|
||||
"view_site": "View Site",
|
||||
"visit_site": "Visit Website",
|
||||
"hero_content": "Thank you for what you do ❤️. You are changing lives one classroom at a time and thanks to you, the world is a better place. 😊",
|
||||
"hero_button": "Keep Building 🚀",
|
||||
"your_schedule": "Your Schedule",
|
||||
"today": "Today",
|
||||
"yesterday": "Yesterday",
|
||||
"tomorrow": "Tomorrow",
|
||||
"no_schedule": "No lesson on this day",
|
||||
"join_call": "Join call",
|
||||
"click_to_join": "Click to join the call",
|
||||
"no_call_link": "No call link was added for this lesson. Ask your trainer",
|
||||
"current_lesson": "Currently Learning",
|
||||
"your_progress": "Your Progress",
|
||||
"continue": "Continue",
|
||||
@@ -459,7 +449,22 @@
|
||||
"lms_dashboard_hero": "Today is another day to bring you closer to your learning goals. Don’t give up, the more you learn the better you get.",
|
||||
"dont": "Don't give up",
|
||||
"lessons_completed": "Lessons completed",
|
||||
"No_courses_started": "No courses started"
|
||||
"no_courses_started": "No courses started",
|
||||
"revenue": "Revenue",
|
||||
"revenue_description": "Approximate revenue made from course sales",
|
||||
"no_of_courses": "Number of courses",
|
||||
"no_courses_description": "Courses created within this organization",
|
||||
"total_students": "Total students",
|
||||
"total_students_description": "Based on student enrollments",
|
||||
"top_courses": "Top Courses",
|
||||
"students": "students",
|
||||
"completion": "completion",
|
||||
"create_first_course": "Create Your First Course",
|
||||
"create_first_course_description": "Start creating courses to track course progress",
|
||||
"recent_enrollments": "Recent Enrollments",
|
||||
"publish_first_course": "Publish Your First Course",
|
||||
"publish_first_course_description": "To track enrollments, publish a course and invite students",
|
||||
"publish_course": "Publish Course"
|
||||
},
|
||||
|
||||
"ai": {
|
||||
|
||||
@@ -905,16 +905,6 @@
|
||||
"create_course": "Crear curso",
|
||||
"view_site": "Ver sitio",
|
||||
"visit_site": "Visita el sitio web",
|
||||
"hero_content": "Gracias por lo que haces ❤️. Estás cambiando vidas aula a aula y gracias a ti, el mundo es un lugar mejor. 😊",
|
||||
"hero_button": "Sigue construyendo 🚀",
|
||||
"your_schedule": "Tu agenda",
|
||||
"today": "Hoy",
|
||||
"yesterday": "Ayer",
|
||||
"tomorrow": "Mañana",
|
||||
"no_schedule": "No hay lección en este día",
|
||||
"join_call": "Unirse a la llamada",
|
||||
"click_to_join": "Haga clic para unirse a la llamada",
|
||||
"no_call_link": "No se agregó ningún enlace de llamada para esta lección. Pregúntale a tu entrenador",
|
||||
"current_lesson": "Actualmente aprendiendo",
|
||||
"your_progress": "Su progreso",
|
||||
"continue": "Continuar",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "Hoy es otro día para acercarte a tus objetivos de aprendizaje. No te rindas, cuanto más aprendas, mejor serás.",
|
||||
"dont": "no te rindas",
|
||||
"lessons_completed": "Lecciones completadas",
|
||||
"No_courses_started": "No se iniciaron cursos"
|
||||
"no_courses_started": "No se iniciaron cursos",
|
||||
"revenue": "Ganancia",
|
||||
"revenue_description": "Ingresos aproximados obtenidos de las ventas de cursos",
|
||||
"no_of_courses": "Número de cursos",
|
||||
"no_courses_description": "Cursos creados dentro de esta organización.",
|
||||
"total_students": "Estudiantes totales",
|
||||
"total_students_description": "Basado en la matrícula de estudiantes",
|
||||
"top_courses": "Cursos principales",
|
||||
"students": "estudiantes",
|
||||
"completion": "terminación",
|
||||
"create_first_course": "Crea tu primer curso",
|
||||
"create_first_course_description": "Comience a crear cursos para realizar un seguimiento del progreso del curso",
|
||||
"recent_enrollments": "Inscripciones recientes",
|
||||
"publish_first_course": "Publica tu primer curso",
|
||||
"publish_first_course_description": "Para realizar un seguimiento de las inscripciones, publicar un curso e invitar a estudiantes",
|
||||
"publish_course": "Publicar curso"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "Tu agenda",
|
||||
|
||||
@@ -905,16 +905,6 @@
|
||||
"create_course": "Créer un cours",
|
||||
"view_site": "Voir le site",
|
||||
"visit_site": "Visitez le site Web",
|
||||
"hero_content": "Merci pour ce que vous faites ❤️. Vous changez des vies, une classe à la fois et grâce à vous, le monde est meilleur. 😊",
|
||||
"hero_button": "Continuez à construire 🚀",
|
||||
"your_schedule": "Votre emploi du temps",
|
||||
"today": "Aujourd'hui",
|
||||
"yesterday": "Hier",
|
||||
"tomorrow": "Demain",
|
||||
"no_schedule": "Pas de cours ce jour",
|
||||
"join_call": "Rejoindre l'appel",
|
||||
"click_to_join": "Cliquez pour rejoindre l'appel",
|
||||
"no_call_link": "Aucun lien d'appel n'a été ajouté pour cette leçon. Demandez à votre entraîneur",
|
||||
"current_lesson": "En cours d'apprentissage",
|
||||
"your_progress": "Votre progression",
|
||||
"continue": "Continuer",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "Aujourd'hui est un autre jour pour vous rapprocher de vos objectifs d'apprentissage. N'abandonnez pas, plus vous apprenez, mieux vous vous améliorez.",
|
||||
"dont": "N'abandonne pas",
|
||||
"lessons_completed": "Leçons terminées",
|
||||
"No_courses_started": "Aucun cours n'a commencé"
|
||||
"no_courses_started": "Aucun cours n'a commencé",
|
||||
"revenue": "Revenu",
|
||||
"revenue_description": "Revenus approximatifs provenant de la vente de cours",
|
||||
"no_of_courses": "Nombre de cours",
|
||||
"no_courses_description": "Cours créés au sein de cette organisation",
|
||||
"total_students": "Nombre total d'étudiants",
|
||||
"total_students_description": "Basé sur les inscriptions des étudiants",
|
||||
"top_courses": "Meilleurs cours",
|
||||
"students": "étudiants",
|
||||
"completion": "achèvement",
|
||||
"create_first_course": "Créez votre premier cours",
|
||||
"create_first_course_description": "Commencez à créer des cours pour suivre la progression des cours",
|
||||
"recent_enrollments": "Inscriptions récentes",
|
||||
"publish_first_course": "Publiez votre premier cours",
|
||||
"publish_first_course_description": "Pour suivre les inscriptions, publier un cours et inviter des étudiants",
|
||||
"publish_course": "Publier un cours"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "Votre emploi du temps",
|
||||
|
||||
@@ -905,16 +905,6 @@
|
||||
"create_course": "पाठ्यक्रम बनाएं",
|
||||
"view_site": "साइट देखें",
|
||||
"visit_site": "बेवसाइट देखना",
|
||||
"hero_content": "आप जो करते हैं उसके लिए धन्यवाद ❤️। आप एक समय में एक कक्षा में जीवन बदल रहे हैं और आपके लिए धन्यवाद, दुनिया एक बेहतर जगह है। 😊",
|
||||
"hero_button": "निर्माण करते रहें 🚀",
|
||||
"your_schedule": "आपका समय - सारणी",
|
||||
"today": "आज",
|
||||
"yesterday": "कल",
|
||||
"tomorrow": "कल",
|
||||
"no_schedule": "इस दिन कोई पाठ नहीं",
|
||||
"join_call": "कॉल में शामिल हों",
|
||||
"click_to_join": "कॉल में शामिल होने के लिए क्लिक करें",
|
||||
"no_call_link": "इस पाठ के लिए कोई कॉल लिंक नहीं जोड़ा गया था. अपने प्रशिक्षक से पूछें",
|
||||
"current_lesson": "वर्तमान में सीख रहा हूँ",
|
||||
"your_progress": "आपकी प्रगति",
|
||||
"continue": "जारी रखना",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "आज का दिन आपको आपके सीखने के लक्ष्यों के करीब लाने का एक और दिन है। हार मत मानो, जितना अधिक सीखोगे उतना बेहतर हो जाओगे।",
|
||||
"dont": "हिम्मत मत हारो",
|
||||
"lessons_completed": "पाठ पूरा हुआ",
|
||||
"No_courses_started": "कोई पाठ्यक्रम शुरू नहीं हुआ"
|
||||
"no_courses_started": "कोई पाठ्यक्रम शुरू नहीं हुआ",
|
||||
"revenue": "आय",
|
||||
"revenue_description": "पाठ्यक्रम की बिक्री से प्राप्त अनुमानित राजस्व",
|
||||
"no_of_courses": "पाठ्यक्रमों की संख्या",
|
||||
"no_courses_description": "इस संगठन के अंतर्गत बनाए गए पाठ्यक्रम",
|
||||
"total_students": "कुल छात्र",
|
||||
"total_students_description": "छात्र नामांकन के आधार पर",
|
||||
"top_courses": "शीर्ष पाठ्यक्रम",
|
||||
"students": "छात्र",
|
||||
"completion": "समापन",
|
||||
"create_first_course": "अपना पहला कोर्स बनाएं",
|
||||
"create_first_course_description": "पाठ्यक्रम की प्रगति को ट्रैक करने के लिए पाठ्यक्रम बनाना प्रारंभ करें",
|
||||
"recent_enrollments": "हाल के नामांकन",
|
||||
"publish_first_course": "अपना पहला पाठ्यक्रम प्रकाशित करें",
|
||||
"publish_first_course_description": "नामांकन पर नज़र रखने के लिए, एक पाठ्यक्रम प्रकाशित करें और छात्रों को आमंत्रित करें",
|
||||
"publish_course": "पाठ्यक्रम प्रकाशित करें"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "आपका समय - सारणी",
|
||||
|
||||
@@ -905,16 +905,6 @@
|
||||
"create_course": "Criar curso",
|
||||
"view_site": "Ver site",
|
||||
"visit_site": "Visite o site",
|
||||
"hero_content": "Obrigado pelo que você faz ❤️. Você está mudando vidas, uma sala de aula de cada vez e, graças a você, o mundo é um lugar melhor. 😊",
|
||||
"hero_button": "Continue construindo 🚀",
|
||||
"your_schedule": "Sua programação",
|
||||
"today": "Hoje",
|
||||
"yesterday": "Ontem",
|
||||
"tomorrow": "Amanhã",
|
||||
"no_schedule": "Nenhuma lição neste dia",
|
||||
"join_call": "Participar da chamada",
|
||||
"click_to_join": "Clique para participar da chamada",
|
||||
"no_call_link": "Nenhum link de chamada foi adicionado para esta lição. Pergunte ao seu treinador",
|
||||
"current_lesson": "Atualmente aprendendo",
|
||||
"your_progress": "Seu progresso",
|
||||
"continue": "Continuar",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "Hoje é mais um dia para aproximar você de seus objetivos de aprendizagem. Não desista, quanto mais você aprende melhor você fica.",
|
||||
"dont": "Não desista",
|
||||
"lessons_completed": "Lições concluídas",
|
||||
"No_courses_started": "Nenhum curso iniciado"
|
||||
"no_courses_started": "Nenhum curso iniciado",
|
||||
"revenue": "Receita",
|
||||
"revenue_description": "Receita aproximada obtida com vendas de cursos",
|
||||
"no_of_courses": "Número de cursos",
|
||||
"no_courses_description": "Cursos criados nesta organização",
|
||||
"total_students": "Total de alunos",
|
||||
"total_students_description": "Com base nas matrículas dos alunos",
|
||||
"top_courses": "Principais cursos",
|
||||
"students": "estudantes",
|
||||
"completion": "conclusão",
|
||||
"create_first_course": "Crie seu primeiro curso",
|
||||
"create_first_course_description": "Comece a criar cursos para acompanhar o progresso do curso",
|
||||
"recent_enrollments": "Inscrições recentes",
|
||||
"publish_first_course": "Publique seu primeiro curso",
|
||||
"publish_first_course_description": "Para rastrear matrículas, publicar um curso e convidar alunos",
|
||||
"publish_course": "Publicar curso"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "Sua programação",
|
||||
|
||||
@@ -905,16 +905,6 @@
|
||||
"create_course": "Создать курс",
|
||||
"view_site": "Посмотреть сайт",
|
||||
"visit_site": "Посетите вебсайт",
|
||||
"hero_content": "Спасибо за то, что вы делаете ❤️. Вы меняете жизнь каждого класса за раз, и благодаря вам мир становится лучше. 😊",
|
||||
"hero_button": "Продолжайте строить 🚀",
|
||||
"your_schedule": "Твое расписание",
|
||||
"today": "Сегодня",
|
||||
"yesterday": "Вчера",
|
||||
"tomorrow": "Завтра",
|
||||
"no_schedule": "В этот день уроков не будет",
|
||||
"join_call": "Присоединиться к звонку",
|
||||
"click_to_join": "Нажмите, чтобы присоединиться к звонку",
|
||||
"no_call_link": "Для этого урока не была добавлена ссылка для звонка. Спроси своего тренера",
|
||||
"current_lesson": "В настоящее время учусь",
|
||||
"your_progress": "Ваш прогресс",
|
||||
"continue": "Продолжать",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "Сегодня еще один день, который приблизит вас к вашим целям обучения. Не сдавайтесь, чем больше вы узнаете, тем лучше у вас получится.",
|
||||
"dont": "Не сдавайся",
|
||||
"lessons_completed": "Уроки завершены",
|
||||
"No_courses_started": "Курсы не начались"
|
||||
"no_courses_started": "Курсы не начались",
|
||||
"revenue": "Доход",
|
||||
"revenue_description": "Примерный доход от продажи курсов",
|
||||
"no_of_courses": "Количество курсов",
|
||||
"no_courses_description": "Курсы, созданные в этой организации",
|
||||
"total_students": "Всего студентов",
|
||||
"total_students_description": "На основе набора студентов",
|
||||
"top_courses": "Лучшие курсы",
|
||||
"students": "студенты",
|
||||
"completion": "завершение",
|
||||
"create_first_course": "Создайте свой первый курс",
|
||||
"create_first_course_description": "Начните создавать курсы, чтобы отслеживать прогресс курса",
|
||||
"recent_enrollments": "Недавние регистрации",
|
||||
"publish_first_course": "Опубликуйте свой первый курс",
|
||||
"publish_first_course_description": "Чтобы отслеживать зачисления, опубликуйте курс и пригласите студентов.",
|
||||
"publish_course": "Опубликовать курс"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "Твое расписание",
|
||||
|
||||
@@ -905,16 +905,6 @@
|
||||
"create_course": "Tạo khóa học",
|
||||
"view_site": "Xem trang web",
|
||||
"visit_site": "Truy cập trang web",
|
||||
"hero_content": "Cảm ơn vì những gì bạn làm ❤️. Bạn đang thay đổi cuộc sống của từng lớp học và nhờ có bạn, thế giới trở thành một nơi tốt đẹp hơn. 😊",
|
||||
"hero_button": "Tiếp tục xây dựng 🚀",
|
||||
"your_schedule": "Lịch trình của bạn",
|
||||
"today": "Hôm nay",
|
||||
"yesterday": "Hôm qua",
|
||||
"tomorrow": "Ngày mai",
|
||||
"no_schedule": "Không có bài học vào ngày này",
|
||||
"join_call": "Tham gia cuộc gọi",
|
||||
"click_to_join": "Bấm để tham gia cuộc gọi",
|
||||
"no_call_link": "Không có liên kết cuộc gọi nào được thêm vào bài học này. Hỏi huấn luyện viên của bạn",
|
||||
"current_lesson": "Hiện đang học",
|
||||
"your_progress": "Sự tiến bộ của bạn",
|
||||
"continue": "Tiếp tục",
|
||||
@@ -923,7 +913,22 @@
|
||||
"lms_dashboard_hero": "Hôm nay là một ngày khác để đưa bạn đến gần hơn với mục tiêu học tập của mình. Đừng bỏ cuộc, bạn càng học nhiều thì bạn càng tiến bộ hơn.",
|
||||
"dont": "Đừng bỏ cuộc",
|
||||
"lessons_completed": "Bài học đã hoàn thành",
|
||||
"No_courses_started": "Không có khóa học nào bắt đầu"
|
||||
"no_courses_started": "Không có khóa học nào bắt đầu",
|
||||
"revenue": "Doanh thu",
|
||||
"revenue_description": "Doanh thu ước tính từ việc bán khóa học",
|
||||
"no_of_courses": "Số lượng khóa học",
|
||||
"no_courses_description": "Các khóa học được tạo trong tổ chức này",
|
||||
"total_students": "Tổng số học sinh",
|
||||
"total_students_description": "Căn cứ vào số lượng tuyển sinh",
|
||||
"top_courses": "Các khóa học hàng đầu",
|
||||
"students": "sinh viên",
|
||||
"completion": "hoàn thành",
|
||||
"create_first_course": "Tạo khóa học đầu tiên của bạn",
|
||||
"create_first_course_description": "Bắt đầu tạo các khóa học để theo dõi tiến độ khóa học",
|
||||
"recent_enrollments": "Đăng ký gần đây",
|
||||
"publish_first_course": "Xuất bản khóa học đầu tiên của bạn",
|
||||
"publish_first_course_description": "Để theo dõi việc đăng ký, xuất bản một khóa học và mời sinh viên",
|
||||
"publish_course": "Xuất bản khóa học"
|
||||
},
|
||||
"schedule": {
|
||||
"title": "Lịch trình của bạn",
|
||||
|
||||
@@ -58,6 +58,26 @@ export interface UserAnalytics {
|
||||
overallAverageGrade: number;
|
||||
}
|
||||
|
||||
export interface OrganisationAnalytics {
|
||||
revenue: number;
|
||||
numberOfCourses: number;
|
||||
totalStudents: number;
|
||||
topCourses: {
|
||||
id: string;
|
||||
title: string;
|
||||
enrollments: number;
|
||||
completion: number;
|
||||
}[];
|
||||
enrollments: {
|
||||
id: string;
|
||||
avatarUrl: string;
|
||||
name: string;
|
||||
courseId: string;
|
||||
course: string;
|
||||
date: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface UserCourseAnalytics {
|
||||
user: User;
|
||||
averageGrade: number;
|
||||
|
||||
Reference in New Issue
Block a user