Skip to content

Feat/interactive react dashboard#180

Open
Unnati1007 wants to merge 4 commits into
vanshaggarwal27:mainfrom
Unnati1007:feat/interactive-react-dashboard
Open

Feat/interactive react dashboard#180
Unnati1007 wants to merge 4 commits into
vanshaggarwal27:mainfrom
Unnati1007:feat/interactive-react-dashboard

Conversation

@Unnati1007

Copy link
Copy Markdown

Description
This PR introduces a brand new, premium interactive React dashboard for the statistics page while maintaining full backward compatibility with the existing project structure.

Key Changes & Features:

Interactive React Dashboard: Built a highly polished StatsDashboard.jsx using recharts and react-activity-calendar.
Consistency Heatmap: Added a GitHub-style heatmap that correctly spans the full year, dynamically scales based on activity, and features hover tooltips with exact dates and submission counts.
Yearly Filtering: Implemented an automatic dropdown filter that extracts available years from the user's data and ensures the last 5 years are permanently selectable.
Backend Enhancements: Updated the FastAPI backend endpoints to securely serve this array data and support JWT authentication, while gracefully mapping data for the older Chrome extension dictionary format.
Note to Maintainers: I created this React dashboard separately to keep the core structure intact without breaking any existing features. I noticed there is still the older extension/dashboard.html page. Since this new React dashboard replaces its functionality with a much better UI, we can probably safely remove that old HTML file to keep the codebase clean. However, if you prefer to keep the original HTML version instead, just let me know and I would be happy to fix and enhance that one for you as well!

Related Issue
Fixes #161

Type of Change
Bug fix
New feature
Documentation update

ScreenShot:
Screenshot 2026-06-05 110016

Checklist
My code follows project guidelines
I have tested my changes
Documentation updated if needed

Adds an interactive React dashboard with heatmaps, charts, and activity history. Updates backend endpoints for JWT support while keeping backwards compatibility with the original HTML extension dashboard.
@vanshaggarwal27

Copy link
Copy Markdown
Owner

Please resolve merge conflict and check for pipeline

@Unnati1007

Copy link
Copy Markdown
Author

@vanshaggarwal27 do check it resolved the merged conflict

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.

[FEATURE] Build a Stats & Consistency Tracking Dashboard

2 participants