Skip to content

feat: add journey tracker with admin-configurable targets - #97

Open
Vedhiga wants to merge 4 commits into
vicharanashala:mainfrom
Vedhiga:feature/journey-tracker
Open

feat: add journey tracker with admin-configurable targets#97
Vedhiga wants to merge 4 commits into
vicharanashala:mainfrom
Vedhiga:feature/journey-tracker

Conversation

@Vedhiga

@Vedhiga Vedhiga commented Jul 18, 2026

Copy link
Copy Markdown

Implement Journey Tracker feature with checkpoint-based progress tracking across weekly/monthly/tenure windows.

  • Add JourneyTarget model for DB-stored target configs with fallback to defaults
  • Add time-window resolver (weekly/monthly/tenure) with date range computation
  • Add attendance + poll scoring engine with checkpoint milestone logic
  • Add student-facing JourneyTracker component (beacon waypoints, XP bars, biome themes)
  • Add AdminJourneyTargets form for editing targets per window
  • Mount journey API routes (GET /api/journey/:email, GET/PUT /api/admin/journey/targets)
  • Update seed demo script with journey test data
  • Add Minecraft-themed CSS for journey UI (biome colors, waypoint animations)
  • Document endpoints in CONTEXT.md

Vedhiga added 4 commits July 15, 2026 18:33
- server/engagement/config.js — constants, thresholds, band labels
- server/engagement/fetchData.js — MongoDB fetch + window split
- server/engagement/classifyBand.js — pure band classifier + Recovery detection
- server/routes/engagement.js — GET /api/engagement/:email endpoint
- server/server.js — mount engagement router + GET /api/admin/engagement/report
- CONTEXT.md — document endpoints and classification design
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.

1 participant