Skip to content

feat: add live cohort pulse ticker dashboard - #91

Open
ankitachoudhary0910 wants to merge 1 commit into
vicharanashala:mainfrom
ankitachoudhary0910:feat/cohort-pulse-dashboard
Open

feat: add live cohort pulse ticker dashboard#91
ankitachoudhary0910 wants to merge 1 commit into
vicharanashala:mainfrom
ankitachoudhary0910:feat/cohort-pulse-dashboard

Conversation

@ankitachoudhary0910

Copy link
Copy Markdown

What this does

Adds a real-time "Cohort Pulse Score" (0-100%) that reflects the collective
activity energy of the whole cohort — combining live check-ins, SP earned
today, and today's participation rate into a single animated ticker on the
landing page.

Why

Most existing features are individual-focused (your score, your rank). This
gives the cohort a shared, visible sense of momentum — similar to a live
stock ticker, but for group motivation.

Changes

  • server/server.js: added GET /api/cohort-pulse — combines live viewer
    count, today's SP earned, and today's participation into a weighted score
  • client/src/main.jsx: added CohortPulseTicker component, polls every
    15s, shown on the landing page
  • client/src/styles.css: ticker styling with a blinking live indicator
    and a glow "spike" animation when the score jumps

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