diff --git a/CHANGELOG.md b/CHANGELOG.md
index 99de0908af7..9c2b127f59a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
Todas las modificaciones importantes del proyecto se documentarán en este archivo.
+## [2.0.2] — 2026-01-18
+- Opción para mostrar/ocultar las descripciones en el bloque principal.
+- Adición del gráfico radar en resultados detallados y acceso permitido a los estudiantes a esta vista.
+- Se mantiene el titulo "Exploración de Estilos de Aprendizaje" en todas las vistas del bloque.
+- Se ha eliminado las referencias a la palabra "Test".
+
## [2.0.1] — 2026-01-08
- Paginación en la lista de estudiantes en el panel de administración.
- Nueva forma de mostrar las estadísticas generales en el panel de administración.
diff --git a/README.md b/README.md
index 3c5c5677802..6413a0e26b9 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ Este repositorio incluye:
- Acceso a **vista individual** por estudiante.
- Posibilidad de **eliminación** de resultados individuales.
- **Descarga CSV** de resultados completados.
+- Opción para **mostrar/ocultar** las descripciones en el bloque principal **(oculto por defecto)**.
- **Controles de privacidad**: acceso restringido por capacidades y por matrícula en el curso.
---
@@ -47,14 +48,14 @@ Este repositorio incluye:
El recorrido comienza con una invitación clara y directa. Desde el bloque principal del curso, el estudiante puede visualizar su estado actual y acceder al test con un solo click, facilitando la participación sin fricciones.
-
+
**Interfaz de Evaluación Optimizada**
Se presenta un entorno de respuesta limpio y libre de distracciones. La interfaz ha sido diseñada para priorizar la legibilidad y la facilidad de uso, permitiendo que el estudiante se concentre totalmente en el proceso de autodescubrimiento.
-
+
**Asistencia y Validación en Tiempo Real**
@@ -70,7 +71,7 @@ Para garantizar la integridad de los datos, el sistema implementa una validació
Entendemos que el tiempo es valioso. Si el estudiante debe interrumpir su sesión, el sistema guarda automáticamente su avance. Al regresar, el bloque muestra el porcentaje de progreso y permite reanudar el test exactamente donde se dejó, resaltando visualmente la siguiente pregunta a responder.
-
+
@@ -79,15 +80,19 @@ Entendemos que el tiempo es valioso. Si el estudiante debe interrumpir su sesió
Si el estudiante ha completado las 44 preguntas pero aún no ha procesado el envío, el bloque muestra una notificación clara y amigable, invitándolo a formalizar la entrega y conocer su perfil de aprendizaje.
-
+
**Análisis de Perfil y Recomendaciones Personalizadas**
-Al concluir, el estudiante recibe un diagnóstico detallado de su estilo de aprendizaje. Más allá de un simple resultado, la plataforma ofrece interactividad: al pulsar sobre sus estilos predominantes, se despliegan estrategias de estudio personalizadas para potenciar su rendimiento académico.
+Al finalizar, el estudiante recibe un resumen el bloque principal de sus estilos de aprendizaje predominantes, junto con un acceso directo a sus resultados detallados donde podrá ver gráficos y recomendaciones específicas.
-
+
+
+
+
+
### 2. Experiencia del Profesor
@@ -97,7 +102,7 @@ Al concluir, el estudiante recibe un diagnóstico detallado de su estilo de apre
El profesor cuenta con una vista ejecutiva desde el bloque, donde puede monitorizar métricas clave y gráficos de tendencia de forma inmediata, además de acceder a funciones avanzadas de exportación y administración.
-
+
**Centro de Gestión y Analíticas**
@@ -105,17 +110,14 @@ El profesor cuenta con una vista ejecutiva desde el bloque, donde puede monitori
Un panel de administración que centraliza el seguimiento grupal. Permite visualizar quiénes han completado el proceso, quiénes están en curso y gestionar los resultados colectivos para adaptar la estrategia pedagógica del aula.
-
+
**Seguimiento Individualizado y Detallado**
El docente puede profundizar en el perfil específico de cada estudiante. Esta vista permite comprender las necesidades particulares de cada alumno y las recomendaciones sugeridas por el sistema para brindar un apoyo docente más humano y dirigido.
-
-
-
-
+- **Nota:** Esta vista es la misma que la del estudiante, pero accesible por el profesor para cualquier alumno del curso.
---
## Sección técnica
@@ -181,7 +183,7 @@ Ejemplo (Activo/Reflexivo):
El flujo del estudiante está diseñado para soportar progreso parcial:
- Se crea/actualiza un registro con `is_completed = 0` mientras el test está en curso.
-- El guardado automático se activa en cambios de respuesta y se ejecuta **2 segundos** después de la última interacción.
+- El guardado automático se activa en cambios de respuesta y se ejecuta **400 milisegundos** después de la última interacción.
- El guardado progresivo envía un `POST` con `action=autosave` y `sesskey`, y actualiza únicamente las respuestas presentes en la página actual.
Reglas de integridad implementadas:
diff --git a/amd/build/view_handler.min.js b/amd/build/view_handler.min.js
index f02b6ea84f7..160575c03d2 100644
--- a/amd/build/view_handler.min.js
+++ b/amd/build/view_handler.min.js
@@ -1 +1 @@
-define(["jquery","core/ajax"],(function(o,e){"use strict";return{init:function(e){var t=null,r=!1,n=e.formUrl;function i(){if(!r){r=!0;var o=new FormData(document.getElementById("learningStyleForm"));o.set("action","autosave"),fetch(n,{method:"POST",body:o}).then((function(o){return o.json()})).then((function(o){r=!1})).catch((function(o){r=!1}))}}o(".select-q").on("change",(function(){var e=o(this).closest(".learning_style_item");e.hasClass("question-error-highlight")&&(e.css({border:"","background-color":"","border-radius":"",padding:"","margin-bottom":"","box-shadow":""}),e.removeClass("question-error-highlight")),t&&clearTimeout(t),t=setTimeout(i,2e3)})),o("#learningStyleForm").on("submit",(function(e){var t=e.originalEvent.submitter,r=t?t.value:"next";if("previous"===r)return!0;if("next"!==r&&"finish"!==r)return!0;var n=o(".select-q"),i=!0,s=null;return n.each((function(){if(""===o(this).val()){i=!1;var e=o(this).closest(".learning_style_item");e.length&&(e.css({border:"3px solid #d32f2f","background-color":"#ffebee","border-radius":"10px",padding:"24px 28px","margin-bottom":"1.5rem","box-shadow":"0 4px 8px rgba(211, 47, 47, 0.3)"}),e.addClass("question-error-highlight"),s||(s=e))}})),i?void 0:(e.preventDefault(),s&&s[0].scrollIntoView({behavior:"smooth",block:"center"}),!1)})),e.shouldAutoScroll&&setTimeout((function(){var e=!1;o(".select-q").each((function(){if(!e&&""===o(this).val()){var t=o(this).closest(".learning_style_item");t.length&&(t.css({border:"3px solid #28a745","background-color":"#d4edda","border-radius":"10px",padding:"24px 28px","margin-bottom":"1.5rem","box-shadow":"0 4px 8px rgba(40, 167, 69, 0.3)",transition:"all 0.3s ease"}),t[0].scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((function(){t.css({border:"","background-color":"","border-radius":"",padding:"","margin-bottom":"","box-shadow":""})}),5e3)),e=!0}}))}),300),e.scrollToFinish&&setTimeout((function(){var e=o("#submitBtn");e.length&&(e[0].scrollIntoView({behavior:"smooth",block:"center"}),e.css({"box-shadow":"0 0 20px rgba(40, 167, 69, 0.8)",transition:"all 0.3s ease"}),setTimeout((function(){e.css("box-shadow","")}),5e3))}),300)}}}));
+define(["jquery","core/ajax"],(function(o,e){"use strict";return{init:function(e){var t=null,r=!1,n=e.formUrl;function i(){if(!r){r=!0;var o=new FormData(document.getElementById("learningStyleForm"));o.set("action","autosave"),fetch(n,{method:"POST",body:o}).then((function(o){return o.json()})).then((function(o){r=!1})).catch((function(o){r=!1}))}}o(".select-q").on("change",(function(){var e=o(this).closest(".learning_style_item");e.hasClass("question-error-highlight")&&(e.css({border:"","background-color":"","border-radius":"",padding:"","margin-bottom":"","box-shadow":""}),e.removeClass("question-error-highlight")),t&&clearTimeout(t),t=setTimeout(i,400)})),o("#learningStyleForm").on("submit",(function(e){var t=e.originalEvent.submitter,r=t?t.value:"next";if("previous"===r)return!0;if("next"!==r&&"finish"!==r)return!0;var n=o(".select-q"),i=!0,s=null;return n.each((function(){if(""===o(this).val()){i=!1;var e=o(this).closest(".learning_style_item");e.length&&(e.css({border:"3px solid #d32f2f","background-color":"#ffebee","border-radius":"10px",padding:"24px 28px","margin-bottom":"1.5rem","box-shadow":"0 4px 8px rgba(211, 47, 47, 0.3)"}),e.addClass("question-error-highlight"),s||(s=e))}})),i?void 0:(e.preventDefault(),s&&s[0].scrollIntoView({behavior:"smooth",block:"center"}),!1)})),e.shouldAutoScroll&&setTimeout((function(){var e=!1;o(".select-q").each((function(){if(!e&&""===o(this).val()){var t=o(this).closest(".learning_style_item");t.length&&(t.css({border:"3px solid #28a745","background-color":"#d4edda","border-radius":"10px",padding:"24px 28px","margin-bottom":"1.5rem","box-shadow":"0 4px 8px rgba(40, 167, 69, 0.3)",transition:"all 0.3s ease"}),t[0].scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((function(){t.css({border:"","background-color":"","border-radius":"",padding:"","margin-bottom":"","box-shadow":""})}),5e3)),e=!0}}))}),300),e.scrollToFinish&&setTimeout((function(){var e=o("#submitBtn");e.length&&(e[0].scrollIntoView({behavior:"smooth",block:"center"}),e.css({"box-shadow":"0 0 20px rgba(40, 167, 69, 0.8)",transition:"all 0.3s ease"}),setTimeout((function(){e.css("box-shadow","")}),5e3))}),300)}}}));
diff --git a/amd/src/view_handler.js b/amd/src/view_handler.js
index 51ddfdb1a0b..76d756951de 100644
--- a/amd/src/view_handler.js
+++ b/amd/src/view_handler.js
@@ -55,8 +55,8 @@ define(['jquery', 'core/ajax'], function($, Ajax) {
clearTimeout(autoSaveTimer);
}
- // Auto-save after 2 seconds of inactivity
- autoSaveTimer = setTimeout(autoSaveProgress, 2000);
+ // Auto-save after 400ms of inactivity
+ autoSaveTimer = setTimeout(autoSaveProgress, 400);
});
// Handle form submission for navigation
diff --git a/block_learning_style.php b/block_learning_style.php
index 0beae206df5..7ffdc47d1b8 100644
--- a/block_learning_style.php
+++ b/block_learning_style.php
@@ -173,83 +173,77 @@ private function get_student_content() {
* Render results and chart
*/
private function render_results($entry) {
- global $OUTPUT;
- $final_style = [];
- $sliders_data = [];
-
- $izq_title = get_string('active_recommendations', 'block_learning_style');
- $der_title = get_string('reflexive_recommendations', 'block_learning_style');
-
- // Si Activo es mayor, el resultado es negativo y la barra se va a la izquierda.
- $diff_active = $entry->ap_reflexivo - $entry->ap_active;
- $final_style[abs($diff_active) . "ar"] = $this->my_slider($diff_active, get_string("active", 'block_learning_style'), get_string("reflexive", 'block_learning_style'),$izq_title,$der_title);
-
- $izq_title = get_string('sensorial_recommendations', 'block_learning_style');
- $der_title = get_string('intuitive_recommendations', 'block_learning_style');
-
- // Intuitivo (der) - Sensorial (izq)
- $diff_sensorial = $entry->ap_intuitivo - $entry->ap_sensorial;
- $final_style[abs($diff_sensorial) . "si"] = $this->my_slider($diff_sensorial, get_string("sensorial", 'block_learning_style'), get_string("intuitive", 'block_learning_style'),$izq_title,$der_title);
-
- $izq_title = get_string('visual_recommendations', 'block_learning_style');
- $der_title = get_string('verbal_recommendations', 'block_learning_style');
-
- // Verbal (der) - Visual (izq)
- $diff_visual = $entry->ap_verbal - $entry->ap_visual;
- $final_style[abs($diff_visual) . "vv"] = $this->my_slider($diff_visual, get_string("visual", 'block_learning_style'), get_string("verbal", 'block_learning_style'),$izq_title,$der_title);
+ global $COURSE, $OUTPUT;
- $izq_title = get_string('sequential_recommendations', 'block_learning_style');
- $der_title = get_string('global_recommendations', 'block_learning_style');
-
- // Global (der) - Secuencial (izq)
- $diff_secuencial = $entry->ap_global - $entry->ap_secuencial;
- $final_style[abs($diff_secuencial) . "sg"] = $this->my_slider($diff_secuencial, get_string("sequential", 'block_learning_style'), get_string("global", 'block_learning_style'),$izq_title,$der_title);
- krsort($final_style);
+ $results_cards = [];
- foreach ($final_style as $html) {
- $sliders_data[] = ['html' => $html];
+ // Definition of dimensions and icons
+ // Processing: Active vs Reflexive
+ if ($entry->ap_active >= $entry->ap_reflexivo) {
+ $results_cards[] = [
+ 'dimension' => get_string('processing_dimension', 'block_learning_style'),
+ 'style' => get_string('active', 'block_learning_style'),
+ 'icon' => 'fa-bolt'
+ ];
+ } else {
+ $results_cards[] = [
+ 'dimension' => get_string('processing_dimension', 'block_learning_style'),
+ 'style' => get_string('reflexive', 'block_learning_style'),
+ 'icon' => 'fa-lightbulb-o'
+ ];
}
- // Inicializar popovers de forma segura
- $this->page->requires->js_call_amd('block_learning_style/popoverinit', 'init');
-
- $json_style = [
- "act" => intval($entry->ap_active),
- "ref" => intval($entry->ap_reflexivo),
- "sen" => intval($entry->ap_sensorial),
- "int" => intval($entry->ap_intuitivo),
- "vis" => intval($entry->ap_visual),
- "vrb" => intval($entry->ap_verbal),
- "seq" => intval($entry->ap_secuencial),
- "glo" => intval($entry->ap_global)
- ];
-
- $chart_labels = [
- get_string('chart_visual', 'block_learning_style'),
- get_string('chart_sensorial', 'block_learning_style'),
- get_string('chart_active', 'block_learning_style'),
- get_string('chart_global', 'block_learning_style'),
- get_string('chart_verbal', 'block_learning_style'),
- get_string('chart_intuitive', 'block_learning_style'),
- get_string('chart_reflexive', 'block_learning_style'),
- get_string('chart_sequential', 'block_learning_style')
- ];
-
- $dataset_label = get_string('learning_style_label', 'block_learning_style');
+ // Perception: Sensorial vs Intuitive
+ if ($entry->ap_sensorial >= $entry->ap_intuitivo) {
+ $results_cards[] = [
+ 'dimension' => get_string('perception_dimension', 'block_learning_style'),
+ 'style' => get_string('sensorial', 'block_learning_style'),
+ 'icon' => 'fa-wrench'
+ ];
+ } else {
+ $results_cards[] = [
+ 'dimension' => get_string('perception_dimension', 'block_learning_style'),
+ 'style' => get_string('intuitive', 'block_learning_style'),
+ 'icon' => 'fa-puzzle-piece'
+ ];
+ }
- $params = [
- 'canvasId' => 'radarstyle',
- 'data' => $json_style,
- 'labels' => $chart_labels,
- 'datasetLabel' => $dataset_label
- ];
+ // Input: Visual vs Verbal
+ if ($entry->ap_visual >= $entry->ap_verbal) {
+ $results_cards[] = [
+ 'dimension' => get_string('input_dimension', 'block_learning_style'),
+ 'style' => get_string('visual', 'block_learning_style'),
+ 'icon' => 'fa-eye'
+ ];
+ } else {
+ $results_cards[] = [
+ 'dimension' => get_string('input_dimension', 'block_learning_style'),
+ 'style' => get_string('verbal', 'block_learning_style'),
+ 'icon' => 'fa-comments-o'
+ ];
+ }
- $this->page->requires->js_call_amd('block_learning_style/radar_handler', 'init', [$params]);
+ // Understanding: Sequential vs Global
+ if ($entry->ap_secuencial >= $entry->ap_global) {
+ $results_cards[] = [
+ 'dimension' => get_string('understanding_dimension', 'block_learning_style'),
+ 'style' => get_string('sequential', 'block_learning_style'),
+ 'icon' => 'fa-list-ol'
+ ];
+ } else {
+ $results_cards[] = [
+ 'dimension' => get_string('understanding_dimension', 'block_learning_style'),
+ 'style' => get_string('global', 'block_learning_style'),
+ 'icon' => 'fa-globe'
+ ];
+ }
$template_data = [
'icon' => $this->get_learning_style_icon('4em', 'display: block;', false),
- 'sliders' => $sliders_data,
- 'instanceid' => $this->instance->id
+ 'results_cards' => $results_cards,
+ 'summary_url' => (new moodle_url('/blocks/learning_style/view_individual.php', ['courseid' => $COURSE->id, 'userid' => $entry->user]))->out(false),
+ 'instanceid' => $this->instance->id,
+ 'showdescriptions' => !empty($this->config->showdescriptions)
];
return $OUTPUT->render_from_template('block_learning_style/results', $template_data);
@@ -353,7 +347,8 @@ private function get_test_invitation() {
$template_data = [
'icon' => $this->get_learning_style_icon('4em', '', true),
- 'url' => (new moodle_url('/blocks/learning_style/view.php', array('cid' => $COURSE->id)))->out()
+ 'url' => (new moodle_url('/blocks/learning_style/view.php', array('cid' => $COURSE->id)))->out(),
+ 'showdescriptions' => !empty($this->config->showdescriptions)
];
return $OUTPUT->render_from_template('block_learning_style/test_invitation', $template_data);
@@ -399,7 +394,8 @@ private function get_continue_test_card($answered_count) {
'url' => $url->out(false),
'button_text' => $button_text,
'button_icon' => $button_icon,
- 'button_class' => $button_class
+ 'button_class' => $button_class,
+ 'showdescriptions' => !empty($this->config->showdescriptions)
];
return $OUTPUT->render_from_template('block_learning_style/continue_test', $template_data);
diff --git a/edit_form.php b/edit_form.php
new file mode 100644
index 00000000000..e710b1a290d
--- /dev/null
+++ b/edit_form.php
@@ -0,0 +1,13 @@
+addElement('header', 'config_header', get_string('blocksettings', 'block'));
+
+ // Checkbox/Select for showing descriptions. Default is No (0).
+ $mform->addElement('selectyesno', 'config_showdescriptions', get_string('config_showdescriptions', 'block_learning_style'));
+ $mform->setDefault('config_showdescriptions', 0);
+ $mform->setType('config_showdescriptions', PARAM_BOOL);
+ $mform->addHelpButton('config_showdescriptions', 'config_showdescriptions', 'block_learning_style');
+ }
+}
diff --git a/lang/en/block_learning_style.php b/lang/en/block_learning_style.php
index 6d8aab537c1..af20dafbd9a 100644
--- a/lang/en/block_learning_style.php
+++ b/lang/en/block_learning_style.php
@@ -1,16 +1,16 @@
Lorem ipsum dolor.';
$string['accept_code_honor_text'] = "Accept";
-$string['redirect_accept_success'] = "Congratulations, you can now view your results in the course sidebar.";
-$string['redirect_accept_exist'] = "You have already completed the assessment, redirecting to the course";
+$string['redirect_accept_success'] = "Congratulations, you can now view your results here.";
+$string['redirect_accept_exist'] = "You have already completed the exploration, redirecting to the results.";
$string['accept_message'] = "Accepted";
$string['required_message'] = "Please accept to continue";
-$string['learning_style_actived'] = "Learning Style assessment enabled";
-$string['learning_style_configempty'] = "Assessment enabled but needs configuration. Please configure this block";
+$string['learning_style_actived'] = "Learning Styles Exploration enabled";
+$string['learning_style_configempty'] = "Exploration enabled but needs configuration. Please configure this block";
$string['submit_text'] = "Continue and go to the course";
$string['active'] = "Active";
@@ -18,6 +18,10 @@
$string['sensorial'] = "Sensorial";
$string['intuitive'] = "Intuitive";
$string['visual'] = "Visual";
+
+$string['config_showdescriptions'] = 'Show descriptions';
+$string['config_showdescriptions_help'] = 'Show or hide the description banners in the block.';
+
$string['verbal'] = "Verbal";
$string['sequential'] = "Sequential";
$string['global'] = "Global";
@@ -28,7 +32,7 @@
$string['download_results'] = 'Download Results';
$string['select_option'] = 'Select an option';
$string['progress_saved'] = 'Progress saved successfully';
-$string['all_questions_required'] = 'All questions must be answered before finishing the test';
+$string['all_questions_required'] = 'All questions must be answered before finishing the exploration.';
// Dashboard tooltips and labels
$string['dashboard_surveyed'] = 'Surveyed';
@@ -222,7 +226,7 @@
$string["learning_style:q44_b"] = "think of possible consequences or applications of the solution in a wide range of areas.";
// Administrative section strings
-$string['admin_title'] = 'Learning Style Administration';
+$string['admin_title'] = 'Learning Styles Exploration Administration';
$string['admin_access_denied'] = 'Access denied. Only teachers and administrators can view this page.';
$string['admin_statistics'] = 'General Statistics';
$string['total_participants'] = 'Total Participants';
@@ -235,7 +239,7 @@
$string['learning_style_deleted'] = 'Participation has been successfully deleted.';
$string['no_participants'] = 'No results available yet';
$string['no_data_available'] = 'No Data Available';
-$string['no_participants_message'] = 'No students have started the test yet.';
+$string['no_participants_message'] = 'No students have started the exploration yet.';
$string['back_to_course'] = 'Back to Course';
$string['back_to_admin'] = 'Back to Admin Panel';
$string['teachers_redirect_message'] = 'Teachers are redirected to the admin panel.';
@@ -261,7 +265,7 @@
$string['profile_global'] = 'Global';
// Individual results page
-$string['individual_results_title'] = 'Individual Learning Styles Results';
+$string['individual_results_title'] = 'Individual Learning Styles Exploration Results';
$string['learning_style_results_for'] = 'Learning Styles Results for';
$string['completed_on'] = 'Completed on';
$string['processing_dimension'] = 'Processing Dimension';
@@ -298,26 +302,24 @@
$string['view_admin_results'] = 'Go to Administration Panel';
// Test invitation
-$string['test_title'] = 'Learning Styles Test';
$string['discover_your_style'] = 'Discover your learning styles';
$string['what_is_felder'] = 'What is the Felder-Soloman Model?';
$string['test_description'] = 'This model breaks down how your mind prefers to receive and process information for learning. It analyzes four cognitive dimensions to provide you with personalized study strategies that transform your way of learning, making the process more efficient and less exhausting.';
$string['feature_44_questions'] = '44 quick questions';
$string['feature_4_dimensions'] = '4 learning dimensions';
$string['feature_instant_results'] = 'Instant results with recommendations';
-$string['start_test'] = 'Start Test';
-$string['test_not_configured'] = 'Test is not configured. Please contact your instructor.';
-$string['test_completed'] = 'Test Completed';
-$string['your_learning_style'] = 'Your Learning Style';
+$string['start_test'] = 'Start Exploration';
+$string['test_not_configured'] = 'Exploration is not configured. Please contact your instructor.';
+$string['test_completed'] = 'Learning Styles Exploration Completed';
+$string['your_results_here'] = 'View your results here';
// Test page content
-$string['test_page_title'] = 'Learning Styles Test';
-$string['test_intro_p1'] = 'This test is based on the Felder-Soloman Model, a tool that identifies your preferences in how you process and organize information for learning.';
+$string['test_intro_p1'] = 'This exploration is based on the Felder-Soloman Model, a tool that identifies your preferences in how you process and organize information for learning.';
$string['test_intro_p2'] = 'Knowing your learning styles will allow you to:';
$string['test_benefit_1'] = '• Identify the most effective study strategies for you';
$string['test_benefit_2'] = '• Better understand how you process information';
$string['test_benefit_3'] = '• Make the most of the resources available in the course';
-$string['test_intro_p3'] = 'The test consists of quick questions that evaluate 4 dimensions: Active/Reflective, Sensory/Intuitive, Visual/Verbal, and Sequential/Global. There are no right or wrong answers, just choose the option that best describes you.';
+$string['test_intro_p3'] = 'The exploration consists of quick questions that evaluate 4 dimensions: Active/Reflective, Sensory/Intuitive, Visual/Verbal, and Sequential/Global. There are no right or wrong answers, just choose the option that best describes you.';
$string['test_lets_begin'] = 'Let\'s begin!';
$string['test_note'] = 'Note:';
$string['test_all_required'] = 'All questions are required';
@@ -328,24 +330,24 @@
// Continue test strings
$string['your_progress'] = 'Your progress';
$string['completed'] = 'completed';
-$string['continue_test'] = 'Continue Test';
+$string['continue_test'] = 'Continue Exploration';
// Dashboard strings
$string['dominant_style'] = 'Dominant style';
$string['least_dominant_style'] = 'Least dominant style';
$string['teacher_recommendation'] = 'Teacher recommendations:';
-$string['no_completed_tests'] = 'No completed tests';
-$string['no_data_message'] = 'Charts and statistics will be displayed when students complete the learning styles test.';
+$string['no_completed_tests'] = 'No completed explorations';
+$string['no_data_message'] = 'Charts and statistics will be displayed when students complete the learning styles exploration.';
$string['chart_title'] = 'Learning styles distribution';
$string['na_label'] = 'N/A';
-$string['no_completed_tests_title'] = 'No completed tests';
-$string['no_completed_tests_message'] = 'Charts and statistics will be shown once students complete the learning styles test.';
+$string['no_completed_tests_title'] = 'No completed explorations';
+$string['no_completed_tests_message'] = 'Charts and statistics will be shown once students complete the learning styles exploration.';
// View individual strings
-$string['test_in_progress'] = 'Test in progress';
+$string['test_in_progress'] = 'Exploration in progress';
$string['has_answered'] = 'has answered';
$string['of_44_questions'] = 'of 44 questions.';
-$string['results_available_when_complete'] = 'Full results will be available when {$a} finishes the test.';
+$string['results_available_when_complete'] = 'Full results will be available when {$a} finishes the exploration.';
// Admin view strings
$string['in_progress'] = 'In progress';
@@ -377,15 +379,15 @@
$string['chart_distribution_title'] = 'Learning styles distribution';
// Test in progress and remind strings
-$string['test_in_progress_message'] = '{$a} has started the test but has not completed it yet.';
-$string['remind_submit_test'] = 'Remind the student to click the "Finish Test" button to view the results.';
+$string['test_in_progress_message'] = '{$a} has started the exploration but has not completed it yet.';
+$string['remind_submit_test'] = 'Remind the student to click the "Finish Exploration" button to view the results.';
$string['questions'] = 'questions';
$string['all_answered_title'] = 'All Questions Answered!';
-$string['all_answered_message'] = 'You have answered all 44 questions. Don\'t forget to click "Finish Test" to submit your answers and see your learning style results!';
+$string['all_answered_message'] = 'You have answered all 44 questions. Don\'t forget to click "Finish Exploration" to submit your answers and view your learning style results!';
// Admin view strings (NEW - matching personality_test structure)
$string['total_students'] = 'Total Students';
-$string['completed_tests'] = 'Completed Tests';
+$string['completed_tests'] = 'Completed Explorations';
$string['in_progress_tests'] = 'In Progress';
$string['completion_rate'] = 'Completion Rate';
$string['general_statistics'] = 'General Statistics';
@@ -425,7 +427,7 @@
// Navigation buttons for pagination
$string['btn_previous'] = 'Previous';
$string['btn_next'] = 'Next';
-$string['btn_finish'] = 'Finish Test';
+$string['btn_finish'] = 'Finish Exploration';
$string['complete_previous_pages'] = 'Please complete previous pages before proceeding';
$string['questions_answered'] = '{$a->answered} of {$a->total} questions answered';
$string['option_a'] = 'A';
@@ -435,7 +437,7 @@
$string['learning_dimensions'] = 'Learning Dimensions';
// Alert messages for completed but not submitted test
-$string['finish_test'] = 'Finish Test';
+$string['finish_test'] = 'Finish Exploration';
// Admin view UI
$string['most_common_types'] = 'Most Common Learning Styles';
@@ -450,4 +452,10 @@
$string['result_act_ref'] = 'Result Act/Ref';
$string['result_sen_int'] = 'Result Sen/Int';
$string['result_vis_vrb'] = 'Result Vis/Vrb';
+
+$string['scores'] = 'Dimension Scores';
+$string['radar_chart_title'] = 'Learning Profile Radar Chart';
+$string['see_full_results'] = 'View Detailed Results';
+$string['characteristics'] = 'Characteristics';
+$string['recommendations'] = 'Recommendations';
$string['result_seq_glo'] = 'Result Seq/Glo';
diff --git a/lang/es/block_learning_style.php b/lang/es/block_learning_style.php
index 399e79c4f66..e63bdf950b8 100644
--- a/lang/es/block_learning_style.php
+++ b/lang/es/block_learning_style.php
@@ -1,12 +1,12 @@
Lorem dictumst.';
$string['accept_code_honor_text'] = "Acepto";
-$string['redirect_accept_success'] = "Enhorabuena, ahora puedes ver tus resultados en la barra lateral del curso.";
-$string['redirect_accept_exist'] = "Ya has completado la evaluación, te redirigimos al curso";
+$string['redirect_accept_success'] = "Enhorabuena, ahora puedes ver tus resultados aquí.";
+$string['redirect_accept_exist'] = "Ya has completado la evaluación, te redirigimos a los resultados.";
$string['accept_message'] = "Estilo de aprendizaje detectado";
$string['required_message'] = "Por favor, realiza la evaluación de estilos de aprendizaje para continuar";
$string['learning_style_actived'] = "Evaluación de estilos de aprendizaje activada";
@@ -18,6 +18,10 @@
$string['sensorial'] = "Sensorial";
$string['intuitive'] = "Intuitivo";
$string['visual'] = "Visual";
+
+$string['config_showdescriptions'] = 'Mostrar descripciones';
+$string['config_showdescriptions_help'] = 'Muestra u oculta los banners de descripción en el bloque.';
+
$string['verbal'] = "Verbal";
$string['sequential'] = "Secuencial";
$string['global'] = "Global";
@@ -28,7 +32,7 @@
$string['download_results'] = 'Descargar Resultados';
$string['select_option'] = 'Seleccione una opción';
$string['progress_saved'] = 'Progreso guardado exitosamente';
-$string['all_questions_required'] = 'Todas las preguntas deben ser respondidas antes de finalizar el test';
+$string['all_questions_required'] = 'Todas las preguntas deben ser respondidas antes de finalizar la exploración.';
// Dashboard tooltips and labels
$string['dashboard_surveyed'] = 'Encuestados';
@@ -235,7 +239,7 @@
$string['learning_style_deleted'] = 'Participación eliminada exitosamente.';
$string['no_participants'] = 'Aún no hay resultados disponibles';
$string['no_data_available'] = 'No hay datos disponibles';
-$string['no_participants_message'] = 'Ningún estudiante ha comenzado el test aún.';
+$string['no_participants_message'] = 'Ningún estudiante ha comenzado la exploración aún.';
$string['back_to_course'] = 'Volver al Curso';
$string['back_to_admin'] = 'Volver al Panel de Administración';
$string['teachers_redirect_message'] = 'Los profesores son redirigidos al panel de administración.';
@@ -261,7 +265,7 @@
$string['profile_global'] = 'Global';
// Página de resultados individuales
-$string['individual_results_title'] = 'Resultados Individuales de Estilos de Aprendizaje';
+$string['individual_results_title'] = 'Resultados Individuales de la Exploración de Estilos de Aprendizaje';
$string['learning_style_results_for'] = 'Resultados de Estilos de Aprendizaje para';
$string['completed_on'] = 'Completado el';
$string['processing_dimension'] = 'Dimensión de Procesamiento';
@@ -298,26 +302,24 @@
$string['view_admin_results'] = 'Ir al Panel de Administración';
// Invitación al test
-$string['test_title'] = 'Test de Estilos de Aprendizaje';
$string['discover_your_style'] = 'Descubre tus estilos de aprendizaje';
$string['what_is_felder'] = '¿Qué es el Modelo Felder-Soloman?';
$string['test_description'] = 'Este modelo desglosa cómo tu mente prefiere recibir y procesar información. Analiza cuatro dimensiones cognitivas para ofrecerte estrategias de estudio personalizadas que transforman tu manera de aprender, haciendo el proceso más eficiente y menos agotador.';
$string['feature_44_questions'] = '44 preguntas rápidas';
$string['feature_4_dimensions'] = '4 dimensiones de aprendizaje';
$string['feature_instant_results'] = 'Resultados instantáneos con recomendaciones';
-$string['start_test'] = 'Iniciar Test';
-$string['test_not_configured'] = 'El test no está configurado. Por favor contacta a tu instructor.';
-$string['test_completed'] = 'Test Completado';
-$string['your_learning_style'] = 'Tus Estilos de Aprendizaje';
+$string['start_test'] = 'Iniciar Exploración';
+$string['test_not_configured'] = 'La exploración no está configurada. Por favor contacta a tu instructor.';
+$string['test_completed'] = 'Exploración de Estilos de Aprendizaje Completada';
+$string['your_results_here'] = 'Mira tus resultados aquí';
// Contenido de la página del test
-$string['test_page_title'] = 'Test de Estilos de Aprendizaje';
-$string['test_intro_p1'] = 'Este test está basado en el Modelo de Felder-Soloman, una herramienta que identifica tus preferencias en la forma de procesar y organizar la información para aprender.';
+$string['test_intro_p1'] = 'Esta exploración está basada en el Modelo de Felder-Soloman, una herramienta que identifica tus preferencias en la forma de procesar y organizar la información para aprender.';
$string['test_intro_p2'] = 'Conocer tus estilos de aprendizaje te permitirá:';
$string['test_benefit_1'] = '• Identificar las estrategias de estudio más efectivas para ti';
$string['test_benefit_2'] = '• Comprender mejor cómo procesas la información';
$string['test_benefit_3'] = '• Aprovechar al máximo los recursos disponibles en el curso';
-$string['test_intro_p3'] = 'El test consta de preguntas rápidas que evalúan 4 dimensiones: Activo/Reflexivo, Sensorial/Intuitivo, Visual/Verbal y Secuencial/Global. No hay respuestas correctas o incorrectas, solo elige la opción que mejor te describa.';
+$string['test_intro_p3'] = 'La exploración consta de preguntas rápidas que evalúan 4 dimensiones: Activo/Reflexivo, Sensorial/Intuitivo, Visual/Verbal y Secuencial/Global. No hay respuestas correctas o incorrectas, solo elige la opción que mejor te describa.';
$string['test_lets_begin'] = '¡Comencemos!';
$string['test_note'] = 'Nota:';
$string['test_all_required'] = 'Todas las preguntas son obligatorias';
@@ -328,24 +330,24 @@
// Continue test strings
$string['your_progress'] = 'Tu progreso';
$string['completed'] = 'completado';
-$string['continue_test'] = 'Continuar Test';
+$string['continue_test'] = 'Continuar Exploración';
// Dashboard strings
$string['dominant_style'] = 'Estilo dominante';
$string['least_dominant_style'] = 'Estilo menos dominante';
$string['teacher_recommendation'] = 'Se le recomienda al docente:';
-$string['no_completed_tests'] = 'No hay tests completados';
-$string['no_data_message'] = 'Los gráficos y estadísticas se mostrarán cuando los estudiantes completen el test de estilos de aprendizaje.';
+$string['no_completed_tests'] = 'No hay exploraciones completadas';
+$string['no_data_message'] = 'Los gráficos y estadísticas se mostrarán cuando los estudiantes completen la exploración de estilos de aprendizaje.';
$string['chart_title'] = 'Distribución de estilos de aprendizaje';
$string['na_label'] = 'N/A';
-$string['no_completed_tests_title'] = 'No hay tests completados';
-$string['no_completed_tests_message'] = 'Los gráficos y estadísticas se mostrarán una vez que los estudiantes completen el test de estilos de aprendizaje.';
+$string['no_completed_tests_title'] = 'No hay exploraciones completadas';
+$string['no_completed_tests_message'] = 'Los gráficos y estadísticas se mostrarán una vez que los estudiantes completen la exploración de estilos de aprendizaje.';
// View individual strings
-$string['test_in_progress'] = 'Test en progreso';
+$string['test_in_progress'] = 'Exploración en progreso';
$string['has_answered'] = 'ha respondido';
$string['of_44_questions'] = 'de 44 preguntas.';
-$string['results_available_when_complete'] = 'Los resultados completos estarán disponibles cuando {$a} termine el test.';
+$string['results_available_when_complete'] = 'Los resultados completos estarán disponibles cuando {$a} termine la exploración.';
// Admin view strings
$string['in_progress'] = 'En progreso';
@@ -377,15 +379,15 @@
$string['chart_distribution_title'] = 'Distribución de estilos de aprendizaje';
// Test in progress and remind strings
-$string['test_in_progress_message'] = '{$a} ha comenzado el test pero aún no lo ha completado.';
-$string['remind_submit_test'] = 'Recuérdale al estudiante que haga clic en el botón "Finalizar Test" para ver los resultados.';
+$string['test_in_progress_message'] = '{$a} ha comenzado la exploración pero aún no la ha completado.';
+$string['remind_submit_test'] = 'Recuérdale al estudiante que haga clic en el botón "Finalizar Exploración" para ver los resultados.';
$string['questions'] = 'preguntas';
$string['all_answered_title'] = '¡Todas las preguntas respondidas!';
-$string['all_answered_message'] = 'Has respondido las 44 preguntas. ¡No olvides hacer clic en "Finalizar Test" para enviar tus respuestas y ver tus resultados de estilo de aprendizaje!';
+$string['all_answered_message'] = 'Has respondido las 44 preguntas. ¡No olvides hacer clic en "Finalizar Exploración" para enviar tus respuestas y ver tus resultados de estilo de aprendizaje!';
// Admin view strings (NEW - matching personality_test structure)
$string['total_students'] = 'Total de Estudiantes';
-$string['completed_tests'] = 'Test Completados';
+$string['completed_tests'] = 'Exploraciones Completadas';
$string['in_progress_tests'] = 'En Progreso';
$string['completion_rate'] = 'Tasa de Finalización';
$string['general_statistics'] = 'Estadísticas Generales';
@@ -425,8 +427,8 @@
// Navigation buttons for pagination
$string['btn_previous'] = 'Anterior';
$string['btn_next'] = 'Siguiente';
-$string['btn_finish'] = 'Finalizar Test';
-$string['complete_previous_pages'] = 'Por favor, completa las páginas anteriores antes de finalizar el test.';
+$string['btn_finish'] = 'Finalizar Exploración';
+$string['complete_previous_pages'] = 'Por favor, completa las páginas anteriores antes de finalizar la exploración.';
$string['questions_answered'] = '{$a->answered} de {$a->total} preguntas respondidas';
$string['option_a'] = 'A';
$string['option_b'] = 'B';
@@ -435,7 +437,7 @@
$string['learning_dimensions'] = 'Dimensiones de Aprendizaje';
// Alert messages for completed but not submitted test
-$string['finish_test'] = 'Finalizar Test';
+$string['finish_test'] = 'Finalizar Exploración';
// Admin view UI
$string['most_common_types'] = 'Estilos de Aprendizaje más comunes';
@@ -450,4 +452,10 @@
$string['result_act_ref'] = 'Resultado Act/Ref';
$string['result_sen_int'] = 'Resultado Sen/Int';
$string['result_vis_vrb'] = 'Resultado Vis/Vrb';
+
+$string['scores'] = 'Puntajes de Dimensión';
+$string['radar_chart_title'] = 'Gráfico Radar del Perfil de Aprendizaje';
+$string['see_full_results'] = 'Ver Resultados Detallados';
+$string['characteristics'] = 'Características';
+$string['recommendations'] = 'Recomendaciones';
$string['result_seq_glo'] = 'Resultado Seq/Glo';
diff --git a/styles.css b/styles.css
index b1a8bb0f998..fbecedaf6b7 100644
--- a/styles.css
+++ b/styles.css
@@ -302,16 +302,20 @@
position: relative !important;
}
-/* Eliminar solo el pin del título interior (h6.card-title dentro de .learning-description) */
+/* Eliminar solo el pin del título interior (h6 en el bloque) */
.block_learning_style .learning-description .card-title::before,
-.block_learning_style .learning-description .card-title::after {
+.block_learning_style .learning-description .card-title::after,
+.block_learning_style .learning-results-block .card-title::before,
+.block_learning_style .learning-results-block .card-title::after {
content: none !important;
display: none !important;
}
-.block_learning_style .learning-description .card-title {
+.block_learning_style .learning-description .card-title,
+.block_learning_style .learning-results-block .card-title {
padding-left: 0 !important;
margin-left: 0 !important;
+ min-height: 0px !important;
background: transparent !important;
background-color: transparent !important;
border-bottom: none !important;
diff --git a/templates/continue_test.mustache b/templates/continue_test.mustache
index 188915c16e7..b546e003749 100644
--- a/templates/continue_test.mustache
+++ b/templates/continue_test.mustache
@@ -3,16 +3,18 @@
{{{icon}}}
- {{#str}} test_title, block_learning_style {{/str}}
+ {{#str}} pluginname, block_learning_style {{/str}}
{{#str}} discover_your_style, block_learning_style {{/str}}
+ {{#showdescriptions}}
{{#str}} test_description, block_learning_style {{/str}}
+ {{/showdescriptions}}
{{#all_answered}}
diff --git a/templates/results.mustache b/templates/results.mustache
index f77d5b942f9..1ab0c6d9a7d 100644
--- a/templates/results.mustache
+++ b/templates/results.mustache
@@ -5,46 +5,35 @@
{{#str}} test_completed, block_learning_style {{/str}}
- {{#str}} your_learning_style, block_learning_style {{/str}}
+ {{#str}} your_results_here, block_learning_style {{/str}}
+ {{#showdescriptions}}
{{#str}} test_description, block_learning_style {{/str}}
+ {{/showdescriptions}}
- {{#str}} felder_soloman_intro, block_learning_style {{/str}}
-
-
- {{#sliders}}
- - {{{html}}}
- {{/sliders}}
-
+
+ {{#results_cards}}
+
+
+
+ {{dimension}}
+
+
{{style}}
+
+
+
+ {{/results_cards}}
+
- {{#str}} click_bold_for_recommendations, block_learning_style {{/str}}
-
-
+
-{{#js}}
-require(['jquery'], function($) {
- var instanceId = "{{instanceid}}";
- /* Check if instanceId is valid before proceeding */
- if (instanceId && window.location.hash) {
- var targetHash = "#inst" + instanceId;
- if (window.location.hash === targetHash) {
- /* Add a small delay to ensure rendering is complete */
- setTimeout(function() {
- var $target = $(targetHash);
- if ($target.length) {
- /* Scroll to element with some top offset (e.g. 100px for header) */
- $('html, body').animate({
- scrollTop: $target.offset().top - 100
- }, 500);
- }
- }, 300);
- }
- }
-});
-{{/js}}
diff --git a/templates/test_invitation.mustache b/templates/test_invitation.mustache
index 4f0959d9f2c..e7431cf4a1a 100644
--- a/templates/test_invitation.mustache
+++ b/templates/test_invitation.mustache
@@ -3,10 +3,11 @@
{{{icon}}}
- {{#str}} test_title, block_learning_style {{/str}}
+ {{#str}} pluginname, block_learning_style {{/str}}
{{#str}} discover_your_style, block_learning_style {{/str}}
+ {{#showdescriptions}}
+ {{/showdescriptions}}
-{{#str}}test_page_title, block_learning_style{{/str}}
+{{#str}}pluginname, block_learning_style{{/str}}