Ultimate Full-Width Dashboard and Polished Stats.#17
Conversation
- Implemented the Mastercard as an "Ultimate Full-Width Profile Card" (830px) designed to cover the whole README. - Dashboard includes: Hero metrics, Language Mastery, Weekly Activity Distribution, Projects Activity, Performance Streaks, and 12-month Heatmap. - Resized Issues and PR Summary cards to standardized "Lite Small" (380x120px) for consistent secondary metrics. - Fixed text overlap in Pull Request card with dynamic truncation. - Enhanced robustness with `safeFetch`, timeouts, and zero-value fallbacks. - Updated README.md and landing page with working examples of the new dashboard. Co-authored-by: Chintanpatel24 <216989679+Chintanpatel24@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR redesigns the Mastercard SVG into a wider (830px) "ultimate" full-width dashboard with reorganized sections: a name+handle header, a 6-metric hero row, side-by-side Language Mastery and Weekly Activity charts (the latter computed from a new weekMap aggregating contributions by day-of-week), a Projects & PRs / Streaks row, and an enlarged contribution heatmap. The API endpoint computes the new weekMap and name fields, bumps the cache key to master_ultimate_v1, and matches the new 830px width in errorSVG.
Changes:
- Reworked
generateMasterCardSVGlayout/sections, increased width/padding, addednameandweekMapinputs and a weekly-activity chart. - Added day-of-week aggregation (
weekMap) andnamefield inapi/master.js, bumped cache key version, updated error SVG dimensions. - Adjusted heatmap cell sizing, header gradient, and footer caption.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/svg-master.js | Rebuilds the master card with a new header, 6-stat hero row, languages + weekly activity grid, projects + streaks row, and larger heatmap. |
| api/master.js | Computes weekMap and name, threads them into the SVG payload, bumps cache key, and resizes the error SVG to 830px. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
safeFetch, timeouts, and zero-value fallbacks.