Skip to content

feat: Upgrade Regional Performance Analytics Dashboard with Multi-Parameter Filtering - #163

Open
VaibhavChauhan615 wants to merge 2 commits into
vicharanashala:mainfrom
VaibhavChauhan615:feat/analytics-upgrades
Open

feat: Upgrade Regional Performance Analytics Dashboard with Multi-Parameter Filtering#163
VaibhavChauhan615 wants to merge 2 commits into
vicharanashala:mainfrom
VaibhavChauhan615:feat/analytics-upgrades

Conversation

@VaibhavChauhan615

Copy link
Copy Markdown

Overview

This Pull Request upgrades the Geographical and Performance Analytics section inside the teacher and admin panel dashboards. Previously, the Analytics page rendered a static list of schools with dummy progress stats and overlapping layout alignment issues.

This PR transforms the Analytics panel into an interactive, multi-parameter dashboard that enables administrators to slice data dynamically, visualize student level growth over time, check gender disparities, and trace learner engagement streaks.

Key Changes

  • Multi-Parameter Filtering:
    • Added Time Horizon selection (7d, 30d, 6m, 1y) to scale performance timelines.
    • Added Grade Band filter (Preschool, Class 1, Class 2, Class 3-4) to slice cohort metrics.
    • Added Gender filter (Male, Female) to isolate demographic analytics.
  • Expanded Metrics Banner (6 Cards):
    • Calculates Total Schools, Total Students, Avg FLN Level, and Certification Rate (Level 5+ benchmark) dynamically.
    • Added Active Educators (teachers count inside the filtered scope) and Remedial Support Rate (percentage of students requiring intervention).
  • Advanced Data Visualization:
    • Integrated a custom, glowing SVG progress line chart showing average student FLN levels over time.
    • Built a strand proficiency breakdown showing mastery levels across different math topics (Number Sense, Operations, Shapes, Measurement, Fractions).
  • Demographic & Leaderboard Insights:
    • Added Boy-vs-Girl gender disparities split card comparing avg levels and certification rates.
    • Appended a Regional Performance Ranking leaderboard displaying top-performing jurisdictions vs regions needing support.
    • Integrated active learning streaks tracker (tracking 3+ and 5+ day learner streaks).
  • Layout Alignment Fix:
    • Restructured table grid columns with a fixed-width code column (w-36) to resolve the overlapping text overlay bug.

Verification & Performance

  • Verified that all workspace projects typecheck and compile cleanly with npm run lint (exit code 0).
  • Calculations use optimized Set lookup maps to process metrics in O(N+M) time, ensuring the dashboard rendering is completely lag-free.

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