- Install the new dependency:
npm install idb- Restart your development server:
npm run dev- Access the features:
- Navigate to
/featuresin your app - Or click "Features" in the sidebar menu
- Navigate to
- View student performance metrics
- Track engagement and completion rates
- See top performers leaderboard
- Time-based analytics (7d, 30d, 90d)
- Generate audio scripts for text-to-speech
- Create video storyboards
- AI-powered content transformation
- View your learning profile
- See AI-detected learning style
- Track engagement metrics
- Reinforcement learning recommendations
- Download courses for offline access
- Automatic progress sync when online
- View downloaded courses
- Offline indicator in bottom-right corner
- Connect to Moodle or Canvas
- Sync courses to your LMS
- Export grades to gradebook
- Import students from LMS
The features are accessible through:
- Sidebar Menu: Click the menu icon → "Features"
- Direct URL: Navigate to
/features - Profile/Dashboard: Links to specific features
- Go to
/features/offline - Download a course
- Open DevTools → Network tab → Set to "Offline"
- Navigate around - you'll see the offline indicator
- Your progress will be saved locally
- Go to
/features/personalization - Complete some learning activities
- Click "Detect My Learning Style"
- View your personalized insights
- Go to
/features/multimodal - Enter course content
- Select "Audio Script" or "Video Storyboard"
- Click "Generate"
- Go to
/features/analytics - View your instructor dashboard
- Change time ranges (7d, 30d, 90d)
- See student performance data
- Go to
/features/lms - Configure your Moodle or Canvas credentials
- Enable integration
- Sync a course
- This is fixed - the analytics dashboard now handles empty data gracefully
- Refresh the page if you still see it
- Make sure you've installed
idb:npm install idb - Check browser console for errors
- Ensure service worker is registered (check DevTools → Application → Service Workers)
- Verify your LMS credentials are correct
- Check that your LMS has web services enabled
- Ensure CORS is configured on your LMS
- Complete some learning activities first
- The AI needs interaction data to make recommendations
- Try clicking "Detect My Learning Style" button
- For Production: Integrate actual TTS and video generation services
- Mobile Apps: Use the offline-first architecture to build React Native apps
- More LMS Platforms: Add Blackboard, Schoology support
- Advanced RL: Implement Deep Q-Learning algorithms
If you encounter any issues:
- Check the browser console for errors
- Verify all dependencies are installed
- Make sure Firebase is configured correctly
- Check that API routes are accessible
src/
├── app/
│ ├── features/
│ │ ├── page.jsx # Features hub
│ │ ├── analytics/page.jsx # Analytics dashboard
│ │ ├── multimodal/page.jsx # Content generation
│ │ ├── personalization/page.jsx # AI personalization
│ │ ├── offline/page.jsx # Offline learning
│ │ └── lms/page.jsx # LMS integration
│ └── api/
│ ├── analytics/route.js # Analytics API
│ ├── personalization/route.js # Personalization API
│ ├── lms/sync/route.js # LMS sync API
│ ├── progress/sync/route.js # Progress sync API
│ └── multimodal/
│ ├── audio/route.js # Audio generation
│ └── video/route.js # Video generation
├── components/
│ ├── dashboard/
│ │ └── AnalyticsDashboard.jsx # Analytics component
│ ├── settings/
│ │ └── LMSConfig.jsx # LMS configuration
│ └── OfflineIndicator.jsx # Offline status indicator
├── hooks/
│ ├── usePersonalization.js # Personalization hook
│ └── useOffline.js # Offline functionality hook
└── lib/
├── lms-integration.js # LMS integration logic
├── multimodal.js # Content generation
├── reinforcement-learning.js # RL algorithms
└── offline.js # Offline storage
Enjoy your new features! 🚀