feat: Add Weekly Coding Insights card to dashboard #2747 - #2755
Conversation
GSSoC Label Checklist 🏷️@Umbrella-io — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
Thanks for the contribution! We are currently in a code cleanup sprint and not accepting new features. Please see the discussion for details: #2651 This PR will be revisited once the sprint ends. In the meantime, contributions to testing, refactoring, bug fixes, or documentation are welcome. |
|
New UI/feature PRs are on hold during the code quality sprint — see discussion #2651. PRs for tests, refactoring, bug fixes, docs, and performance are welcome. |
|
On hold — new features are not being merged during the code quality sprint. See discussion #2651. |
|
New feature/UI PRs are on hold during the code-quality sprint — see discussion #2651. We'll revisit after the sprint; tests, refactors, and bug-fix PRs are the priority right now. |
|
This overlaps the weekly-summary work — I'm consolidating that on #2717 (the focused analytics dashboard section). This branch also currently conflicts with |
|
Closing as stale. The last commit on this branch was 2026-06-25, over a month ago, and there's been no activity since. It also has merge conflicts against current This isn't a rejection of the idea — DevTrack's PR queue grew past 110 open PRs, so I'm clearing branches that have gone quiet so the review tab reflects what's actually in progress. If you still want to land this: rebase on current |
Summary
This PR introduces the new "Weekly Coding Insights" card to the DevTrack dashboard, giving users a quick and rich overview of their past 7 days of development activity.
Closes #2747
Type of Change
What Changed
src/app/api/metrics/weekly-summary/route.ts: Modified the weekly summary API to query and return closed issues count.src/components/WeeklyCodingInsightsCard.tsx: Added a new responsive component to display total commits, PRs opened/merged, issues closed, most active repository, and most productive day.src/app/dashboard/page.tsx: Integrated the newWeeklyCodingInsightsCarddirectly into the main Dashboard page under the 'Today Focus Section'.How to Test
Expected result: The card should accurately reflect the user's weekly activity, or gracefully display a friendly empty-state illustration if no activity exists.
Screenshots / Recordings
Checklist
console.log, debug code, or commented-out blocksnpm run lintpasses locallynpm run type-check)Accessibility (UI changes only)
Additional Context
N/A