feat: Implement comprehensive course analytics, RBAC with roles and authentication, and dynamic passing thresholds.

This commit is contained in:
2025-12-23 10:12:53 -03:00
parent f592f78b6c
commit 72ddb43fd7
29 changed files with 1433 additions and 231 deletions
+122 -29
View File
@@ -1,35 +1,128 @@
# OpenCCB: Open Comprehensive Course Backbone - Roadmap
## Phase 1: Foundation (Current)
- [x] Rust Workspace Setup (Edition 2024).
- [x] Microservices Scaffolding (CMS & LMS).
- [x] Multi-Database Infrastructure (Postgres with separate DBs).
- [x] Frontend Initialization (Next.js Studio).
- [x] Dockerization of all services.
- [x] API Integration (Dashboard <-> CMS Service).
## Phase 1: Foundation
- [x] Rust Workspace Setup (Edition 2024)
- [x] Microservices Scaffolding (CMS & LMS)
- [x] Multi-Database Infrastructure (PostgreSQL with separate DBs)
- [x] Frontend Initialization (Next.js Studio & Experience)
- [x] Dockerization of all services
- [x] API Integration (Dashboard <-> CMS Service)
## Phase 2: Core CMS Features (Current Focus)
- [/] Course Outline Editor (Modules & Lessons).
- [x] File Upload System (Video/Audio/Native Assets).
- [/] Interactive Content (**Activity Builder Refinement**).
- [ ] Block Reordering (Move Up/Down).
- [ ] Rich Text Editor Integration.
- [ ] Quiz Refinements (True/False, Multi-Response).
- [ ] Service-to-Service Communication (CMS -> LMS sync).
- [x] **Video Player**: Integrated premium video player with playback limits.
- [ ] **Full Studio UI**: Drag-and-drop course builder.
## Phase 2: Core CMS Features
- [x] Course Outline Editor (Modules & Lessons)
- [x] File Upload System (Video/Audio/Native Assets)
- [x] Interactive Content (Activity Builder)
- [x] Block Reordering (Move Up/Down)
- [x] Rich Text Descriptions
- [x] Media Blocks with Playback Constraints
- [x] Quiz Blocks (Multiple Choice, True/False, Multiple Select)
- [x] Advanced Assessment Types:
- [x] Fill-in-the-Blanks
- [x] Matching Pairs
- [x] Ordering/Sequencing
- [x] Short Answer
- [x] Service-to-Service Communication (CMS -> LMS sync)
- [x] Premium Video Player with playback limits
- [x] Full Studio UI with dynamic course management
## Phase 3: Authentication & Security
- [ ] **Auth Service**: Integrated OIDC/OAuth2 or custom JWT provider.
- [ ] **RBAC**: Role-Based Access Control (Admin, Instructor, Student).
- [ ] **Audit UI**: Admin interface to view audit logs.
## Phase 3: Authentication & Security
- [x] **JWT-Based Authentication**: Common auth across all services
- [x] **Role-Based Access Control (RBAC)**:
- [x] Multi-role support (Admin, Instructor, Student)
- [x] Role-specific permissions and UI
- [x] Token-based authorization for protected endpoints
- [x] **Audit Logging**: All CMS mutations tracked
- [ ] **Audit UI**: Admin interface to view audit logs
## Phase 4: LMS Experience
- [ ] **Progress Tracking**: Track student completion of lessons and modules.
- [ ] **Certificates**: Automated certificate generation upon completion.
- [ ] **Mobile Responsive**: Optimize student interface for mobile devices.
## Phase 4: LMS Experience & Grading ✅
- [x] **Student Portal (Experience)**:
- [x] Course catalog and enrollment
- [x] Interactive lesson player
- [x] Mobile-responsive design
- [x] **Holistic Grading System**:
- [x] Weighted grading categories
- [x] Drop lowest N scores per category
- [x] Automatic weighted grade calculation
- [x] **Assessment Policies**:
- [x] Configurable max attempts per lesson
- [x] Instant corrections and retry policies
- [x] Atomic attempt tracking with enforcement
- [x] **Progress Tracking**:
- [x] Real-time score visualization
- [x] Category-by-category breakdown
- [x] Weighted grade calculation
- [x] **Dynamic Passing Thresholds**:
- [x] Configurable passing percentage per course
- [x] 5-tier performance visualization
- [x] Color-coded feedback (Reprobado to Excelente)
- [ ] **Certificates**: Automated certificate generation upon completion
## Phase 5: Advanced Features
- [ ] **Multi-tenancy**: Support for multiple organizations.
- [ ] **Analytics**: Insight dashboards for instructors.
- [ ] **AI Integration**: AI-driven lesson summaries and quiz generation.
## Phase 5: Analytics & Insights ✅
- [x] **Instructor Analytics Dashboard**:
- [x] Total enrollments per course
- [x] Overall average score
- [x] Per-lesson performance breakdown
- [x] "Struggling lessons" detection
- [x] RBAC enforcement (instructors see only their courses)
- [x] **Student Progress Dashboard**:
- [x] Interactive performance bar
- [x] Tier-based feedback visualization
- [x] Real-time grade updates
## Phase 6: Advanced Features (Planned)
- [ ] **Multi-tenancy**: Support for multiple organizations
- [ ] **Advanced Analytics**:
- [ ] Cohort analysis
- [ ] Retention metrics
- [ ] Engagement heatmaps
- [ ] **AI Integration**:
- [ ] AI-driven lesson summaries
- [ ] Automated quiz generation
- [ ] Personalized learning paths
- [ ] **Gamification**:
- [ ] Badges and achievements
- [ ] Leaderboards
- [ ] XP and leveling system
- [ ] **Communication**:
- [ ] Discussion forums
- [ ] Direct messaging
- [ ] Announcements
- [ ] **Content Library**:
- [ ] Reusable content blocks
- [ ] Template courses
- [ ] Shared resource pool
## Phase 7: Enterprise Features (Future)
- [ ] **Advanced Reporting**:
- [ ] Custom report builder
- [ ] Export to PDF/CSV
- [ ] Scheduled reports
- [ ] **Integration Ecosystem**:
- [ ] LTI 1.3 support
- [ ] SCORM compliance
- [ ] Third-party integrations (Zoom, Google Meet)
- [ ] **Mobile Apps**:
- [ ] Native iOS app
- [ ] Native Android app
- [ ] Offline mode
- [ ] **Accessibility**:
- [ ] WCAG 2.1 AA compliance
- [ ] Screen reader optimization
- [ ] Keyboard navigation
## Current Status
**Platform Maturity**: Production-ready for core LMS/CMS functionality
**Recent Milestones** (December 2024):
- ✅ Holistic grading system with weighted categories
- ✅ Configurable assessment policies (attempts, retries)
- ✅ Instructor analytics with RBAC
- ✅ Dynamic passing thresholds with 5-tier visualization
- ✅ Enhanced student progress dashboard
**Next Priorities**:
1. Automated certificate generation
2. Audit log UI for administrators
3. Multi-tenancy support
4. AI-powered content generation