Skip to content

feat(gamification): add community interest indicators timeline query and endpoint - #75

Merged
FranciscoPerezRamos merged 2 commits into
mainfrom
feat/update-indicators-sept18
Sep 28, 2026
Merged

FranciscoPerezRamos merged 2 commits into
mainfrom
feat/update-indicators-sept18

Conversation

@lucas-matw-unq

Copy link
Copy Markdown
Collaborator

Summary

Adds a timeline query endpoint to GamificationIndicatorsModule to compute chronological snapshots of Community Interest ($CII(b)$) across a configurable date window.

Closes #74

Changes

  • DTOs: Added GetIndicatorsTimelineQueryDto (startDate, endDate, stepDays, threshold, badgeId, minActiveCheckins) and IndicatorsTimelineResponseDto (BadgeTimelineSeriesDto).
  • Service: Implemented computeIndicatorsTimeline in GamificationIndicatorsService, extracting shared helper loadProjectComputationData.
  • Controller: Added GET /v1/gamification-indicators/:projectId/timeline with JWT and Admin auth guards.
  • Tests: Added comprehensive unit test coverage in gamification-indicators.service.spec.ts and gamification-indicators.controller.spec.ts.
  • Docs: Updated docs/adaptive-gamification/indicators-engine.md and docs/adaptive-gamification/badge-fading.md.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@FranciscoPerezRamos
FranciscoPerezRamos merged commit 2480c25 into main Sep 28, 2026
2 checks passed
@FranciscoPerezRamos
FranciscoPerezRamos deleted the feat/update-indicators-sept18 branch September 28, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integración de desvanecimiento de insignias con indicadores de interés comunitario y evolución temporal

3 participants