feat: add weekly email digest with AI productivity summary#1644
feat: add weekly email digest with AI productivity summary#1644Subhra-Nandi wants to merge 7 commits into
Conversation
|
@Subhra-Nandi is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
There was a problem hiding this comment.
Thanks for your first PR on DevTrack! 🎉
A maintainer will review it within 48 hours. While you wait:
- Make sure CI is passing (type-check + lint)
- Double-check the PR description is filled out and the issue is linked
- Feel free to ask questions in Discussions if you need help
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors!
32d0c0e to
1d7fce6
Compare
|
This PR has merge conflicts with |
99d9efd to
4a16dfa
Compare
|
This PR has developed merge conflicts after recent merges to |
4a16dfa to
f016e89
Compare
|
This PR has merge conflicts with the current main branch. Please rebase on the latest main to resolve them — your contribution is labeled for GSSoC scoring. |
1e7e21f to
f8d248c
Compare
- Opt-in toggle in /settings (DigestOptIn component) - GET/POST /api/settings/digest for preference management - Cron endpoint /api/cron/weekly-digest fires every Monday 9am UTC - AI summary generation in src/lib/digest.ts - Inline-styled HTML email via Resend - One-click unsubscribe at /unsubscribe?token=<uuid> - DB migration adds digest_unsubscribe_token to users table - Settings gear icon added to DashboardHeader Closes Priyanshu-byte-coder#937
71c0a7f to
372e9a5
Compare
ddeb6db to
9d2b37d
Compare
|
This PR has merge conflicts with git fetch origin
git rebase origin/mainOnce you resolve the conflicts and CI passes, we can review for merge. |
|
Hi! This PR has merge conflicts with the git fetch upstream
git rebase upstream/main
# resolve any conflicts
git push --force-with-leaseIf you're no longer working on this, let us know and we can close it. Thanks! |
|
Hi! Thanks for the heads-up. I won't be able to dedicate time to finish up the rebase or work on this feature further right now, so please feel free to close this pull request. Thanks for your time and guidance! |
|
This PR has merge conflicts with the main branch. Please rebase your branch on latest main and resolve the conflicts so it can be reviewed and merged. |
[FEAT] Add weekly email digest with AI productivity summary
Closes #937
What this PR does
Implements the weekly email digest feature. Opted-in users receive a Monday 9am UTC email with an AI-generated productivity summary, current streak, top repo, PR stats, and a trend badge.
Changes
Acceptance Criteria
Screenshots
Required before deploying
supabase/migrations/20260529000000_add_digest_settings.sqlin Supabase SQL editorRESEND_API_KEY,RESEND_FROM_EMAIL,GEMINI_API_KEY,CRON_SECRET