Commit graph

24 commits

Author SHA1 Message Date
mmabdalla
a45c858d3b Update README.md 2025-08-24 23:41:01 +03:00
973625f87d feat: Implement Course Content Section for Trainers (v1.3.0)
MAJOR FEATURE: Complete Course Content Management System

 NEW FEATURES:
- Enhanced Trainer Dashboard with clickable cards
- New Trainer Courses Page (/trainer/courses) with filtering and management
- New Trainer Students Page (/trainer/students) with enrollment management
- Backend API endpoints for trainer-specific data
- Enhanced API services with React Query integration

 TECHNICAL IMPROVEMENTS:
- Created TrainerCourses.js and TrainerStudents.js components
- Updated Dashboard.js with enhanced navigation
- Added new routes in App.js for trainer pages
- Implemented secure trainer-specific backend endpoints
- Added role-based access control and data isolation

 DESIGN FEATURES:
- Responsive design with mobile-first approach
- Beautiful UI with hover effects and transitions
- Consistent styling throughout the application
- Accessibility improvements with ARIA labels

 SECURITY:
- Trainers can only access their own data
- Secure API authentication required
- Data isolation between different trainers

 PERFORMANCE:
- Efficient React Query implementation
- Optimized database queries
- Responsive image handling

 BUG FIXES:
- Fixed phone number login functionality
- Removed temporary debug endpoints
- Cleaned up authentication logging

This release provides trainers with comprehensive tools to manage
their courses and students, significantly improving the user experience
and functionality of the CourseWorx platform.
2025-08-21 03:16:29 +03:00
95f4377170 v1.2.0: Responsive Design & Bug Fixes - Implemented responsive dropdown menu for course actions - Fixed trainer assignment dropdown population - Resolved available trainees API routing conflict - Enhanced mobile responsiveness and accessibility - Fixed setup page redirect issues - Improved code quality and ESLint compliance - Added comprehensive logging and debugging - Updated version.txt with detailed changelog 2025-08-20 20:57:41 +03:00
8a71d336e5 Fix dashboard data access issue - Fixed data access path to use .data wrapper - Updated all dashboard cards to use correct data structure - Updated debug section to show correct data access - Fixed trainer and trainee dashboard data access - The issue was that API response has extra 'data' wrapper 2025-07-31 03:21:43 +03:00
9cbf646c63 Add comprehensive debugging for dashboard data display - Added detailed console logging for data access - Enhanced debug section with direct value testing - Added test card to verify raw data values - Added loading state debugging - Disabled React Query caching to force fresh data 2025-07-31 03:18:47 +03:00
f2bc8795ea Add debugging to dashboard cards and fix data display - Added console logging to see exact data being passed to dashboard cards - Enhanced debug section to show data types and values - Added specific debugging for SuperAdmin dashboard rendering 2025-07-31 03:12:04 +03:00
7c28c49e75 Fix header layout and add debugging for dashboard statistics - Removed 'CourseWorx' text from header - Fixed logo path to use /images/cx-logo.png - Moved navigation items next to Home icon - Added debugging to API calls and dashboard - Added console logging to backend stats endpoints 2025-07-31 02:51:24 +03:00
b198ba5676 v1.1.4: Modern header navigation & real-time dashboard statistics - Removed sidebar completely and moved navigation to header - Added CourseWorx logo and Home icon for dashboard access - Moved Courses and Users links to header with icons - Updated all dashboard cards to show real database counts - Enhanced backend API endpoints for role-specific statistics - Fixed ESLint warnings in CourseContent.js and CourseContentViewer.js - Improved responsive design and user experience 2025-07-31 00:16:26 +03:00
29b55e14aa v1.1.3: Enhanced login experience, trainer profiles, modern course details, and dashboard improvements 2025-07-29 01:41:03 +03:00
6cc071c8d4 v1.1.2: Add trainer assignment system and navigation improvements
- Add trainer assignment functionality for Super Admins
- Move logout/profile to top-right user dropdown
- Clean up sidebar navigation (Dashboard, Courses, Users only)
- Add comprehensive debugging for trainer assignment
- Improve user interface with modern dropdown menu
- Add role-based access control for trainer assignment
- Update version.txt with new features and version bump
2025-07-28 21:23:09 +03:00
cee2aaf713 Version 1.1.1 - Enhanced Course Content Management Interface
- Created dedicated CourseContent page for content management
- Separated content management from course editing
- Added prominent 'Manage Content' button on course detail pages
- Enhanced UI with better visual hierarchy and styling
- Improved content management workflow with CRUD operations
- Added content type icons and status indicators
- Enhanced modal interfaces for content creation/editing
- Improved navigation and role-based access control
2025-07-28 01:16:12 +03:00
da2723f771 Release v1.1.0 - Course Content & Enrollment Management
New Features:
- Comprehensive course content management system
- Multi-type content support (Documents, Images, Videos, Articles, Quizzes, Certificates)
- File upload system with 100MB limit and type validation
- Quiz system with multiple question types
- Complete enrollment and subscriber management
- Status tracking (pending, active, completed, cancelled)
- Payment management (pending, paid, failed, refunded)
- Progress tracking (0-100%) with automatic updates
- Course capacity limits and validation
- Certificate issuance tracking
- Enrollment analytics and statistics

Technical Improvements:
- Enhanced file upload system with type validation
- New database models: CourseContent, QuizQuestion
- Comprehensive API endpoints for content and enrollment management
- Role-based access control for all new features
- Enhanced error handling and validation
- File management with automatic cleanup

This version provides a complete foundation for creating rich educational content and managing student enrollments.
2025-07-27 23:59:01 +03:00
52fe7e05c5 Release v1.0.0 - Complete Course Management System
Major Features:
- Authentication & Authorization with JWT and role-based access
- Complete User Management System with CRUD operations
- Course Management System with publishing and enrollment
- Modern React UI with Tailwind CSS and responsive design
- Internationalization (i18n) with English and Arabic support
- File Upload System for images and documents
- RESTful API with Express.js and Sequelize ORM
- PostgreSQL database with proper relationships
- Super Admin password change functionality
- CSV import for bulk user creation
- Modal-based user add/edit operations
- Search, filter, and pagination capabilities

Technical Improvements:
- Fixed homepage routing and accessibility issues
- Resolved API endpoint mismatches and data rendering
- Enhanced security with proper validation and hashing
- Optimized performance with React Query and caching
- Improved error handling and user feedback
- Clean code structure with ESLint compliance

Bug Fixes:
- Fixed non-functional Add/Edit/Delete buttons
- Resolved CSV import BOM issues
- Fixed modal rendering and accessibility
- Corrected API base URL configuration
- Enhanced backend stability and error handling

This version represents a complete, production-ready Course Management System.
2025-07-27 23:30:23 +03:00
e0711497f1 Add start/stop scripts for easy CourseWorx management 2025-07-26 22:01:47 +03:00
81fbb560d1 Fix manifest.json syntax error by creating proper manifest file 2025-07-26 21:58:26 +03:00
ce3773172a Fix ESLint errors: Add missing imports and remove unused variables 2025-07-26 21:49:59 +03:00
8c659dfa20 Fix React dev server issue: Add CRACO configuration to resolve webpack allowedHosts error 2025-07-26 21:46:34 +03:00
ec8831db5d Fix circular dependency: Remove explicit foreign key references and let Sequelize handle relationships 2025-07-26 21:35:58 +03:00
f76bab9646 Fix database configuration: Add model imports, fix foreign key references, and disable underscored mode 2025-07-26 21:32:45 +03:00
a93ae27d21 Fix database models: Add missing foreign key fields (trainerId, userId, courseId) 2025-07-26 21:29:59 +03:00
c88e9ae81b Add comprehensive installation instructions and troubleshooting guide 2025-07-26 20:56:08 +03:00
9287dfb950 Merge remote-tracking branch 'origin/main'
Initial import.
2025-07-26 20:37:31 +03:00
2aa4f8ca6e Initial version 0.0.1 - Complete CourseWorx application with backend and frontend 2025-07-26 20:34:13 +03:00
mmabdalla
1f528e4ed2 Initial commit 2025-07-26 20:31:35 +03:00