feat: add Your Week Is Ready replay system - #98
Open
Prerna-1416 wants to merge 8 commits into
Open
Conversation
Prerna-1416
commented
Jul 18, 2026
- WeeklyReplayModal: slide-show recap of weekly attendance, polls, SP, streaks
- FinalJourneyModal: end-of-program summary of full journey
- ShareCard: exportable achievement card with SP, rank, streak stats
- EntryPill: floating navigation pill in the dashboard header
- ReplayEngine: builds replay data from existing profile (no new backend)
- Replay tab in dashboard showing history of past weekly recaps
- Dependencies: framer-motion (animations), html2canvas (ShareCard export)
…07-16 The daily standup moved from morning to evening on 2026-07-16. Attendance SP was still clipped to the fixed 09:05-11:00 IST (115 min) morning window, which no longer matched the session: the all-day persistent Zoom room satisfied the morning window, so real evening attendees scored 0 while morning-idlers kept credit (students saw "115 min" for a ~60 min standup). Add an EVENING_CUTOVER (2026-07-16) after which the official window is [20:05, min(picked-mtg-end, 21:00)] IST and the scored meeting is the mandatory meeting with the largest overlap of that window (so the all-day room cannot steal the slot). Pre-cutover dates use the identical old code path. Re-scored + applied 2026-07-17: 16 Jul impact 493 up / 35 down / 204 unchanged. Also documents the change in CONTEXT.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- WeeklyReplayModal: slide-show recap of weekly attendance, polls, SP, streaks - FinalJourneyModal: end-of-program summary of full journey - ShareCard: exportable achievement card with SP, rank, streak stats - EntryPill: floating navigation pill in the dashboard header - ReplayEngine: builds replay data from existing profile (no new backend) - Replay tab in dashboard showing history of past weekly recaps - Dependencies: framer-motion (animations), html2canvas (ShareCard export)
Zoom polls are retired; on/after the evening cutover (2026-07-16) poll SP now comes from the Spandan Research Session Export API instead of zoom_polls. - pipeline/spandan-poll-fetch.cjs: incremental, cursor-based pull of ended "Day N" evening sessions into the spandan_polls mirror (preset=evening, date >= cutoff). Non-destructive; never touches sptransactions/students. - sp-rubric-build-mirror.cjs: poll (B) branches on SPANDAN_CUTOFF (=EVENING_CUTOVER) — Spandan correctness score (pointsEarned percentiled to the day top scorer, same 10/5/3/0 bands) on/after the cutover; frozen zoom_polls before it, so historical poll SP is unchanged. Plus a fallback for Spandan days with no mandatory evening Zoom session. - sync-poll-records.js: Polls-view counts for Spandan dates join from spandan_polls by (email, date) instead of the retired reason regex. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ndan poll SP Evening cutover (2026-07-16): attendance window + Spandan poll SP
Introduce a shared Commitment model (type: vibe | standup) with a stake- and-settle engine, and a phase-by-phase My Journey tab. - My Journey tab: Standups / ViBe / SPA / Projects cards + internship plan (JourneyPlan, JourneyProgress; SPA & Projects are Samagama placeholders). - Commitments hub: accordion, one card per phase, one active per phase. - ViBe commitment migrated onto the shared Commitment model (debit-stake). - Standup commitment (new): weekly, attendance-only, keep-the-stake — tiers 81-90 (stake 20) / 91-100 (stake 50), confidence 2x/3x/4x, 6 sessions/week. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Commitments hub + My Journey (ViBe & Standup commitments)
These two phases have no Samagama data yet, so gate their card bodies on the pending flag — render a 'Coming soon' message instead of placeholder zeros. Flip pending=false in the journey service when real data arrives. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Resolved main.jsx conflict: combine conditional journey/vibe tabs (from main) with replays tab (from feat/your-week-is-ready)
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.