-
Notifications
You must be signed in to change notification settings - Fork 1
Release v3.0.0: Inteligencia Emocional TMMS-24 - Facade Scoring, Baremos de Género y UI/UX Global #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… and enhanced look This commit refactors the TMMS-24 block to centralize business logic, improve result accuracy, and deliver a richer, Moodle-compliant user experience. Changes - Introduced a TMMS-24 facade to centralize scoring, interpretations, gender-based norms, and normalization logic. - Implemented robust score calculation with defensive ordering and validation of the 24 items. - Added normalized scores (0–100) to fairly compare dimensions and identify star dimensions. - Enhanced student results UI with star dimensions, goal guidance, tie handling, and detailed feedback. - Improved test invitation flow with progress tracking, resume support, and completion warnings. - Implemented capability-based views for students vs teachers/admins. - Added a teacher management summary with completion rate, progress stats, and recent activity. - Enforced privacy-safe filtering to exclude admins and teaching roles from student analytics.
This update modifies the tmms_24 table to support auto-save functionality, adds an is_completed field, and allows NULL values for several fields. Additionally, it removes the course field as functionality is now cross-course.
Updated various strings for the TMMS-24 plugin to enhance clarity and relevance, including renaming the plugin and modifying test instructions.
Updated various strings in Spanish for the TMMS-24 emotional intelligence test, improving clarity and inclusivity. Changes include renaming results, modifying instructions, and enhancing error messages.
Refactor export logic to improve user capability checks and enhance data export format. Added handling for completed entries and improved localization of JSON keys.
Added AJAX handling for not logged in users and permission checks. Updated logic to handle auto-save and final submission of TMMS-24 responses.
…nced results UX This commit refactors the TMMS-24 test view to improve security, persistence, and user experience while aligning with Moodle best practices. Changes - Enforced capability-based access (`taketest`, `viewallresults`) with safe redirects for teachers and unauthorized users. - Replaced localStorage drafts with silent autosave to the database using AJAX. - Added resume support for in-progress tests with automatic scroll to the first unanswered item. - Improved results presentation with goal guidance, long interpretations, and visual progress bars. - Centralized score calculation and interpretations via the TMMS-24 facade. - Improved UI consistency (icons, cards, gradients, scale labels) and proper CSS loading via `$PAGE->requires`. - Added defensive validation to ensure scoring only occurs on fully completed tests.
Refactor student results display logic and improve user experience with navigation and styling.
Updated styles for the TMMS-24 block, including color changes and layout adjustments for various elements.
…n-progress tracking, and enhanced UX This commit refactors the TMMS-24 teacher dashboard to improve security, data accuracy, and usability, following Moodle best practices. Changes - Replaced hardcoded role IDs with capability-based student filtering and defensive exclusions. - Added support for in-progress attempts, including progress counts and last activity sorting. - Implemented a safe delete flow with confirmation screens and enrollment validation. - Enhanced dashboard UX with **styled statistics cards**, icons, and a unified container. - Improved dimension analytics with gender filters, visual distributions, and interactive ranges. - Optimized performance by prefetching users and avoiding N+1 queries. - Centralized score logic via the TMMS-24 facade and enforced completed-only scoring.
Updated README to reflect new features and Spanish localization.
Updated version information for TMMS 24 block.
Added a new method to render results in HTML format, including detailed interpretations and visual representations for perception, comprehension, and regulation scores.
Removed the goal text helper function and the results summary display code. Added completion info preparation and updated the rendering of results.
Refactor student results display by removing redundant code and encapsulating completion info preparation.
Refactor interpretation logic to use helper method for key resolution and remove redundant long interpretation method.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Lanzamiento de la Versión 3.0.0
Esta Pull Request representa una actualización mayor para el bloque de Habilidades Socio-Emocionales (TMMS-24). Se ha migrado toda la lógica de cálculo a un sistema basado en fachadas (Facade), se han implementado baremos diferenciados por género y se ha rediseñado la interfaz completa para cumplir con los estándares institucionales de la universidad.
Cambios Principales
Lógica de Negocio y Psicometría
TMMS24Facadepara centralizar el cálculo de las tres dimensiones: Percepción, Comprensión y Regulación.save.php) que captura progresivamente respuestas y datos demográficos (edad/género).UI/UX & Frontend
Seguridad y Administración
block/tmms_24:taketestyviewallresults) para proteger datos sensibles de los estudiantes.sesskey.export.phppara generar reportes en formatos CSV y JSON con manejo avanzado de capacidades.Refactorización de Código
tmms_24, eliminando archivos de instalación obsoletos (db/install.php).👥 Equipo de desarrollo