Implementar reseñas y heatmap de actividad en paneles de colaborador e institución#116
Draft
AleSklate0807 wants to merge 2 commits into
Draft
Implementar reseñas y heatmap de actividad en paneles de colaborador e institución#116AleSklate0807 wants to merge 2 commits into
AleSklate0807 wants to merge 2 commits into
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
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.
🚀 Pull Request – Conectando Corazones
Resumen del cambio
Se conectaron dos secciones del dashboard del colaborador que existían en la UI pero nunca mostraban datos reales: las últimas reseñas recibidas y el heatmap de actividad. Para las reseñas se reutilizó ResenaRepository.findByObjetoAprobadas, y para el heatmap se usa HistorialDeCambiosRepository.findAll con filtro de fecha, agrupando eventos por día y mapeando a niveles de intensidad 0–4.
Adicionalmente se corrigió un bug en el dashboard de institución donde las reseñas nunca aparecían porque se buscaban con tipo_objeto='institucion' (valor inválido en el dominio) en lugar de 'usuario', y se aprovechó para traer el avatar y la fecha reales en lugar de los valores hardcodeados.
📝 Checklist
📸 Capturas
Reseñas en Institución

Heatmap y reseñas en Colaborador