Skip to content

feat: add Your Week Is Ready replay system - #98

Open
Prerna-1416 wants to merge 8 commits into
vicharanashala:mainfrom
Prerna-1416:feat/your-week-is-ready
Open

feat: add Your Week Is Ready replay system#98
Prerna-1416 wants to merge 8 commits into
vicharanashala:mainfrom
Prerna-1416:feat/your-week-is-ready

Conversation

@Prerna-1416

Copy link
Copy Markdown
  • 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)

sakshivk and others added 2 commits July 17, 2026 09:22
…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)
sakshivk and others added 6 commits July 21, 2026 12:00
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)
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.

2 participants