Releases: wigsdev/PreLab
Releases · wigsdev/PreLab
Release list
Creator Panel & Settings
Added
- Content Creation:
CreateQuestionView: Formulario mobile-first para crear preguntas.- Permisos de Staff/Admin requeridos para endpoints de escritura.
- Profile:
- Editor de perfil de usuario (
ProfileView). - Actualización de
UserSerializerpara manejar avatares y passwords.
- Editor de perfil de usuario (
The Analytics (User Dashboard)
Added
- Dashboard:
DashboardViewcon tarjetas de estadísticas (Total, Promedio, Mejor Nota).- Historial de exámenes en formato Timeline.
- Frontend:
- Hook getExamHistory para consumir datos de usuario.
- Componente
PrivateRoutepara proteger vistas de usuario.
The Memory (Cloud Persistence)
Added
- Backend:
- Modelo ExamAttempt para persistencia de simulacros.
- Endpoints CRUD para historial (
/api/history/).
- Frontend:
- Integración de guardado automático al finalizar examen.
- Manejo de duplicados en modo estricto de React.
The Experience (UI Polish)
Added
- UI/UX:
- Sistema de Modo Oscuro global (Tailwind
darkmode). Navbarresponsivo con menú de usuario.- Skeletons de carga para mejorar la experiencia visual (
QuestionSkeleton).
- Sistema de Modo Oscuro global (Tailwind
Auth Experience Polish
Title: v0.5.1: Auth Experience Polish
Tag: v0.5.1
🔑 Key Features
- Password Strength: Real-time regex validation with visual checklist (Case, Number, Length).
- Visibility Toggle: "Eye" icon to show/hide password text in forms.
- Smart Redirect: Users are returned to their intended destination after login.
- Visual Improvements: Added "Forgot Password" placeholder and improved input states.
🛠 Technical Details
- Frontend: Implemented client-side validation logic in
RegisterView. - UX: Added state memory to
LoginView(location.state).
Identity & Authentication
Title: v0.5.0: Identity & Authentication
Tag: v0.5.0
🔑 Key Features
- JWT Authentication: Secure login and registration flows.
- Micro-Dashboard: redesigned
HomeViewto be compact and responsive (100% viewport height). - Custom User Model: Normalized email-based authentication.
- Frontend Context: Global
AuthContextfor managing sessions.
🛠 Technical Details
- Backend: Implemented
usersapp andsimplejwtintegration. - Frontend: Added
/loginand/registerviews with validation errors. - UX: Dynamic header showing user state.
The Engine (Gameplay Loop)
Title: v0.4.0: The Engine
Tag: v0.4.0
🎮 Gameplay Highlights
- Active Exam Session: Complete flow from selection to results.
- Timer & Progress: Real-time feedback mechanisms.
- Scoring Logic: Calculation of correct/incorrect answers.
- Shuffle Algorithm: Randomized question ordering.
🧩 Components
ExamView: Core exam interface.ResultsView: Summary screen with score and suggestions.ExamContext: State management for the active session.
The Bridge (Frontend-Backend Integration)
Title: v0.3.0: The Bridge
Tag: v0.3.0
🔌 Integration
- API Consumption: Frontend successfully fetching
Coursedata from Django. - CORS Configuration: Allow cross-origin requests from Vite (localhost:5173).
- Data Hydration: Populated database with sample questions for Math, Bio, and Physics.
The Foundation (Backend API)
Title: v0.2.0: The Foundation
Tag: v0.2.0
🏗 Architecture
- Models:
Course,Topic,Question,Option. - API Endpoints: DRF ViewSets for core resources.
- Admin: Optimized Django Admin for content entry.